On Tue, 12 Dec 2006, Albe Laurenz wrote:
> Date: Tue, 12 Dec 2006 16:42:50 +0100
> From: Albe Laurenz <all@adv.magwien.gv.at>
> To: ohp@pyrenet.fr, pgsql-hackers list <pgsql-hackers@postgresql.org>,
> tgl@sss.pgh.pa.us
> Subject: RE: [HACKERS] unixware and --with-ldap
>
> 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?
No
>
> Or do shared libraries on Unixware generally 'not remember'
> the libraries they were linked against (this would be strange).
>
Hmm Somtimes
> Or was libldap not linked against liblber and libresolv?
>
Dunno!
Did'nt do it myself, it comes with the system
> 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
>
--
Olivier PRENANT Tel: +33-5-61-50-97-00 (Work)
15, Chemin des Monges +33-5-61-50-97-01 (Fax)
31190 AUTERIVE +33-6-07-63-80-64 (GSM)
FRANCE Email: ohp@pyrenet.fr
------------------------------------------------------------------------------
Make your life a dream, make your dream a reality. (St Exupery)