Hi,

I just had a chat on #clamav with 2 people having problem with ClamAV 0.96 on FreeBSD 6.2. (everything was OK on FreeBSD 6.3)

The symptom is that clamscan/clamd never starts, just loops infinitely trying to load the DB, --debug shows:
Libclamav debug: in cli_tgzload()

The system was using zlib 1.2.3, and gzseek() looked broken (it always returned 0 for gzseek(0, SEEK_CUR), in fact it moved the file position to 0 again).

Solution was to use upstream zlib 1.2.3 instead of system one:
$ wget http://www.zlib.net/fossils/zlib-1.2.3.tar.gz
$ tar xzvf zlib-1.2.3.tar.gz
$ cd zlib-1.2.3
$ ./configure --prefix=/usr -s
$ make
# make install

Does FreeBSD 6.2 patch zlib in any way that could cause this error?

Best regards,
--Edwin
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

Reply via email to