Re: unixware and --with-ldap

From: ohp(at)pyrenet(dot)fr
To: Albe Laurenz <all(at)adv(dot)magwien(dot)gv(dot)at>
Cc: 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-13 18:50:38
Message-ID: Pine.UW2.4.53.0612131948570.5750@sun.pyrenet
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, 12 Dec 2006, Albe Laurenz wrote:

> Date: Tue, 12 Dec 2006 16:42:50 +0100
> 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: [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(at)pyrenet(dot)fr
------------------------------------------------------------------------------
Make your life a dream, make your dream a reality. (St Exupery)

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message ohp 2006-12-13 18:52:43 Re: unixware and --with-ldap
Previous Message Tom Lane 2006-12-13 16:52:17 Re: A question about ExplainOnePlan()