Re: LD_LIBRARY_PATH versus rpath
От | Greg Stark |
---|---|
Тема | Re: LD_LIBRARY_PATH versus rpath |
Дата | |
Msg-id | w2o407d949e1005060320ta4b0002bv7de907c377a58f0@mail.gmail.com обсуждение исходный текст |
Ответ на | LD_LIBRARY_PATH versus rpath (Tom Lane <tgl@sss.pgh.pa.us>) |
Ответы |
Re: LD_LIBRARY_PATH versus rpath
Re: LD_LIBRARY_PATH versus rpath |
Список | 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 по дате отправления: