Linking against shared library linked to another shared one, please help

matteo.pampolini@seleniacomms.com matteo.pampolini@seleniacomms.com
Thu Mar 10 16:22:00 GMT 2005


matteo.pampolini@seleniacomms.com writes:

> because I was not able to understand how to use it, could you please help
> me?

Please send a message to the mailing list (not just to me) explaining
what you thought would happen, and what happened that was different.

Basically if the linker sees that -la requires -lb (has a DT_NEEDED
entry for -lb), the linker will search for -lb using directories named
in -rpath-link.  If it finds the library, all should be well.  If it
does not find the library anywhere, it will issue a warning.  This
warning is intended to tell you that your program will not execute
because the dynamic linker will not be able to find -lb.

 Ian

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).

Thanks,

Matteo.



More information about the Binutils mailing list