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, pleasehelp
- From: matteo dot pampolini at seleniacomms dot com
- To: binutils at sources dot redhat dot com
- Date: Thu, 10 Mar 2005 17:22:19 +0100
- Subject: 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.