Thursday, April 24, 2008

ClamAV Update and Fix

So if you run ClamAV (and you should) to scan incoming email, the current release had some issue or did on several of my servers. The errors put out where:

cdiff.o(.text+0x190a): In function `cdiff_apply':
../shared/cdiff.c:984: undefined reference to `gzdopen'


cdiff.o(.text+0x1950):../shared/cdiff.c:994: undefined reference to `gzgets'


cdiff.o(.text+0x19a5):../shared/cdiff.c:1016: undefined reference to `gzclose'


cdiff.o(.text+0x19f5):../shared/cdiff.c:1010: undefined reference to `gzclose'


tar.o(.text+0xd4): In function `tar_addfile':
../shared/tar.c:82: undefined reference to `gzwrite'


tar.o(.text+0x109):../shared/tar.c:95: undefined reference to `gzwrite'


tar.o(.text+0x1a3):../shared/tar.c:111: undefined reference to `gzwrite'


etc..... then   


collect2: ld returned 1 exit status
make[2]: *** [freshclam] Error 1
make[2]: Leaving directory `/usr/local/src/clamav0.93/freshclam'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/clamav-0.93'
make: *** [all] Error 2


To fix recompile Zlib with --shared 


Don't forget to sponsor me for March of Babies use the Badge at the right to sponsor me. The walk is this weekend. 


The Birmingham Pulse is available and kicking online http://bhampulse.zerosource.org check it out!


Technorati Tags: ,,