I'm trying to link an object file and a static library together into a
shared library. I've been doing this with gcc without problems, but now I'd
like to use libtool for more portability. Linking the files with libtool,
however, gives me something like this:
*** Warning: This library needs some functionality provided by -lplugin.
*** I have the capability to make that library automatically link in when
*** you link to this library. But I can only do this if you have a
*** shared version of the library, which you do not appear to have.
*** Warning: libtool could not satisfy all declared inter-library
*** dependencies of module libsyncmal. Therefore, libtool will create
*** a static module, that should work as long as the dlopening
*** application is linked with the -dlopen flag.
So I tried building a shared version of the static library, and libtool gave
me a shared library, but with a dependency I didn't want. Is there a way to
link an object file and a (PIC) static library into a self-contained shared
library?
Thanks in advance for any help.
Jason
--
Jason Day jasonday at
http://jasonday.home.att.net worldnet dot att dot net
"Of course I'm paranoid, everyone is trying to kill me."
-- Weyoun-6, Star Trek: Deep Space 9