Linking against shared library linked to another shared one, please help
Ian Lance Taylor
ian@airs.com
Thu Mar 10 22:39:00 GMT 2005
matteo.pampolini@seleniacomms.com writes:
> But my problem is not the linker warning, is the fact that the app doesn't
> link at all
> because of unresolved symbols (the ones implemented inside lb).
Does liba have a DT_NEEDED entry for libb? You can find out using
objdump -p.
If you force the program to link using --allow-shlib-undefined, is it
possible to run the resulting program? That is, does the dynamic
linker succeed and does the program run? In particular, try it with
the LD_BIND_NOW environment variable set.
Ian
More information about the Binutils
mailing list