Re: unixware and --with-ldap - Mailing list pgsql-hackers

From Albe Laurenz
Subject Re: unixware and --with-ldap
Date
Msg-id 52EF20B2E3209443BC37736D00C3C1380BE79FCB@EXADV1.host.magwien.gv.at
Whole thread Raw
In response to unixware and --with-ldap  (ohp@pyrenet.fr)
List pgsql-hackers
Martijn van Oosterhout wrote:
>> I guess that adding $EXTRA_LDAP_LIBS to -lldap_r will be enough,
>> judging from the evidence on Linux.
>
> Linux doesn't need the extra libraries, it's linked properly.

Yes - what I mean is, libldap_r.so references only NEEDED      libsasl.so.7 NEEDED      libssl.so.4 NEEDED
libcrypto.so.4NEEDED      liblber.so.2 NEEDED      libc.so.6 
on my RedHat ES 3 Linux system (use objdump),
so I _GUESS_ that linking with $EXTRA_LDAP_LIBS might be
sufficient in the Unixware case.

> Additionally, on Linux there is no difference between ldap and ldap_r,
> they're the same file (at least here).
>
> $ ls -l /usr/lib/libldap.so.2
> lrwxrwxrwx 1 root root    14 2005-06-09 10:42 /usr/lib/libldap.so.2 ->
libldap_r.so.2

Not here:

-rwxr-xr-x    1 root     root       183752 Mar  2  2006
/usr/lib/libldap_r.so.2.0.17
-rwxr-xr-x    1 root     root       172500 Mar  2  2006
/usr/lib/libldap.so.2.0.17

(from RPM openldap-2.0.27-22 on RHES 3 x86).

> Just make sure you don't add unnecessary dependancies for platforms
> other than unixware.

IIRC, there will only be additions to Makefile.unixware

Yours,
Laurenz Albe


pgsql-hackers by date:

Previous
From: Florian Weimer
Date:
Subject: Re: [PERFORM] EXPLAIN ANALYZE on 8.2
Next
From: Peter Eisentraut
Date:
Subject: Re: [PERFORM] EXPLAIN ANALYZE on 8.2