Re: LD_LIBRARY_PATH versus rpath - Mailing list pgsql-hackers

From Greg Stark
Subject Re: LD_LIBRARY_PATH versus rpath
Date
Msg-id w2o407d949e1005060320ta4b0002bv7de907c377a58f0@mail.gmail.com
Whole thread Raw
In response to LD_LIBRARY_PATH versus rpath  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: LD_LIBRARY_PATH versus rpath
Re: LD_LIBRARY_PATH versus rpath
List pgsql-hackers
On Thu, May 6, 2010 at 12:20 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Now, pg_regress tries to ensure that the temporary installation
> will work as desired by setting LD_LIBRARY_PATH to point at the
> temp installation's lib/ directory.  However, the psql executable
> will by default get built with a DT_RPATH entry pointing at the
> intended final installation lib/.  And DT_RPATH overrides
> LD_LIBRARY_PATH, in the Linux dynamic loader.  man ld.so says:
>

We only set RPATH if the install location isn't part of the default ld
library path specified by /etc/ld.so.conf right? Setting it if it is
in the default path would be antisocial.

--
greg


pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: max_standby_delay considered harmful
Next
From: Andres Freund
Date:
Subject: Re: max_standby_delay considered harmful