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

Re: More Install Help

On Wednesday, October 22, 2003, at 08:24 AM, Gerald (Jerry) Carter wrote:

I've seen this on Linux platforms  when slapd couldn't
find the db-4.1 libs.  Check this with 'ldd servers/slapd/slapd'
and either define LD_LIBRARY_PATH or add the db4 lib dircetory
to /etc/ld.so.conf (if you are on linux....I don't remember
your original messages).

You know, I was about to post this suggestion and checked my own binaries, and realized that ldd on my slapd binary no longer shows the Berkeley DB or Kerberos libs for my 2.1.x builds. Here's the output for slapd (2.1.23):

        libsasl2.so.2 => /usr/local/lib/libsasl2.so.2 (0x40018000)
        libssl.so.2 => /lib/libssl.so.2 (0x40037000)
        libcrypto.so.2 => /lib/libcrypto.so.2 (0x40064000)
        libcrypt.so.1 => /lib/libcrypt.so.1 (0x40128000)
        libresolv.so.2 => /lib/libresolv.so.2 (0x40155000)
        libdl.so.2 => /lib/libdl.so.2 (0x40167000)
        libnsl.so.1 => /lib/libnsl.so.1 (0x4016c000)
        libpthread.so.0 => /lib/i686/libpthread.so.0 (0x40182000)
        libc.so.6 => /lib/i686/libc.so.6 (0x401b3000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

For 2.0.27 (on another box) I get:

libdb-4.0.so => /usr/local/BerkeleyDB.4.0/lib/libdb-4.0.so (0x40013000)
libsasl.so.7 => /usr/local/lib/libsasl.so.7 (0x400a0000)
libkrb4.so.2 => /usr/kerberos/lib/libkrb4.so.2 (0x400b3000)
libdes425.so.3 => /usr/kerberos/lib/libdes425.so.3 (0x400c7000)
libkrb5.so.3 => /usr/kerberos/lib/libkrb5.so.3 (0x400cb000)
libk5crypto.so.3 => /usr/kerberos/lib/libk5crypto.so.3 (0x40122000)
libcom_err.so.3 => /usr/kerberos/lib/libcom_err.so.3 (0x40132000)
libssl.so.0.9.6 => /usr/lib/libssl.so.0.9.6 (0x40135000)
libcrypto.so.0.9.6 => /usr/lib/libcrypto.so.0.9.6 (0x40162000)
libcrypt.so.1 => /lib/libcrypt.so.1 (0x40219000)
libnsl.so.1 => /lib/libnsl.so.1 (0x40246000)
libresolv.so.2 => /lib/libresolv.so.2 (0x4025a000)
libdl.so.2 => /lib/libdl.so.2 (0x4026a000)
libpthread.so.0 => /lib/libpthread.so.0 (0x4026e000)
libc.so.6 => /lib/libc.so.6 (0x40283000)
libpam.so.0 => /lib/libpam.so.0 (0x403aa000)
libgssapi_krb5.so.2 => /usr/kerberos/lib/libgssapi_krb5.so.2 (0x403b2000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Did something change in the config defaults from 2.0 to 2.1 (or at some point between 2.0.27 and 2.1.22) to prefer static linking for these libraries?