ClamAV fails to start after update to v0.97.3

I am not updating from source code. I am using custombuild for ClamAV:
Code:
#ClamAV-related Settings
clamav=yes
clamav_exim=yes
Custombuild did the update to 0.98.5 and failed.

Ok. Sorry have not worked with custombuild but it will be related.
Rebuilding 0.98.5.from src also failed today with the above error (without running uninstall first).

Perhaps there is a ./build uninstall or ./build clean option?
Otherwise try locate the libclamav libs and move them away and try a rebuild again?
 
I just did a tar xvf clamav-0.98.5.tar.gz in the custombuild dir, went into the clamav dir, did a ./configure, make uninstall, make install and ended up with the same error messages.
 
Hello,
I urgently need a solution, have circa 200 clients without mail service
I did
[root@lnx ~]# whereis freshclam
freshclam: /usr/bin/freshclam /etc/freshclam.conf /usr/local/bin/freshclam /usr/
[root@lnx ~]# whereis clamscan
clamscan: /usr/bin/clamscan /usr/local/bin/clamscan /usr/share/man/man1/clamscan
 
The update to clamav-0.98.5 fails with
Code:
[root@vps ~]# service clamd start
Starting clamd: ERROR: This tool requires libclamav with functionality level 79 or higher (current f-level: 77)
                                                           [FAILED]
[root@vps ~]# service freshclam start
Starting freshclam: ERROR: This tool requires libclamav with functionality level 79 or higher (current f-level: 77)
                                                           [FAILED]
Before the update clamav ran fine.

Please try the following, it should fix the problem:
Code:
rm -f /usr/local/lib64/libclamav.so.*
rm -f /usr/local/lib/libclamav.so.*
./build update
./build clamav
 
I had just downgraded to 0.98.4, using
Code:
./configure --prefix=/usr/local --sysconfdir=/etc --with-xml=/usr/local --with-zlib=/usr
but am upgrading once again to 0.98.5. Fixed.
 
I just did a tar xvf clamav-0.98.5.tar.gz in the custombuild dir, went into the clamav dir, did a ./configure, make uninstall, make install and ended up with the same error messages.

Perhaps your previous installation libs are not in the default location "/usr/local/lib or lib64"
If the advice from "smtalk" of (re)moving the libclamav libs/symlinks fails, try to determine their location by running
ldd /<path to your clamd executable>/clamd|grep libclamav
e.g
ldd /usr/local/sbin/clamd|grep libclamav
 
Please try the following, it should fix the problem:
Code:
rm -f /usr/local/lib64/libclamav.so.*
rm -f /usr/local/lib/libclamav.so.*
./build update
./build clamav

Thank you very much, Smtalk! It solved the problem for me.
Thanks!

Isaias
 
Back
Top