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

openldap-2.1.1beta and libraries: linking problem



I'm building openldap-2.1.1beta on linux with:
sasl-1.5.27
krb5-1.2.5
openssl-0.9.6c
glibc-2.2.4
libtool-1.4.2
autoconf-2.53
gcc-2.95.4

It compiles, but the resulting libldap library (and probably others too) has not
been linked correctly, it shows up as linked only against glibc:
$ ldd /usr/lib/libldap.so.2.0.101 
        libc.so.6 => /lib/libc.so.6 (0x4004a000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)

The libldap.la file built in libraries/libldap has an empty "dependency"
line.

openldap-2.0.23 builds and runs just fine:
$ ldd /usr/lib/libldap.so.2.0.15 
        libsasl.so.7 => /usr/lib/libsasl.so.7 (0x40047000)
        libkrb4.so.2 => /usr/lib/krb5/libkrb4.so.2 (0x40053000)
        libdes425.so.3 => /usr/lib/krb5/libdes425.so.3 (0x4006b000)
        libkrb5.so.3 => /usr/lib/krb5/libkrb5.so.3 (0x40071000)
        libk5crypto.so.3 => /usr/lib/krb5/libk5crypto.so.3 (0x400dd000)
        libcom_err.so.3 => /usr/lib/krb5/libcom_err.so.3 (0x400f8000)
        libssl.so.0.9.6 => /usr/lib/libssl.so.0.9.6 (0x400fa000)
        libcrypto.so.0.9.6 => /usr/lib/libcrypto.so.0.9.6 (0x40128000)
        libc.so.6 => /lib/libc.so.6 (0x401e1000)
        libdb-3.1.so => /lib/libdb-3.1.so (0x40308000)
        libdl.so.2 => /lib/libdl.so.2 (0x40383000)
        libcrypt.so.1 => /lib/libcrypt.so.1 (0x40387000)
        libpam.so.0 => /lib/libpam.so.0 (0x403b5000)
        libgssapi_krb5.so.2 => /usr/lib/krb5/libgssapi_krb5.so.2 (0x403bd000)
        libdb.so.3 => /usr/lib/libdb.so.3 (0x403d3000)
        libresolv.so.2 => /lib/libresolv.so.2 (0x40410000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)

I already tried running a libtoolize --copy --force before ./configure, but
this behaviour remains. Could be a bug with libtool, I really don't know.
Has anybody else ran into this problem?