My application dynamically loads liba.so
(with dlopen
).
liba.so
uses libb.so
so I want to link liba.so
against libb.so
.
How to do this in Linux?
Thanks in advance.
My application dynamically loads liba.so
(with dlopen
).
liba.so
uses libb.so
so I want to link liba.so
against libb.so
.
How to do this in Linux?
Thanks in advance.
If you build
liba.so
yourself, you need to link it with-l
optionIf you don't have
liba
sources, perhaps you could createlibawrapper.so
linked againstliba
andlibb
and to load dynamically this library