我正在尝试在 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