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

library links...



so i got this error that most likely means the library linking somewhere is busted..

log says

needlefish slapd[19859]: [ID 702911 auth.error] unable to dlopen /usr/depot-local/SunOS_5.8_sparc/cyrus-sasl/2.1.18/lib/sasl2/libsasldb.so.2: ld.so.1: /usr/depot-local/SunOS_5.8_sparc/openldap/current/libexec/slapd: fatal: libdb-4.2.so: open failed: No such file or directory


ldd shows

 ldd /usr/depot-local/SunOS_5.8_sparc/cyrus-sasl/2.1.18/lib/sasl2/libsasldb.so.2
        libresolv.so.2 =>        /usr/lib/libresolv.so.2
        libsocket.so.1 =>        /usr/lib/libsocket.so.1
        libdb-4.2.so =>  (file not found)
        libc.so.1 =>     /usr/lib/libc.so.1
        libnsl.so.1 =>   /usr/lib/libnsl.so.1
        libdl.so.1 =>    /usr/lib/libdl.so.1
        libmp.so.2 =>    /usr/lib/libmp.so.2
        /usr/platform/SUNW,Ultra-5_10/lib/libc_psr.so.1

so clearly it shows that the libdb-4.2.so is not found..and hence the fail..right?

but my question is..if it says not found..how did i compile the openldap without errors?