From: | Greg Stark <gsstark(at)mit(dot)edu> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | pgsql-hackers(at)postgresql(dot)org, Andy Colson <andy(at)squeakycode(dot)net> |
Subject: | Re: LD_LIBRARY_PATH versus rpath |
Date: | 2010-05-06 10:20:08 |
Message-ID: | w2o407d949e1005060320ta4b0002bv7de907c377a58f0@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Thu, May 6, 2010 at 12:20 AM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | Andres Freund | 2010-05-06 10:23:21 | Re: max_standby_delay considered harmful |
Previous Message | Robert Haas | 2010-05-06 10:18:22 | Re: max_standby_delay considered harmful |