bug-gnu-utils
[Top][All Lists]
Advanced

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

Re: remove /usr/local/lib from rpath


From: Bruno Haible
Subject: Re: remove /usr/local/lib from rpath
Date: Wed, 11 Jun 2008 00:09:50 +0200
User-agent: KMail/1.5.4

Scott Lambdin wrote:
> But it isn't a solution for me.   I need rpath in the libintl.so but can't
> have an arbitrary path ahead of the path I need in there.

Now, you should be able to control this through LDFLAGS or LD_RUN_PATH during 
the
build:

  $ unset LD_LIBRARY_PATH
  $ export LDFLAGS="-R/edi/lib"    or export LDFLAGS="-R/edi/lib 
-R/usr/local/lib"
  $ ./configure --disable-rpath

or possibly

  $ unset LD_LIBRARY_PATH
  $ export LD_RUN_PATH="/edi/lib"    or export 
LD_RUN_PATH="/edi/lib:/usr/local/lib"
  $ ./configure --disable-rpath

Hope this helps.

Bruno





reply via email to

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