This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Linking against shared library linked to another shared one, pleasehelp


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]