Tuesday, July 16, 2013

Error when starting OpenLDAP

If you encounter following error when starting openldap...


Starting OpenLDAP: slapd - failed: 
/usr/sbin/slapd: /usr/local/lib/libldap_r-2.4.so.2: no version information available (required by /usr/sbin/slapd)
/usr/sbin/slapd: /usr/local/lib/liblber-2.4.so.2: no version information available (required by /usr/sbin/slapd)
/usr/sbin/slapd: relocation error: /usr/sbin/slapd: symbol ldap_pvt_sasl_mutex_dispose, version OPENLDAP_2.4_2 not defined in file libldap_r-2.4.so.2 with link time reference

solution is....

  • Changed the path for /etc/ld.so.conf.d/libc.conf

  • Ran following command (to setup correct link and to rebuild the cache)
/sbin/ldconfig -v


Please refer following for more information :




1 comment:

  1. hi Pavithra,

    I am running into same error for version of openladp 2.4.39. I dont see the file libc.conf. Should I change some other file in this version.
    Please help!

    Regards,
    Vidya

    ReplyDelete