This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Unable to link to library version of my choice
- From: Jonathan Wakely <jwakely dot gcc at gmail dot com>
- To: kevin diggs <diggskevin38 at gmail dot com>
- Cc: gcc-help at gcc dot gnu dot org, Marco Ricci <marcoricci2012 at yahoo dot com>
- Date: Thu, 1 Mar 2012 00:49:14 +0000
- Subject: Re: Unable to link to library version of my choice
- Authentication-results: mr.google.com; spf=pass (google.com: domain of jwakely.gcc@gmail.com designates 10.152.162.72 as permitted sender) smtp.mail=jwakely.gcc@gmail.com; dkim=pass header.i=jwakely.gcc@gmail.com
- References: <1330494435.13438.YahooMailClassic@web122402.mail.ne1.yahoo.com> <alpine.DEB.2.02.1202290901120.2617@laptop-mg.saclay.inria.fr> <CAH6eHdQX-LN07SUp=0cMpdce-y9V+99x+h_QK8L0aykyOGVQ4Q@mail.gmail.com> <CAKTLLVQYhj7Rt9BipmzskCvF1qY=8sT0aKX=4aEVM4BP7T3KPA@mail.gmail.com>
On 1 March 2012 00:25, kevin diggs wrote:
>
> If I may ask a follow up question here: ?If I use the -rpath thing to
> point at my library, what happens if it can't find it (it got deleted
> or stolen)? Will the ld.so thingy go try the /usr/lib or /lib one if
> the sonames are ... compatible?
Yes. See the man page for ld.so