Joey McKnight wrote: > here is what nm -D /usr/lib/libz.so|grep gz displayed: > > 00d674c0 T gzclearerr > 00d67320 T gzclose > 00d66380 T gzdopen > 00d67240 T gzeof > 00d67390 T gzerror > 00d66ec0 T gzflush > 00d66aa0 T gzgetc > 00d66b40 T gzgets > 00d66350 T gzopen > 00d66ca0 T gzprintf > 00d66d20 T gzputc > 00d66d70 T gzputs > 00d667d0 T gzread > 00d67150 T gzrewind > 00d66f20 T gzseek > 00d663e0 T gzsetparams > 00d67200 T gztell > 00d66af0 T gzungetc > 00d66bc0 T gzwrite > > > >>>> Török Edwin <[EMAIL PROTECTED]> 4/14/2008 2:17 PM >>> >>>> > Joey McKnight wrote: > >> I'm getting this error message: >> >> >> >> > > You removed the most important output from the build: the last command > executed (the arguments to the linker), please post that one too. > > >> 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' > >> manager.o(.text+0x183c): In function `buildcld': >> /root/clamav-0.93/freshclam/manager.c:884: undefined reference to >> > `gzopen' > >> manager.o(.text+0x189d):/root/clamav-0.93/freshclam/manager.c:913: >> > undefined reference to `gzclose' > >> manager.o(.text+0x19cd):/root/clamav-0.93/freshclam/manager.c:932: >> > undefined reference to `gzclose' > >> manager.o(.text+0x1a21):/root/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 `/root/clamav-0.93/freshclam' >> make[1]: *** [all-recursive] Error 1 >> make[1]: Leaving directory `/root/clamav-0.93' >> make: *** [all] Error 2 >> >> >> Any one care to take a guess? >> > > Those are in zlib, what is output of `nm -D /usr/lib/libz.so|grep gz` > > >
We have the same issue. I'd take a guess that it's because we're running zlib-1.2.1.2-1.2 which is the latest offered by RHEL 4. -- Roberto Ullfig - [EMAIL PROTECTED] _______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://lurker.clamav.net/list/clamav-users.html