Meurlin Robert wrote:
> I got the following output error when I try to install clamav on my suse
> linux:
>
>  
>
> ./configure
>
> /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3/../../../../x86_64-suse-linux
> /bin/ld: /usr/local/lib/libz.a(gzio.o): relocation R_X86_64_32 can not
> be used when making a shared object; recompile with -fPIC
>   

You need to have libz.so installed in /usr/local/lib.
You can't link non-PIC objects (libz.a) into a shared library
(libclamav.so) on amd64.
> Then I do:
>
>  
>
> ./configure -fPIC --disable-zlib-vcheck
>
>  
>
> undefined reference to `pthread_create'
>
>  
>
> What is wrong? 
>   

The error message says to recompile with -fPIC zlib, and not clamav.

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

Reply via email to