Re: unixware and --with-ldap

Поиск
Список
Период
Сортировка
От Albe Laurenz
Тема Re: unixware and --with-ldap
Дата
Msg-id 52EF20B2E3209443BC37736D00C3C1380BDBB3DA@EXADV1.host.magwien.gv.at
обсуждение исходный текст
Ответ на unixware and --with-ldap  (ohp@pyrenet.fr)
Ответы Re: unixware and --with-ldap  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: unixware and --with-ldap  (Martijn van Oosterhout <kleptog@svana.org>)
Re: unixware and --with-ldap  (ohp@pyrenet.fr)
Список pgsql-hackers
Olivier PRENANT wrote:

> When I swithed to the newest version og pgbuildfarm, I noticed that
> --with-ldap (now by defaut) didn't work on UnixWare.
>
> This is because, on Unixware, ldap needs lber and resolv.

Is libldap a static library on that system?

Or do shared libraries on Unixware generally 'not remember'
the libraries they were linked against (this would be strange).

Or was libldap not linked against liblber and libresolv?

Tom Lane suggested to change configure.in like this:

>       AC_CHECK_LIB(ldap_r, ldap_simple_bind, [$EXTRA_LDAP_LIBS],
>            [AC_MSG_ERROR([library 'ldap_r' is required for
LDAP])],
>            [$PTHREAD_LIBS])

Shouldn't that be
     AC_CHECK_LIB(ldap_r, ldap_simple_bind, [],       [AC_MSG_ERROR([library 'ldap_r' is required for
LDAP])],       [$PTHREAD_LIBS $EXTRA_LDAP_LIBS])

Yours,
Laurenz Albe


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

Предыдущее
От: "Kevin Grittner"
Дата:
Сообщение: Re: coalesce and aggregate functions
Следующее
От: Josh Berkus
Дата:
Сообщение: Ottawa PGCon needs a program committee