Re: [Clamav-devel] [Clamav] Cannot dlopen: file not found - …

Top Page
Attachments:
Message as email
+ (text/plain)
+ signature.asc (application/pgp-signature)
+ (text/plain)
Delete this message
Reply to this message
Author: Eugene Crosser
Date:  
To: ClamAV Development
Subject: Re: [Clamav-devel] [Clamav] Cannot dlopen: file not found - unrar support unavailable
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