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 ---------------------------(end of broadcast)--------------------------- TIP 3: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faq