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