I am compiling 0.96.5 on RHEL 5, when I ran into this error during "make check". I realize this may not be a Clamav-specific bug, however it does involve a dependency.

/usr/bin/ld: /usr/local/lib/libbz2.a(bzlib.o): relocation R_X86_64_32S against `a local symbol' can not be used when making a shared object; recompile with -fPIC

I had to install a different version of libbz2 than what is provided with the OS. I compiled/installed with a simple "make install" which has worked fine on 32bit systems. I've never seen this problem before. Does anyone know how to solve this?

I'm going to update the dev environment (yum update), then recompile libbz2 to see if that helps.

Any pointers would be appreciated.


Thanks.

_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

Reply via email to