[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with -R and external libraries

From: Todd Gamblin
Subject: Re: Problem with -R and external libraries
Date: Fri, 20 Nov 2009 16:14:40 -0800


Have you looked at this yet? I'm looking through the commits and I can't seem to find anything relating to it. It *is* a bug, right?


On Oct 11, 2009, at 4:13 AM, Ralf Wildenhues wrote:

* Todd Gamblin wrote on Thu, Sep 24, 2009 at 09:40:37PM CEST:
I'm having trouble getting -R to work as advertised.  From the
libtool docs:

-R libdir
If output-file is a program, add libdir to its run-time path. If
output-file is a library, add -Rlibdir to its dependency_libs, so
that, whenever the library is linked into a program, libdir will
be added to its run-time path.

However, when I link libraries that were built with -R into
executables, it doesn't look like rpath is getting set properly.

This kooks like a Libtool bug to me.  Especially looking at the output
 make check-local \
      TESTSUITEFLAGS='-k "Runpath in libtool library files" -v -d -x'

I vaguely remember being there before; possibly the obvious fix caused
some other problems, need to look.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]