ok thanxx a lot, it works !
> Date: Wed, 30 Apr 2008 13:28:23 -0400 > From: [EMAIL PROTECTED] > To: [email protected] > Subject: Re: [Clamav-users] Help need with 0.93 compile error > >> -----Original Message----- >> From: [EMAIL PROTECTED] [mailto:clamav-users- >> [EMAIL PROTECTED] On Behalf Of RODOLPHE CARMIGNANI >> Sent: Wednesday, April 30, 2008 12:54 PM >> To: [email protected] >> Subject: [Clamav-users] Help need with 0.93 compile error >> >> >> Hi Clam Linux Users, >> >> My confis is >> >> System: RHE3 >> Zlib: 1.2.3 from RH >> >> I used Clamav for a while and I compiled 0.9X series without problems. >> >> I'm trying to compile 0.93 and have a error message. >> >> ./configure (ok) >> make .... then this error: >> >> gcc -DHAVE_CONFIG_H -DCL_NOTHREADS -I. -I.. -I.. -I../shared - >> I../libclamav -I/usr/local/include -g -O2 -MT mirman.o -MD -MP -MF >> .deps/mirman.Tpo -c -o mirman.o mirman.c >> mv -f .deps/mirman.Tpo .deps/mirman.Po >> /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 >> mkdir .libs >> 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+0x1934): In function `cdiff_apply': >> ../shared/cdiff.c:984: undefined reference to `gzdopen' >> cdiff.o(.text+0x1973):../shared/cdiff.c:994: undefined reference to >> `gzgets' >> cdiff.o(.text+0x19c6):../shared/cdiff.c:1016: undefined reference to >> `gzclose' >> cdiff.o(.text+0x1a11):../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+0x133):../shared/tar.c:95: undefined reference to `gzwrite' >> tar.o(.text+0x1a3):../shared/tar.c:111: undefined reference to >> `gzwrite' >> manager.o(.text+0x1862): In function `buildcld': >> /var/tmp/clamav-0.93/freshclam/manager.c:884: undefined reference to >> `gzopen' >> manager.o(.text+0x18ff):/var/tmp/clamav-0.93/freshclam/manager.c:913: >> undefined reference to `gzclose' >> manager.o(.text+0x19f8):/var/tmp/clamav-0.93/freshclam/manager.c:932: >> undefined reference to `gzclose' >> manager.o(.text+0x1a44):/var/tmp/clamav-0.93/freshclam/manager.c:944: >> undefined reference to `gzclose' >> collect2: ld returned 1 exit status >> make[2]: *** [freshclam] Erreur 1 >> make[2]: Quitte le répertoire `/var/tmp/clamav-0.93/freshclam' >> make[1]: *** [all-recursive] Erreur 1 >> make[1]: Quitte le répertoire `/var/tmp/clamav-0.93' >> make: *** [all] Erreur 2 >> >> >> Anyone can help me ?? Any tips ? >> Seems to be zlib related, but I don't change anything about path or >> version... >> >> Thanxx >> >> RoD > > I believe you can get around this by downloading the zlib-1.2.3.tar.gz src > file and compile and install with both ./configure, and ./configure -shared. > (with make clean; make distclean in between of course ;) > > This will build you libz.x.x.x.so files in /usr/local/lib - rerun ldconfig > after, then try and rebuild clam. > > (you may need to add /usr/local/lib to /etc/ld.so.conf so ldconfig can see > the new libz.so files - you can just leave your redhat rpms alone this way). > > Disclaimer: "This may not be the best way to get around zlib "issues", but > it's worked for me. ;) > > Regards, > jamie > _______________________________________________ > Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net > http://lurker.clamav.net/list/clamav-users.html _________________________________________________________________ Créez votre disque dur virtuel Windows Live SkyDrive, 5Go de stockage gratuit ! http://www.windowslive.fr/skydrive/ _______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://lurker.clamav.net/list/clamav-users.html
