This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Linking against shared library linked to another shared one, please help
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