Ldap Tools Such as ldapadd and ldapsearch Fail With 'Segmentation Fault' or 'ldap_sasl_interactive_bind_s' Error

(Doc ID 370259.1)

Last updated on SEPTEMBER 05, 2017

Applies to:

Oracle Internet Directory - Version 9.0.4 to 11.1.1 [Release 10gR1 to 11g]
Information in this document applies to any platform.


One of the following symptoms may be exhibited:

ldapsearch -h <oidhost> -p <port> -D cn=orcladmin -w <password> -s sub -b "cn=oraclecontext" objectclass=* dn
ld.so.1: ldapsearch: fatal: libldap50.so: open failed: No such file or directory


The issue can be reproduced at will with the following steps:

  1. Do not set any environment variables.
  2. Conduct an ldapsearch. For example:  ldapsearch -h <OID_host> -p <OID_port> -v "cn=<cn name>"
  3. The error is reproduced.


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms