On 2009-03-24 11:37, Robert Klikics wrote: > Hello, > > after uninstalling the old version 0.94.2 and compiling/installing the > new 0.95 I figured out some problems on my Debian Lenny system. > > It seems that "make install" does not proper install the > "libclamav.so.6", so starting clamd was not possible. There was an error: > > "clamd: error while loading shared libraries: libclamav.so.6: cannot > open shared object file: No such file or directory" > > I needed to run "cp ./libclamav/.libs/libclamav.so.6 /lib/" from the > install-dir to make clamd work. Whats the problem here with the installer? >
Did you run ldconfig? Also please show what your lib directory contains: ls -l /usr/lib/libclam* /usr/local/lib/libclam* > The next error appeared when starting clamd via the initscript: > > "Starting ClamAV daemon: clamd LibClamAV Warning: Cannot dlopen: file > not found - unrar support unavailable" > I think because you copied libclamav.so.6 to /lib, but it really should be in /usr/lib or /usr/local/lib (depending on how you configured it). make install should take care of installing the libraries to the proper place, all that may be missing is a symlink from libclamav.so to libclamav.so.6 that is created by ldconfig. Best regards, --Edwin _______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml