I'm trying to link an object file and a static library into a shared
library. I can easily do this with gcc, but now I would like to use libtool
for more portability. But, libtool gives me an error like this when I try
*** 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.
Bummer. I tried following the advice of the first warning, and created a
shared version of the static library. I thought I had succeeded when
libtool produced a shared library, but the shared library produced depended
on the shared version of the static library. Not what I wanted.
Can libtool do this? Any help would be greatly appreciated. I can post a
snapshot of the code on my website if that would help.
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