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....
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# libc default configuration | |
#old path | |
#/usr/local/lib | |
#new path | |
/usr/lib |
- Ran following command (to setup correct link and to rebuild the cache)
/sbin/ldconfig -v
Please refer following for more information :
hi Pavithra,
ReplyDeleteI 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