Eugene Crosser wrote:
> 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.
>
I haven't tested this method on any AMD64 servers, but it wouldn't
surprise if you were right. When I tried using this method on a Cent OS
5 system, I had to link 1-2 or other libraries before dlopen() would
accept it.
Any thoughts on a better way of accomplishing the same task? I like to
combine all of the f/oss libraries my daemon uses into a single library
(clamav, openssl, memcached, etc). It makes deployments easier
(executable, f/oss library and config file).
_______________________________________________
http://lurker.clamav.net/list/clamav-devel.html
Please submit your patches to our Bugzilla: http://bugs.clamav.net