I'm trying to install Varnish on Debian 6.0.3 and am getting the following error when I try to start the server

/usr/sbin/varnishd: error while loading shared libraries: libvarnish.so.1: cannot open shared object file: No such file or directory

Runnig ldd 'which varnish' tells me this:

libvarnish.so.1 => not found
libvarnishcompat.so.1 => not found

I also found this question on the same topic, but my problem is that the file really is missing...

link|improve this question

80% accept rate
feedback

1 Answer

up vote 2 down vote accepted

you need to run:

apt-get --reinstall install libvarnish1
link|improve this answer
libvarnish1 is already the newest version. – Jannemans Nov 12 '11 at 11:30
run command "updatedb", then run "locate libvarnish.so.1", and tell me what output you get. – Frank Nov 12 '11 at 11:37
Removed all varnish files, installed varnish again and the files are there now. Starting varnish words. Thanks for your input! – Jannemans Nov 12 '11 at 11:51
you are welcome – Frank Nov 12 '11 at 11:51
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.