[Ilugc] about ldap

  • From: linux@xxxxxxxxxxxxxxxx (Suresh Ramasubramanian)
  • Date: Mon Jul 12 09:30:17 2004

T.K.Venu Gopal wrote:

hello all

When I try to start slapd i get the following printout 


[root@fully libexec]# pwd
/usr/local/libexec

[root@fully libexec]# /usr/local/libexec/slapd -f
/usr/local/etc/openldap/slapd.conf
/usr/local/libexec/slapd: error while loading shared libraries:
libdb-4.2.so: cannot open shared object file: No such file or directory

but my libdb-4.2.so is under
/usr/local/lib/libdb-4.2.so

cat /etc/ld.so.conf

See if /usr/local/lib/ is in there

If not, add it and run ldconfig

        srs

Other related posts: