![Debian 上的 Varnish - 未找到 libvarnish.so.1](https://linux22.com/image/566991/Debian%20%E4%B8%8A%E7%9A%84%20Varnish%20-%20%E6%9C%AA%E6%89%BE%E5%88%B0%20libvarnish.so.1.png)
我正在尝试在 Debian 6.0.3 上安装 Varnish,并在尝试启动服务器时收到以下错误
/usr/sbin/varnishd: error while loading shared libraries: libvarnish.so.1: cannot open shared object file: No such file or directory
Runnigldd 'which varnish'
告诉我:
libvarnish.so.1 => not found
libvarnishcompat.so.1 => not found
我还发现这个问题关于同一主题,但我的问题是文件确实丢失了......
答案1
你需要运行:
apt-get --reinstall install libvarnish1