I am following THIS guide to install an ldap server. At step 9 i use:
/usr/local/libexec/slapd
instead of:
su root -c /usr/local/libexec/slapd
since i dont have access to su
I get this message:
/usr/local/libexec/slapd: error while loading shared libraries: libdb-6.0.so: cannot open shared object file: No such file or directory
when i try: ldd /usr/local/libexec/slapd
I Get:
/usr/local/libexec/slapd linux-vdso.so.1 => (0x00007fffe01ff000)
libdb-5.3.so => /usr/local/BerkeleyDB.6.0/lib/libdb-6.0.so (0x00007fe2f743e000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x0000003fd1400000)
libresolv.so.2 => /lib64/libresolv.so.2 (0x0000003fd2c00000)
libc.so.6 => /lib64/libc.so.6 (0x0000003fd0c00000) /lib64/ld-linux-x86-64.so.2 (0x000 fe2f743e000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x0000003fd1400000) libr
esolv.so.2 => /lib64/libresolv.so.2 (0x0000003fd2c00000)
libc.so.6 => /lib64/lib
Can anyone see a problem with this?
Best Answer
Verify that the
/usr/local/BerkeleyDB.6.0/lib/libdb-6.0.so
file exists and is readable by your account. If that is the case, try setting theLD_LIBRARY_PATH
variable to include that directory:Then try running the
slapd
executable again.