bug-libtool
[Top][All Lists]
Advanced

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

Re: RFE: allow $ORIGIN in the run-path


From: Laszlo PETER
Subject: Re: RFE: allow $ORIGIN in the run-path
Date: Mon, 14 May 2001 11:41:57 +0100

Alexandre Oliva wrote:
> 
> On May 10, 2001, Laszlo PETER <address@hidden> wrote:
> 
> > So for example a package that installs its shared libraries
> > into <prefix>/lib and the executables into <prefix>/bin could
> > use '$ORIGIN/../lib' in the run-path.
> 
> The major issue I have with $ORIGIN is that I'm sure lots of packages
> may end up using '-R $ORIGIN/../lib', but then, when I specify
> --bindir and --libdir at configure time such that $libdir is not
> accessible as $bindir/../lib, things may not work properly.  Of
> course, libtool will keep on adding the installation rpath of the
> library to the executable's search path, so it will work as long as
> you don't move it.

Hi,

I agree, things will go very wrong if your run-path does not match your
actual directory structure. The nice solution would be to produce this
string dynamically from $bindir and $libdir when using $ORIGIN.
It's not a trivial change though.
On the other hand, using $ORIGIN is not the default behaviour. Only
the advanced users will use it, so it would be nice to let them do
so, supposing they know what they are doing (-;

Laca



reply via email to

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