C. Andrews Lavarre said: > > In short, I nuked 0.85.x, got rid of all the files I could find. I > then installed 0.87.1, checked versions, run both clamscan and > freshclam just fine manually without any rootmail or messages > complaints, but when invoked from a shell script that does nothing > more than call the program with switches, I get a nag in rootmail > that declares that my installation is outdated and I should read the > FAQ and upgrade to 0.87.1 > > Of course the FAQ doesn't have any entry addressing this problem. > > The shell script is simply > > DATE=`date '+%Y%m%d'` > echo "Current date is "$DATE > cd / > clamscan --recursive --infected > > /home/andy/Desktop/$DATE"_infected.txt" & > > It worked fine with the previous version, it still works and finds > the test virus files, and thankfully nothing else, but it then > results in the nag about upgrading.
It might be that you still have an earlier version of clamscan on your system and this can be found by running "which clamscan" if you're using Linux or Unix. If it comes back with a path other than what you believe it should be then you have some work to do. Also check the lib directories to see if you have earlier version(s) of the clamav libraries. On my system (Solaris 10 on x86) I see in /usr/local/lib: -rw-r--r-- 1 root root 359440 Nov 7 07:00 libclamav.a -rwxr-xr-x 1 root root 848 Nov 7 07:00 libclamav.la lrwxrwxrwx 1 root root 19 Nov 7 07:00 libclamav.so -> libclamav.so.1.0.16 lrwxrwxrwx 1 root root 19 Nov 7 07:00 libclamav.so.1 -> libclamav.so.1.0.16 -rwxr-xr-x 1 root root 297120 Nov 7 07:00 libclamav.so.1.0.16 I build my own binaries so know that this is the only place there will be such libraries - that is not necessarily the case if you use packages (rpm's). Post what you find as it's always interesting and helpful to unravel problems like this. dp _______________________________________________ http://lurker.clamav.net/list/clamav-users.html