Re: unixware and --with-ldap

From: "Albe Laurenz" <all(at)adv(dot)magwien(dot)gv(dot)at>
To: <ohp(at)pyrenet(dot)fr>, "pgsql-hackers list" <pgsql-hackers(at)postgresql(dot)org>, <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Subject: Re: unixware and --with-ldap
Date: 2006-12-12 15:42:50
Message-ID: 52EF20B2E3209443BC37736D00C3C1380BDBB3DA@EXADV1.host.magwien.gv.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Josh Berkus 2006-12-12 15:47:37 Ottawa PGCon needs a program committee
Previous Message Kevin Grittner 2006-12-12 15:35:26 Re: coalesce and aggregate functions