Re: [PATCHES] Linking on AIX (Was: Fix linking of OpenLDAP libraries )

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [PATCHES] Linking on AIX (Was: Fix linking of OpenLDAP libraries )
Дата
Msg-id 18130.1158185894@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [PATCHES] Linking on AIX (Was: Fix linking of OpenLDAP libraries )  ("Albe Laurenz" <all@adv.magwien.gv.at>)
Список pgsql-hackers
"Albe Laurenz" <all@adv.magwien.gv.at> writes:
>> The patch did not work for me :-(

> Is libpq.so in a non-standard directory? If yes, one either
> has to export LIBPATH in the environment or link with
> -L/location/of/libpq for the executable to find it
> (similar to RPATH in Linux).

libpq will definitely be in a nonstandard directory in buildfarm usage.
It sounds like we should add the local equivalent of RPATH for AIX.

Now I'm pretty dubious that -L is what we want --- -L should have the
semantics of "this is where to find the library right now".  RPATH is
used to point to an expected installation directory that might not
contain the library at the time of linking ... or worse, might contain
an old incompatible version of it.  Does AIX have a true RPATH
equivalent?
        regards, tom lane


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

Предыдущее
От: Joshua Reich
Дата:
Сообщение: Re: Optimizer improvements: to do or not to do?
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: Patch attribution and non-ASCII characters