libtool
[Top][All Lists]
Advanced

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

Re: [rfc] keep LD_LIBRARY_PATH from tromping on libtool wrapped files


From: Mike Frysinger
Subject: Re: [rfc] keep LD_LIBRARY_PATH from tromping on libtool wrapped files
Date: Thu, 15 Sep 2005 18:34:01 -0400
User-agent: KMail/1.8.2

On Thursday 15 September 2005 12:59 pm, Albert Chin wrote:
> On Wed, Sep 14, 2005 at 11:50:05PM -0400, Mike Frysinger wrote:
> > On Wednesday 14 September 2005 11:36 pm, Albert Chin wrote:
> > > If gcc/ld was used to build the new 'file' program, they would
> > > have the same error as that generated by libtool. Shouldn't
> > > libtool then try to mimic this behavior, not "correct" it?
> >
> > not sure what you mean by this.  the wrapped 'file' program
> > (src/file) is a libtool script whose purpose is to make sure that
> > you can execute the wrapped program until all dependent libraries
> > are installed into the normal library search path.  since libtool
> > already goes to lengths to make sure that the wrapped program finds
> > and uses the local build libraries (src/.libs/), why not this one
> > more sanity check ?
>
> If the new 'file' program was installed, the user would have the same
> problem. The wrapper script should simply run the program "as if" it
> was installed.

if it were installed, it would be installed with both the new 'file' program 
and the new libmagic.so.1 and everything would work properly.
-mike




reply via email to

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