Your copy of the compression libraries needs to be compiled with the flag below 
( position independent code ). I had the same problem. Get zlib version 1.2.3 
source from sourceforge, extract, and modify the Makefile 

CFLAGS=-O3 -DUSE_MMAP

to 

CFLAGS=-O3 -DUSE_MMAP -fPIC


make, and copy the resultant libz.a to /usr/local/lib. I saved the old copy, 
then restored it after building. Just in case.

Steve

On Thu, 7 Aug 2008 16:09:57 -0400
"Parveen Malik" <[EMAIL PROTECTED]> wrote:

> Hi all,
> 
>  
> 
> I am getting this error while installing the clam antivirus :
> 
> Claimddb# make
> 
>  
> 
> /usr/bin/ld: /usr/local/lib/libz.a(gzio.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
> 
> make[3]: *** [libclamav.la] Error 1
> 
> make[3]: Leaving directory `/admin/clamav-0.93.3/libclamav'
> 
> make[2]: *** [all-recursive] Error 1
> 
> make[2]: Leaving directory `/admin/clamav-0.93.3/libclamav'
> 
> make[1]: *** [all-recursive] Error 1
> 
> make[1]: Leaving directory `/admin/clamav-0.93.3'
> 
> make: *** [all] Error 2
> 
>  
> 
> Best Regards,
> Parveen Malik
> 
> 
> 
> 
> **************************************************************************************************************
> 
> This email may contain proprietary and confidential information and is sent 
> for the intended recipient(s) only. If by an addressing or transmission error 
> this email has been delivered to you, you are requested to delete it 
> immediately. You are also hereby notified that any use, any form of 
> reproduction, dissemination, copying, disclosure, modification, distribution 
> and/or publication of this e-mail message, contents or its attachment(s) 
> other than by its intended recipient(s) is strictly prohibited. All rights 
> reserved ikaSystems CorporationR.
> 
> 
> _______________________________________________
> Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
> http://www.clamav.net/support/ml

Attachment: pgppw7q8XNklv.pgp
Description: PGP signature

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

Reply via email to