I too am facing this problem and we have zlib 1.2.3 on RHEL4

Making all in freshclam
make[2]: Entering directory `/usr/src/clamav-0.93/freshclam'
/bin/sh ../libtool --tag=CC   --mode=link gcc  -g -O2   -o freshclam output.o 
cfgparser.o getopt.o misc.o options.o sha256.o cdiff.o tar.o freshclam.o 
manager.o notify.o dns.o execute.o nonblock.o mirman.o  
../libclamav/libclamav.la  -lresolv -lpthread
gcc -g -O2 -o .libs/freshclam output.o cfgparser.o getopt.o misc.o options.o 
sha256.o cdiff.o tar.o freshclam.o manager.o notify.o dns.o execute.o 
nonblock.o mirman.o  ../libclamav/.libs/libclamav.so -lresolv -lpthread 
cdiff.o(.text+0x1a37): In function `cdiff_apply':
../shared/cdiff.c:984: undefined reference to `gzdopen'
cdiff.o(.text+0x1a71):../shared/cdiff.c:994: undefined reference to `gzgets'
cdiff.o(.text+0x1b8d):../shared/cdiff.c:1016: undefined reference to `gzclose'
cdiff.o(.text+0x1bc4):../shared/cdiff.c:1010: undefined reference to `gzclose'
tar.o(.text+0xd2): In function `tar_addfile':
../shared/tar.c:82: undefined reference to `gzwrite'
tar.o(.text+0x107):../shared/tar.c:95: undefined reference to `gzwrite'
tar.o(.text+0x1c2):../shared/tar.c:111: undefined reference to `gzwrite'
manager.o(.text+0xf24): In function `buildcld':
/usr/src/SA_Needs.2007/clamav-0.93/freshclam/manager.c:913: undefined reference 
to `gzclose'
manager.o(.text+0xf59):/usr/src/SA_Needs.2007/clamav-0.93/freshclam/manager.c:884:
 undefined reference to `gzopen'
manager.o(.text+0x108d):/usr/src/SA_Needs.2007/clamav-0.93/freshclam/manager.c:932:
 undefined reference to `gzclose'
manager.o(.text+0x10d5):/usr/src/SA_Needs.2007/clamav-0.93/freshclam/manager.c:944:
 undefined reference to `gzclose'
collect2: ld returned 1 exit status
make[2]: *** [freshclam] Error 1
make[2]: Leaving directory `/usr/src/SA_Needs.2007/clamav-0.93/freshclam'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/SA_Needs.2007/clamav-0.93'
make: *** [all] Error 2

will post config.log if needed.





_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html

Reply via email to