Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: ClamAV: users

Help need with 0.93 compile error

 

 

ClamAV users RSS feed   Index | Next | Previous | View Threaded


madmike31 at hotmail

Apr 30, 2008, 9:53 AM

Post #1 of 20 (369 views)
Permalink
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



_________________________________________________________________
Découvrez les profils Messenger de vos amis !
http://home.services.spaces.live.com/
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html


jpratt at norwich

Apr 30, 2008, 10:28 AM

Post #2 of 20 (361 views)
Permalink
Re: Help need with 0.93 compile error [In reply to]

> -----Original Message-----
> From: clamav-users-bounces[at]lists.clamav.net [mailto:clamav-users-
> bounces[at]lists.clamav.net] On Behalf Of RODOLPHE CARMIGNANI
> Sent: Wednesday, April 30, 2008 12:54 PM
> To: clamav-users[at]lists.clamav.net
> 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


madmike31 at hotmail

Apr 30, 2008, 10:35 AM

Post #3 of 20 (359 views)
Permalink
Re: Help need with 0.93 compile error [In reply to]

ok thanxx a lot, it works !



> Date: Wed, 30 Apr 2008 13:28:23 -0400
> From: jpratt[at]norwich.edu
> To: clamav-users[at]lists.clamav.net
> Subject: Re: [Clamav-users] Help need with 0.93 compile error
>
>> -----Original Message-----
>> From: clamav-users-bounces[at]lists.clamav.net [mailto:clamav-users-
>> bounces[at]lists.clamav.net] On Behalf Of RODOLPHE CARMIGNANI
>> Sent: Wednesday, April 30, 2008 12:54 PM
>> To: clamav-users[at]lists.clamav.net
>> 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


uhlar at fantomas

May 2, 2008, 3:30 AM

Post #4 of 20 (344 views)
Permalink
Re: Help need with 0.93 compile error [In reply to]

On 30.04.08 16:53, RODOLPHE CARMIGNANI wrote:
> System: RHE3
> Zlib: 1.2.3 from RH

do you also have zlib devel package installed ? (I guess it's zlib-dev or
similar)

don't you have zlib manually installed somewhere?

> 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:

> ../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...

--
Matus UHLAR - fantomas, uhlar[at]fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
"One World. One Web. One Program." - Microsoft promotional advertisement
"Ein Volk, ein Reich, ein Fuhrer!" - Adolf Hitler
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html


nightduke2005 at gmail

May 2, 2008, 8:18 AM

Post #5 of 20 (340 views)
Permalink
Re: Help need with 0.93 compile error [In reply to]

I can't compile version 0.93.

/root/clamav/clamav-0.93/freshclam/manager.c:913: undefined reference to
`gzclos e'
manager.o(.text+0xf59):/root/clamav/clamav-0.93/freshclam/manager.c:884:
undefin ed reference to
`gzopen'
manager.o(.text+0x108d):/root/clamav/clamav-0.93/freshclam/manager.c:932:
undefi ned reference to
`gzclose'
manager.o(.text+0x10d5):/root/clamav/clamav-0.93/freshclam/manager.c:944:
undefi ned reference to
`gzclose'
collect2: ld returned 1 exit status
make[2]: *** [freshclam] Error 1
make[2]: Leaving directory `/root/clamav/clamav-0.93/freshclam'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/clamav/clamav-0.93'
make: *** [all] Error 2

Anyone know how can i solve the problem?

Thanks

Nightduke


2008/5/2, Matus UHLAR - fantomas <uhlar[at]fantomas.sk>:
>
> On 30.04.08 16:53, RODOLPHE CARMIGNANI wrote:
> > System: RHE3
> > Zlib: 1.2.3 from RH
>
>
> do you also have zlib devel package installed ? (I guess it's zlib-dev or
> similar)
>
> don't you have zlib manually installed somewhere?
>
>
> > 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:
>
>
> > ../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...
>
>
> --
> Matus UHLAR - fantomas, uhlar[at]fantomas.sk ; http://www.fantomas.sk/
> Warning: I wish NOT to receive e-mail advertising to this address.
> Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
> "One World. One Web. One Program." - Microsoft promotional advertisement
> "Ein Volk, ein Reich, ein Fuhrer!" - Adolf Hitler
>
> _______________________________________________
> Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
> http://lurker.clamav.net/list/clamav-users.html
>
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html


jpratt at norwich

May 2, 2008, 8:23 AM

Post #6 of 20 (342 views)
Permalink
Re: Help need with 0.93 compile error [In reply to]

http://lurker.clamav.net/message/20080430.172823.6ac0bd25.en.html


> -----Original Message-----
> From: clamav-users-bounces[at]lists.clamav.net [mailto:clamav-users-
> bounces[at]lists.clamav.net] On Behalf Of nightduke
> Sent: Friday, May 02, 2008 11:19 AM
> To: ClamAV users ML
> Subject: Re: [Clamav-users] Help need with 0.93 compile error
>
> I can't compile version 0.93.
>
> /root/clamav/clamav-0.93/freshclam/manager.c:913: undefined reference
> to
> `gzclos e'
> manager.o(.text+0xf59):/root/clamav/clamav-
> 0.93/freshclam/manager.c:884:
> undefin ed reference to
> `gzopen'
> manager.o(.text+0x108d):/root/clamav/clamav-
> 0.93/freshclam/manager.c:932:
> undefi ned reference to
> `gzclose'
> manager.o(.text+0x10d5):/root/clamav/clamav-
> 0.93/freshclam/manager.c:944:
> undefi ned reference to
> `gzclose'
> collect2: ld returned 1 exit status
> make[2]: *** [freshclam] Error 1
> make[2]: Leaving directory `/root/clamav/clamav-0.93/freshclam'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/root/clamav/clamav-0.93'
> make: *** [all] Error 2
>
> Anyone know how can i solve the problem?
>
> Thanks
>
> Nightduke
>
>
> 2008/5/2, Matus UHLAR - fantomas <uhlar[at]fantomas.sk>:
> >
> > On 30.04.08 16:53, RODOLPHE CARMIGNANI wrote:
> > > System: RHE3
> > > Zlib: 1.2.3 from RH
> >
> >
> > do you also have zlib devel package installed ? (I guess it's zlib-
> dev or
> > similar)
> >
> > don't you have zlib manually installed somewhere?
> >
> >
> > > 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:
> >
> >
> > > ../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...
> >
> >
> > --
> > Matus UHLAR - fantomas, uhlar[at]fantomas.sk ; http://www.fantomas.sk/
> > Warning: I wish NOT to receive e-mail advertising to this address.
> > Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
> > "One World. One Web. One Program." - Microsoft promotional
> advertisement
> > "Ein Volk, ein Reich, ein Fuhrer!" - Adolf Hitler
> >
> > _______________________________________________
> > Help us build a comprehensive ClamAV guide: visit
> http://wiki.clamav.net
> > http://lurker.clamav.net/list/clamav-users.html
> >
> _______________________________________________
> Help us build a comprehensive ClamAV guide: visit
> http://wiki.clamav.net
> http://lurker.clamav.net/list/clamav-users.html
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html


nightduke2005 at gmail

May 2, 2008, 8:27 AM

Post #7 of 20 (341 views)
Permalink
Re: Help need with 0.93 compile error [In reply to]

How can i add my libraries at ld.so.conf?

cat ld.so.conf
include ld.so.conf.d/*.conf

Thanks

Nightduke

2008/5/2, James Pratt <jpratt[at]norwich.edu>:
>
> http://lurker.clamav.net/message/20080430.172823.6ac0bd25.en.html
>
>
>
> > -----Original Message-----
> > From: clamav-users-bounces[at]lists.clamav.net [mailto:clamav-users-
>
> > bounces[at]lists.clamav.net] On Behalf Of nightduke
> > Sent: Friday, May 02, 2008 11:19 AM
> > To: ClamAV users ML
> > Subject: Re: [Clamav-users] Help need with 0.93 compile error
> >
>
> > I can't compile version 0.93.
> >
> > /root/clamav/clamav-0.93/freshclam/manager.c:913: undefined reference
> > to
> > `gzclos e'
> > manager.o(.text+0xf59):/root/clamav/clamav-
> > 0.93/freshclam/manager.c:884:
> > undefin ed reference to
> > `gzopen'
> > manager.o(.text+0x108d):/root/clamav/clamav-
> > 0.93/freshclam/manager.c:932:
> > undefi ned reference to
> > `gzclose'
> > manager.o(.text+0x10d5):/root/clamav/clamav-
> > 0.93/freshclam/manager.c:944:
> > undefi ned reference to
> > `gzclose'
> > collect2: ld returned 1 exit status
> > make[2]: *** [freshclam] Error 1
> > make[2]: Leaving directory `/root/clamav/clamav-0.93/freshclam'
> > make[1]: *** [all-recursive] Error 1
> > make[1]: Leaving directory `/root/clamav/clamav-0.93'
> > make: *** [all] Error 2
> >
> > Anyone know how can i solve the problem?
> >
> > Thanks
> >
> > Nightduke
> >
> >
> > 2008/5/2, Matus UHLAR - fantomas <uhlar[at]fantomas.sk>:
> > >
> > > On 30.04.08 16:53, RODOLPHE CARMIGNANI wrote:
> > > > System: RHE3
> > > > Zlib: 1.2.3 from RH
> > >
> > >
> > > do you also have zlib devel package installed ? (I guess it's zlib-
> > dev or
> > > similar)
> > >
> > > don't you have zlib manually installed somewhere?
> > >
> > >
> > > > 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:
> > >
> > >
> > > > ../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...
> > >
> > >
> > > --
> > > Matus UHLAR - fantomas, uhlar[at]fantomas.sk ; http://www.fantomas.sk/
> > > Warning: I wish NOT to receive e-mail advertising to this address.
> > > Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
> > > "One World. One Web. One Program." - Microsoft promotional
> > advertisement
> > > "Ein Volk, ein Reich, ein Fuhrer!" - Adolf Hitler
> > >
> > > _______________________________________________
> > > Help us build a comprehensive ClamAV guide: visit
> > http://wiki.clamav.net
> > > http://lurker.clamav.net/list/clamav-users.html
> > >
> > _______________________________________________
> > Help us build a comprehensive ClamAV guide: visit
> > http://wiki.clamav.net
> > http://lurker.clamav.net/list/clamav-users.html
> _______________________________________________
> Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
> http://lurker.clamav.net/list/clamav-users.html
>
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html


jpratt at norwich

May 2, 2008, 8:32 AM

Post #8 of 20 (339 views)
Permalink
Re: Help need with 0.93 compile error [In reply to]

echo "/usr/local/lib" >> /etc/ld.so.conf , then run : ldconfig

> -----Original Message-----
> From: clamav-users-bounces[at]lists.clamav.net [mailto:clamav-users-
> bounces[at]lists.clamav.net] On Behalf Of nightduke
> Sent: Friday, May 02, 2008 11:27 AM
> To: ClamAV users ML
> Subject: Re: [Clamav-users] Help need with 0.93 compile error
>
> How can i add my libraries at ld.so.conf?
>
> cat ld.so.conf
> include ld.so.conf.d/*.conf
>
> Thanks
>
> Nightduke
>
> 2008/5/2, James Pratt <jpratt[at]norwich.edu>:
> >
> > http://lurker.clamav.net/message/20080430.172823.6ac0bd25.en.html
> >
> >
> >
> > > -----Original Message-----
> > > From: clamav-users-bounces[at]lists.clamav.net [mailto:clamav-users-
> >
> > > bounces[at]lists.clamav.net] On Behalf Of nightduke
> > > Sent: Friday, May 02, 2008 11:19 AM
> > > To: ClamAV users ML
> > > Subject: Re: [Clamav-users] Help need with 0.93 compile error
> > >
> >
> > > I can't compile version 0.93.
> > >
> > > /root/clamav/clamav-0.93/freshclam/manager.c:913: undefined
> reference
> > > to
> > > `gzclos e'
> > > manager.o(.text+0xf59):/root/clamav/clamav-
> > > 0.93/freshclam/manager.c:884:
> > > undefin ed reference
> to
> > > `gzopen'
> > > manager.o(.text+0x108d):/root/clamav/clamav-
> > > 0.93/freshclam/manager.c:932:
> > > undefi ned reference
> to
> > > `gzclose'
> > > manager.o(.text+0x10d5):/root/clamav/clamav-
> > > 0.93/freshclam/manager.c:944:
> > > undefi ned reference
> to
> > > `gzclose'
> > > collect2: ld returned 1 exit status
> > > make[2]: *** [freshclam] Error 1
> > > make[2]: Leaving directory `/root/clamav/clamav-0.93/freshclam'
> > > make[1]: *** [all-recursive] Error 1
> > > make[1]: Leaving directory `/root/clamav/clamav-0.93'
> > > make: *** [all] Error 2
> > >
> > > Anyone know how can i solve the problem?
> > >
> > > Thanks
> > >
> > > Nightduke
> > >
> > >
> > > 2008/5/2, Matus UHLAR - fantomas <uhlar[at]fantomas.sk>:
> > > >
> > > > On 30.04.08 16:53, RODOLPHE CARMIGNANI wrote:
> > > > > System: RHE3
> > > > > Zlib: 1.2.3 from RH
> > > >
> > > >
> > > > do you also have zlib devel package installed ? (I guess it's
> zlib-
> > > dev or
> > > > similar)
> > > >
> > > > don't you have zlib manually installed somewhere?
> > > >
> > > >
> > > > > 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:
> > > >
> > > >
> > > > > ../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...
> > > >
> > > >
> > > > --
> > > > Matus UHLAR - fantomas, uhlar[at]fantomas.sk ;
> http://www.fantomas.sk/
> > > > Warning: I wish NOT to receive e-mail advertising to this
> address.
> > > > Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu
> postu.
> > > > "One World. One Web. One Program." - Microsoft promotional
> > > advertisement
> > > > "Ein Volk, ein Reich, ein Fuhrer!" - Adolf Hitler
> > > >
> > > > _______________________________________________
> > > > Help us build a comprehensive ClamAV guide: visit
> > > http://wiki.clamav.net
> > > > http://lurker.clamav.net/list/clamav-users.html
> > > >
> > > _______________________________________________
> > > Help us build a comprehensive ClamAV guide: visit
> > > http://wiki.clamav.net
> > > http://lurker.clamav.net/list/clamav-users.html
> > _______________________________________________
> > Help us build a comprehensive ClamAV guide: visit
> http://wiki.clamav.net
> > http://lurker.clamav.net/list/clamav-users.html
> >
> _______________________________________________
> Help us build a comprehensive ClamAV guide: visit
> http://wiki.clamav.net
> http://lurker.clamav.net/list/clamav-users.html
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html


nightduke2005 at gmail

May 2, 2008, 8:40 AM

Post #9 of 20 (340 views)
Permalink
Re: Help need with 0.93 compile error [In reply to]

Done but i have the same problem...

../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':
/root/clamav/clamav-0.93/freshclam/manager.c:913: undefined reference to
`gzclos e'
manager.o(.text+0xf59):/root/clamav/clamav-0.93/freshclam/manager.c:884:
undefin ed reference to
`gzopen'
manager.o(.text+0x108d):/root/clamav/clamav-0.93/freshclam/manager.c:932:
undefi ned reference to
`gzclose'
manager.o(.text+0x10d5):/root/clamav/clamav-0.93/freshclam/manager.c:944:
undefi ned reference to
`gzclose'
collect2: ld returned 1 exit status
make[2]: *** [freshclam] Error 1
make[2]: Leaving directory `/root/clamav/clamav-0.93/freshclam'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/clamav/clamav-0.93'
make: *** [all] Error 2

cat ld.so.conf
include ld.so.conf.d/*.conf
/usr/local/lib

Thanks

Nightduke


2008/5/2, James Pratt <jpratt[at]norwich.edu>:
>
> echo "/usr/local/lib" >> /etc/ld.so.conf , then run : ldconfig
>
>
> > -----Original Message-----
> > From: clamav-users-bounces[at]lists.clamav.net [mailto:clamav-users-
> > bounces[at]lists.clamav.net] On Behalf Of nightduke
>
> > Sent: Friday, May 02, 2008 11:27 AM
> > To: ClamAV users ML
> > Subject: Re: [Clamav-users] Help need with 0.93 compile error
> >
> > How can i add my libraries at ld.so.conf?
> >
> > cat ld.so.conf
> > include ld.so.conf.d/*.conf
> >
> > Thanks
> >
> > Nightduke
> >
> > 2008/5/2, James Pratt <jpratt[at]norwich.edu>:
> > >
> > > http://lurker.clamav.net/message/20080430.172823.6ac0bd25.en.html
> > >
> > >
> > >
> > > > -----Original Message-----
> > > > From: clamav-users-bounces[at]lists.clamav.net [mailto:clamav-users-
> > >
> > > > bounces[at]lists.clamav.net] On Behalf Of nightduke
> > > > Sent: Friday, May 02, 2008 11:19 AM
> > > > To: ClamAV users ML
> > > > Subject: Re: [Clamav-users] Help need with 0.93 compile error
> > > >
> > >
> > > > I can't compile version 0.93.
> > > >
> > > > /root/clamav/clamav-0.93/freshclam/manager.c:913: undefined
> > reference
> > > > to
> > > > `gzclos e'
> > > > manager.o(.text+0xf59):/root/clamav/clamav-
> > > > 0.93/freshclam/manager.c:884:
> > > > undefin ed reference
> > to
> > > > `gzopen'
> > > > manager.o(.text+0x108d):/root/clamav/clamav-
> > > > 0.93/freshclam/manager.c:932:
> > > > undefi ned reference
> > to
> > > > `gzclose'
> > > > manager.o(.text+0x10d5):/root/clamav/clamav-
> > > > 0.93/freshclam/manager.c:944:
> > > > undefi ned reference
> > to
> > > > `gzclose'
> > > > collect2: ld returned 1 exit status
> > > > make[2]: *** [freshclam] Error 1
> > > > make[2]: Leaving directory `/root/clamav/clamav-0.93/freshclam'
> > > > make[1]: *** [all-recursive] Error 1
> > > > make[1]: Leaving directory `/root/clamav/clamav-0.93'
> > > > make: *** [all] Error 2
> > > >
> > > > Anyone know how can i solve the problem?
> > > >
> > > > Thanks
> > > >
> > > > Nightduke
> > > >
> > > >
> > > > 2008/5/2, Matus UHLAR - fantomas <uhlar[at]fantomas.sk>:
> > > > >
> > > > > On 30.04.08 16:53, RODOLPHE CARMIGNANI wrote:
> > > > > > System: RHE3
> > > > > > Zlib: 1.2.3 from RH
> > > > >
> > > > >
> > > > > do you also have zlib devel package installed ? (I guess it's
> > zlib-
> > > > dev or
> > > > > similar)
> > > > >
> > > > > don't you have zlib manually installed somewhere?
> > > > >
> > > > >
> > > > > > 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:
> > > > >
> > > > >
> > > > > > ../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...
> > > > >
> > > > >
> > > > > --
> > > > > Matus UHLAR - fantomas, uhlar[at]fantomas.sk ;
> > http://www.fantomas.sk/
> > > > > Warning: I wish NOT to receive e-mail advertising to this
> > address.
> > > > > Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu
> > postu.
> > > > > "One World. One Web. One Program." - Microsoft promotional
> > > > advertisement
> > > > > "Ein Volk, ein Reich, ein Fuhrer!" - Adolf Hitler
> > > > >
> > > > > _______________________________________________
> > > > > Help us build a comprehensive ClamAV guide: visit
> > > > http://wiki.clamav.net
> > > > > http://lurker.clamav.net/list/clamav-users.html
> > > > >
> > > > _______________________________________________
> > > > Help us build a comprehensive ClamAV guide: visit
> > > > http://wiki.clamav.net
> > > > http://lurker.clamav.net/list/clamav-users.html
> > > _______________________________________________
> > > Help us build a comprehensive ClamAV guide: visit
> > http://wiki.clamav.net
> > > http://lurker.clamav.net/list/clamav-users.html
> > >
> > _______________________________________________
> > Help us build a comprehensive ClamAV guide: visit
> > http://wiki.clamav.net
> > http://lurker.clamav.net/list/clamav-users.html
> _______________________________________________
> Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
> http://lurker.clamav.net/list/clamav-users.html
>
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html


dennispe at inetnw

May 2, 2008, 8:42 AM

Post #10 of 20 (338 views)
Permalink
Re: Help need with 0.93 compile error [In reply to]

nightduke wrote:
> How can i add my libraries at ld.so.conf?
>
> cat ld.so.conf
> include ld.so.conf.d/*.conf
>
> Thanks
>
> Nightduke

Here's some links to follow:

http://tinyurl.com/n9cd

http://tinyurl.com/2e6ud

For Linux:

http://linux.die.net/man/8/ldconfig

For Solaris:

http://solaris.reys.net/english/2006/04/crle

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


edwintorok at gmail

May 2, 2008, 8:44 AM

Post #11 of 20 (338 views)
Permalink
Re: Help need with 0.93 compile error [In reply to]

nightduke wrote:
> Done but i have the same problem...
>
> ../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':
> /root/clamav/clamav-0.93/freshclam/manager.c:913: undefined reference to
> `gzclos e'
> manager.o(.text+0xf59):/root/clamav/clamav-0.93/freshclam/manager.c:884:
> undefin ed reference to
> `gzopen'
> manager.o(.text+0x108d):/root/clamav/clamav-0.93/freshclam/manager.c:932:
> undefi ned reference to
> `gzclose'
> manager.o(.text+0x10d5):/root/clamav/clamav-0.93/freshclam/manager.c:944:
> undefi ned reference to
> `gzclose'
> collect2: ld returned 1 exit status
> make[2]: *** [freshclam] Error 1
> make[2]: Leaving directory `/root/clamav/clamav-0.93/freshclam'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/root/clamav/clamav-0.93'
> make: *** [all] Error 2
>
> cat ld.so.conf
> include ld.so.conf.d/*.conf
> /usr/local/lib
>
> Thanks
>
> Nightduke
>

Does this patch help?
https://wwws.clamav.net/bugzilla/attachment.cgi?id=656

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


nightduke2005 at gmail

May 2, 2008, 8:47 AM

Post #12 of 20 (338 views)
Permalink
Re: Help need with 0.93 compile error [In reply to]

How can i apply this patch?

Thanks a lot

Nightduke


2008/5/2, Török Edwin <edwintorok[at]gmail.com>:
>
> nightduke wrote:
> > Done but i have the same problem...
> >
> > ../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':
> > /root/clamav/clamav-0.93/freshclam/manager.c:913: undefined reference to
> > `gzclos e'
> > manager.o(.text+0xf59):/root/clamav/clamav-0.93/freshclam/manager.c:884:
> > undefin ed reference to
> > `gzopen'
> >
> manager.o(.text+0x108d):/root/clamav/clamav-0.93/freshclam/manager.c:932:
> > undefi ned reference to
> > `gzclose'
> >
> manager.o(.text+0x10d5):/root/clamav/clamav-0.93/freshclam/manager.c:944:
> > undefi ned reference to
> > `gzclose'
> > collect2: ld returned 1 exit status
> > make[2]: *** [freshclam] Error 1
> > make[2]: Leaving directory `/root/clamav/clamav-0.93/freshclam'
> > make[1]: *** [all-recursive] Error 1
> > make[1]: Leaving directory `/root/clamav/clamav-0.93'
> > make: *** [all] Error 2
> >
> > cat ld.so.conf
> > include ld.so.conf.d/*.conf
> > /usr/local/lib
> >
> > Thanks
> >
> > Nightduke
> >
>
>
> Does this patch help?
> https://wwws.clamav.net/bugzilla/attachment.cgi?id=656
>
>
> --Edwin
>
> _______________________________________________
> Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
> http://lurker.clamav.net/list/clamav-users.html
>
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html


edwintorok at gmail

May 2, 2008, 8:57 AM

Post #13 of 20 (338 views)
Permalink
Re: Help need with 0.93 compile error [In reply to]

nightduke wrote:
> How can i apply this patch?
cd /path/to/clamav-sources
wget https://wwws.clamav.net/bugzilla/attachment.cgi?id=656 -o zlib.patch
patch -p0 <zlib.patch
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html


nightduke2005 at gmail

May 2, 2008, 9:10 AM

Post #14 of 20 (338 views)
Permalink
Re: Help need with 0.93 compile error [In reply to]

patch -p0 < zlib.patch
patch: **** Only garbage was found in the patch input.

And then what can i do?

Thanks a lot.

Nightduke


2008/5/2, Török Edwin <edwintorok[at]gmail.com>:
>
> nightduke wrote:
> > How can i apply this patch?
>
> cd /path/to/clamav-sources
> wget https://wwws.clamav.net/bugzilla/attachment.cgi?id=656 -o zlib.patch
> patch -p0 <zlib.patch
>
> _______________________________________________
> Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
> http://lurker.clamav.net/list/clamav-users.html
>
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html


edwintorok at gmail

May 2, 2008, 9:15 AM

Post #15 of 20 (339 views)
Permalink
Re: Help need with 0.93 compile error [In reply to]

nightduke wrote:
> patch -p0 < zlib.patch
> patch: **** Only garbage was found in the patch input.
>
> And then what can i do?

Check what zlib.patch contains, and if it got damages somehow.
Use a patch that understands unified context diffs (try -u).

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


nightduke2005 at gmail

May 2, 2008, 9:28 AM

Post #16 of 20 (339 views)
Permalink
Re: Help need with 0.93 compile error [In reply to]

Finally i applied the patch i was downloading with wget but...
wget https://wwws.clamav.net/bugzilla/attachment.cgi?id=656--no-check-certificate

patch -p0 < attachment.cgi\?id\=656
Then i do again configure and make
Make it's done without errors...then i do make install....
But i try to update...

freshclam
freshclam: error while loading shared libraries: libclamav.so.4: cannot open
shared object file: No such file or directory

Nightduke


2008/5/2, Török Edwin <edwintorok[at]gmail.com>:
>
> nightduke wrote:
> > patch -p0 < zlib.patch
> > patch: **** Only garbage was found in the patch input.
> >
> > And then what can i do?
>
>
> Check what zlib.patch contains, and if it got damages somehow.
> Use a patch that understands unified context diffs (try -u).
>
>
> --Edwin
>
> _______________________________________________
> Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
> http://lurker.clamav.net/list/clamav-users.html
>
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html


nightduke2005 at gmail

May 2, 2008, 9:30 AM

Post #17 of 20 (338 views)
Permalink
Re: Help need with 0.93 compile error [In reply to]

Fixed
I do ldconfig and freshclam and the error libclamav.so.4 disappears.

Thanks a lot.

Nightduke


2008/5/2, nightduke <nightduke2005[at]gmail.com>:
>
> Finally i applied the patch i was downloading with wget but...
> wget https://wwws.clamav.net/bugzilla/attachment.cgi?id=656--no-check-certificate
>
> patch -p0 < attachment.cgi\?id\=656
> Then i do again configure and make
> Make it's done without errors...then i do make install....
> But i try to update...
>
> freshclam
> freshclam: error while loading shared libraries: libclamav.so.4: cannot
> open shared object file: No such file or directory
>
> Nightduke
>
>
> 2008/5/2, Török Edwin <edwintorok[at]gmail.com>:
> >
> > nightduke wrote:
> > > patch -p0 < zlib.patch
> > > patch: **** Only garbage was found in the patch input.
> > >
> > > And then what can i do?
> >
> >
> > Check what zlib.patch contains, and if it got damages somehow.
> > Use a patch that understands unified context diffs (try -u).
> >
> >
> > --Edwin
> >
> > _______________________________________________
> > Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
> > http://lurker.clamav.net/list/clamav-users.html
> >
>
>
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html


jpratt at norwich

May 2, 2008, 9:30 AM

Post #18 of 20 (337 views)
Permalink
Re: Help need with 0.93 compile error [In reply to]

You can try doing a ln -s /usr/local/lib/libclamav.so.4.0.1 /usr/local/lib/libclamav.so.4, re-run ldconfig and try again..

> -----Original Message-----
> From: clamav-users-bounces[at]lists.clamav.net [mailto:clamav-users-
> bounces[at]lists.clamav.net] On Behalf Of nightduke
> Sent: Friday, May 02, 2008 12:28 PM
> To: ClamAV users ML
> Subject: Re: [Clamav-users] Help need with 0.93 compile error
>
> Finally i applied the patch i was downloading with wget but...
> wget https://wwws.clamav.net/bugzilla/attachment.cgi?id=656--no-check-
> certificate
>
> patch -p0 < attachment.cgi\?id\=656
> Then i do again configure and make
> Make it's done without errors...then i do make install....
> But i try to update...
>
> freshclam
> freshclam: error while loading shared libraries: libclamav.so.4: cannot
> open
> shared object file: No such file or directory
>
> Nightduke
>
>
> 2008/5/2, Török Edwin <edwintorok[at]gmail.com>:
> >
> > nightduke wrote:
> > > patch -p0 < zlib.patch
> > > patch: **** Only garbage was found in the patch input.
> > >
> > > And then what can i do?
> >
> >
> > Check what zlib.patch contains, and if it got damages somehow.
> > Use a patch that understands unified context diffs (try -u).
> >
> >
> > --Edwin
> >
> > _______________________________________________
> > Help us build a comprehensive ClamAV guide: visit
> http://wiki.clamav.net
> > http://lurker.clamav.net/list/clamav-users.html
> >
> _______________________________________________
> Help us build a comprehensive ClamAV guide: visit
> http://wiki.clamav.net
> http://lurker.clamav.net/list/clamav-users.html
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html


nightduke2005 at gmail

May 2, 2008, 9:38 AM

Post #19 of 20 (338 views)
Permalink
Re: Help need with 0.93 compile error [In reply to]

I did ldconfig and it's fixed.Thanks a lot.
Can the patch be applied at current stable version of clamav?

Thanks
Nightduke


2008/5/2, James Pratt <jpratt[at]norwich.edu>:
>
> You can try doing a ln -s /usr/local/lib/libclamav.so.4.0.1
> /usr/local/lib/libclamav.so.4, re-run ldconfig and try again..
>
>
> > -----Original Message-----
> > From: clamav-users-bounces[at]lists.clamav.net [mailto:clamav-users-
> > bounces[at]lists.clamav.net] On Behalf Of nightduke
>
> > Sent: Friday, May 02, 2008 12:28 PM
> > To: ClamAV users ML
> > Subject: Re: [Clamav-users] Help need with 0.93 compile error
> >
>
> > Finally i applied the patch i was downloading with wget but...
> > wget https://wwws.clamav.net/bugzilla/attachment.cgi?id=656--no-check-
> > certificate
> >
> > patch -p0 < attachment.cgi\?id\=656
> > Then i do again configure and make
> > Make it's done without errors...then i do make install....
> > But i try to update...
> >
> > freshclam
> > freshclam: error while loading shared libraries: libclamav.so.4: cannot
> > open
> > shared object file: No such file or directory
> >
> > Nightduke
> >
> >
> > 2008/5/2, Török Edwin <edwintorok[at]gmail.com>:
> > >
> > > nightduke wrote:
> > > > patch -p0 < zlib.patch
> > > > patch: **** Only garbage was found in the patch input.
> > > >
> > > > And then what can i do?
> > >
> > >
> > > Check what zlib.patch contains, and if it got damages somehow.
> > > Use a patch that understands unified context diffs (try -u).
> > >
> > >
> > > --Edwin
> > >
> > > _______________________________________________
> > > Help us build a comprehensive ClamAV guide: visit
> > http://wiki.clamav.net
> > > http://lurker.clamav.net/list/clamav-users.html
> > >
> > _______________________________________________
> > Help us build a comprehensive ClamAV guide: visit
> > http://wiki.clamav.net
> > http://lurker.clamav.net/list/clamav-users.html
> _______________________________________________
> Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
> http://lurker.clamav.net/list/clamav-users.html
>
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html


edwintorok at gmail

May 2, 2008, 9:40 AM

Post #20 of 20 (338 views)
Permalink
Re: Help need with 0.93 compile error [In reply to]

nightduke wrote:
> I did ldconfig and it's fixed.Thanks a lot.
> Can the patch be applied at current stable version of clamav?

It will be included in 0.93.1 and it is applied on the 0.93 release branch.

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

ClamAV users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-thr&