Re: [HACKERS] Fix linking of OpenLDAP libraries

Поиск
Список
Период
Сортировка
От Albe Laurenz
Тема Re: [HACKERS] Fix linking of OpenLDAP libraries
Дата
Msg-id 52EF20B2E3209443BC37736D00C3C1380A48EFC6@EXADV1.host.magwien.gv.at
обсуждение исходный текст
Ответы Re: [HACKERS] Fix linking of OpenLDAP libraries  (Martijn van Oosterhout <kleptog@svana.org>)
Re: [HACKERS] Fix linking of OpenLDAP libraries  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-patches
Tom Lane wrote:
>> Here is a new patch that replaces the previous one; it adds two
>> macros LDAP_LIBS_FE and LDAP_LIBS_BE for frontend and backend,
>> respectively.
>
>> I did not only add them to the Makefile for interfaces/libpq,
>> but also everywhere something is linked against libpq in case
>> somebody links static.
>
> Applied, but without that last part.  It builds OK for me on Darwin,
> which is moderately picky about that sort of thing, but someone should
> try AIX.

It builds fine on AIX 5.3 as long as you tell it to link with
libpq.so. Static builds against libpq.a will fail.

Should -lldap or -lldap_r be added to pg_config --libs?
If yes, which of them?

Yours,
Laurenz Albe

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

Предыдущее
От: "Albe Laurenz"
Дата:
Сообщение: Re: [HACKERS] Fix linking of OpenLDAP libraries
Следующее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: [HACKERS] Fix linking of OpenLDAP libraries