Re: LD_LIBRARY_PATH_RPATH

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: LD_LIBRARY_PATH_RPATH
Дата
Msg-id 13749.1548996768@sss.pgh.pa.us
обсуждение исходный текст
Ответ на LD_LIBRARY_PATH_RPATH  (Andrew Gierth <andrew@tao11.riddles.org.uk>)
Ответы Re: LD_LIBRARY_PATH_RPATH  (Andrew Gierth <andrew@tao11.riddles.org.uk>)
Re: LD_LIBRARY_PATH_RPATH  (Andrew Gierth <andrew@tao11.riddles.org.uk>)
Список pgsql-hackers
Andrew Gierth <andrew@tao11.riddles.org.uk> writes:
> At least on my FreeBSD 11 box, the current definition of
> $(with_temp_install) is not sufficient to ensure that the various .so
> files are loaded from tmp_install and not from the compiled rpath (which
> will be the final install dir, which may of course contain old
> libraries).

> LD_LIBRARY_PATH_RPATH=1 fixes this (by giving LD_LIBRARY_PATH priority
> over the DT_RPATH tag in the object).

> Is this also an issue on any other platforms?

Hm.  Can't reproduce that on current NetBSD or macOS; don't have
OpenBSD booted up to try right now.

However, if it helps on some platforms, I can't see much harm in
adding it in the relevant places.  It should be a no-op everywhere
else.

            regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [PATCH] Pass COPT and PROFILE to CXXFLAGS as well
Следующее
От: "Tsunakawa, Takayuki"
Дата:
Сообщение: RE: reloption to prevent VACUUM from truncating empty pages at theend of relation