[csw-users] OpenLDAP -- Unrecognized database type (bdb)
Robert Banniza
robert at rootprompt.net
Mon Nov 22 20:53:09 CET 2004
*This message was transferred with a trial version of CommuniGate(tm) Pro*
Hello,
I'm currently using Solaris 9 and have installed openldap-2.1.22 and all
dependencies including Berkeleydb4. When I try and start OpenLDAP, I get the
following error:
Unrecognized database type (bdb)
I have performed a 'ldd' and everything looks fine:
[root at testmachine:~]$ ldd /opt/csw/libexec/slapd
libldap_r.so.2 => /opt/csw/lib/libldap_r.so.2
liblber.so.2 => /opt/csw/lib/liblber.so.2
libdb-4.1.so => /opt/csw/bdb4/lib/libdb-4.1.so
libsasl2.so.2 => /opt/csw/lib/libsasl2.so.2
libssl.so.0.9.7 => /opt/csw/lib/libssl.so.0.9.7
libcrypto.so.0.9.7 => /opt/csw/lib/libcrypto.so.0.9.7
libresolv.so.2 => /lib/libresolv.so.2
libgen.so.1 => /lib/libgen.so.1
libnsl.so.1 => /lib/libnsl.so.1
libsocket.so.1 => /lib/libsocket.so.1
libpthread.so.1 => /lib/libpthread.so.1
libltdl.so.3 => /opt/csw/lib/libltdl.so.3
libdl.so.1 => /lib/libdl.so.1
libc.so.1 => /lib/libc.so.1
libmp.so.2 => /lib/libmp.so.2
libthread.so.1 => /lib/libthread.so.1
/usr/platform/SUNW,UltraAX-i2/lib/libc_psr.so.1
I have tried setting $LD_LIBRARY_PATH to LD_LIBRARY_PATH=/opt/csw/bdb4/lib:/
opt/csw/lib to no avail. and have also tried unsetting LD_LIBRARY_PATH to no
avail. I have even gone a step further by setting he library path through the
use of 'crle'. What am I doing wrong here? Why can't openldap find the
appropriate Berkeley libs/understand what db version to use? What else am I
missing? Any information appreciated.
Robert
P.S. I have tried using truss to determine the issue as well as setting '-d
1068' when running slapd.
More information about the users
mailing list