[Date Prev][Date Next] [Chronological] [Thread] [Top]

(ITS#3776) libltdl is now linked by default

Full_Name: Quanah Gibson-Mount
Version: 2.3.4
OS: Solaris 8
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (

The new 2.3.4 version of OpenLDAP automatically picks up and links slapd against
the shared version of libltdl even though I'm building my modules (backends &
overlays) statically inside of slapd.  This is a very new and changed behavior
(and breaks my builds), since libltdl is not in the run path for slapd once it
is built (nor do I want it to be).

ldap-dev0:/usr/local/stow/openldap-2.3.4/lib# ldd slapd
        liblrewrite-2.3.so.0 =>  /usr/local/lib/liblrewrite-2.3.so.0
        libldap_r-2.3.so.0 =>    /usr/local/lib/libldap_r-2.3.so.0
        liblber-2.3.so.0 =>      /usr/local/lib/liblber-2.3.so.0
        libdb-4.2.so =>  /usr/local/lib/libdb-4.2.so
        libsasl2.so.2 =>         /usr/local/lib/libsasl2.so.2
        libssl.so.0.9.7 =>       /usr/local/lib/libssl.so.0.9.7
        libcrypto.so.0.9.7 =>    /usr/local/lib/libcrypto.so.0.9.7
        libresolv.so.2 =>        /usr/lib/libresolv.so.2
        libgen.so.1 =>   /usr/lib/libgen.so.1
        libnsl.so.1 =>   /usr/lib/libnsl.so.1
        libsocket.so.1 =>        /usr/lib/libsocket.so.1
        libltdl.so.3 =>  (file not found)
        libpthread.so.1 =>       /usr/lib/libpthread.so.1
        libc.so.1 =>     /usr/lib/libc.so.1
        libgcc_s.so.1 =>         /usr/local/lib/libgcc_s.so.1
        libdl.so.1 =>    /usr/lib/libdl.so.1
        libmp.so.2 =>    /usr/lib/libmp.so.2
        libthread.so.1 =>        /usr/lib/lwp/libthread.so.1  (alternate)