Re: BUG #17083: [PATCH] PostgreSQL fails to build with OpenLDAP 2.5.x

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #17083: [PATCH] PostgreSQL fails to build with OpenLDAP 2.5.x
Дата
Msg-id 1666182.1625579201@sss.pgh.pa.us
обсуждение исходный текст
Ответ на BUG #17083: [PATCH] PostgreSQL fails to build with OpenLDAP 2.5.x  (PG Bug reporting form <noreply@postgresql.org>)
Ответы Re: BUG #17083: [PATCH] PostgreSQL fails to build with OpenLDAP 2.5.x  (Adrian Ho <ml+postgresql@03s.net>)
Список pgsql-bugs
PG Bug reporting form <noreply@postgresql.org> writes:
> OpenLDAP 2.5 merged the `ldap_r` and `ldap` libraries, so all per-handle
> routines are now thread-safe by default.

Hm, does 2.5 exist in the wild yet?  I checked Fedora rawhide, which
is my usual go-to platform for bleeding-edge stuff, but they are still
at 2.4.58.

As for the patch itself, I'm wondering about

+      LDAP_LIBS_FE="${ac_lib:+-l}$ac_lib $EXTRA_LDAP_LIBS"

That seems undesirably intimate with the implementation details
of AC_SEARCH_LIBS.  Surely there's a better way?

            regards, tom lane



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

Предыдущее
От: PG Bug reporting form
Дата:
Сообщение: BUG #17083: [PATCH] PostgreSQL fails to build with OpenLDAP 2.5.x
Следующее
От: Adrian Ho
Дата:
Сообщение: Re: BUG #17083: [PATCH] PostgreSQL fails to build with OpenLDAP 2.5.x