On Aug 22, 2006, at 2:05 PM, David McKenzie wrote:
> gcc -shared  matcher-ac.lo matcher-bm.lo matcher.lo md5.lo others.lo
> readdb.lo cvd.lo dsig.lo str.lo scanners.lo filetypes.lo unrarlib.lo
> zzip-dir.lo zzip-err.lo zzip-file.lo zzip-info.lo zzip-io.lo
> zzip-stat.lo zzip-zip.lo strc.lo blob.lo mbox.lo message.lo  
> snprintf.lo
> strrcpy.lo table.lo text.lo ole2_extract.lo vba_extract.lo msexpand.lo
> pe.lo cabd.lo lzxd.lo mszipd.lo qtmd.lo system.lo upx.lo htmlnorm.lo
> chmunpack.lo rebuildpe.lo petite.lo fsg.lo line.lo untar.lo special.lo
> binhex.lo is_tar.lo tnef.lo uuencode.lo  -L/usr/local/lib -lz -lbz2
> -lgmp -lpthread -lnsl  -Wl,-soname -Wl,libclamav.so.1
> -o .libs/libclamav.so.1.0.17
> /usr/bin/ld: /usr/local/lib/libz.a(trees.o): gp-relative relocation
> against dynamic symbol _dist_code
> /usr/bin/ld: /usr/local/lib/libz.a(trees.o): gp-relative relocation
> against dynamic symbol _dist_code

>
> I would gather that ClamAV wants to link against a dynamic version  
> of /usr/local/lib/libz, ie, a .so not a .a.  Try installing or  
> building a shared version of libz first...

> -- 
> -Chuck


Thanks compiling libz as shared solved my problem

David McKenzie

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
http://lurker.clamav.net/list/clamav-users.html

Reply via email to