On a 64bit server, running CentOS 4, when running make, without configuring as
-build=x86_64, I get:
"/usr/bin/ld: /usr/local/lib/libz.a(compress.o): relocation R_X86_64_32 against
`a local symbol' can not be used when making a shared object; recompile with
-fPIC
/usr/local/lib/libz.a: could not read symbols: Bad value
collect2: ld returned 1 exit status"
When I run make after "configure --build=x86_64", I get:
"/home/lj/downloads/clamav-0.85/clamd/thrmgr.c:248: undefined reference to
`pthread_create'
server-th.o(.text+0x2c): In function `scanner_thread':
/home/lj/downloads/clamav-0.85/clamd/server-th.c:75: undefined reference to
`pthread_sigmask'
collect2: ld returned 1 exit status
make[2]: *** [clamd] Error 1"
So then I run "/configure --build=x86_64 --enable-pthreads=no" and make results
in no obvious errors but "clamd" never gets made.
Has anyone else dealt with this problem? And has anyone made a yum version
availble for CentOS 4?
Thanks.
--Len Jacobs
________________________________________________________________
Sent via the WebMessaging system at mandala-designs.com
_______________________________________________
http://lurker.clamav.net/list/clamav-users.html