From: | "Albe Laurenz" <all(at)adv(dot)magwien(dot)gv(dot)at> |
---|---|
To: | "Martijn van Oosterhout" <kleptog(at)svana(dot)org> |
Cc: | <ohp(at)pyrenet(dot)fr>, "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "pgsql-hackers list" <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: unixware and --with-ldap |
Date: | 2006-12-15 12:47:19 |
Message-ID: | 52EF20B2E3209443BC37736D00C3C1380BE79FCB@EXADV1.host.magwien.gv.at |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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.4
NEEDED 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
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Eisentraut | 2006-12-15 13:06:55 | Re: [PERFORM] EXPLAIN ANALYZE on 8.2 |
Previous Message | Florian Weimer | 2006-12-15 12:32:20 | Re: [HACKERS] EXPLAIN ANALYZE on 8.2 |