[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problem with -R and external libraries
From: |
Ralf Wildenhues |
Subject: |
Re: Problem with -R and external libraries |
Date: |
Sun, 11 Oct 2009 13:13:40 +0200 |
User-agent: |
Mutt/1.5.20 (2009-08-09) |
* 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
of
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.
Thanks,
Ralf