Ladar Levison wrote:
> I then merge together the different ClamAV libs using this command:
>
> ld -shared -o clamav.lib clamav-0.94.2/libclamav/.libs/libclamav.a
> clamav-0.94.2/libclamunrar_iface/.libs/libclamunrar_iface.a
> clamav-0.94.2/libclamunrar/.libs/libclamunrar.a -lbz2 -lgmp -lpthread -lz
I suspect that this may break on AMD64. It's more picky about PIC/non-PIC code
(no pun intended), attempt to link objects from .a into .so often fails.
Eugene
_______________________________________________
http://lurker.clamav.net/list/clamav-devel.html
Please submit your patches to our Bugzilla:
http://bugs.clamav.net