Gen 8.6 Solaris 11.4 runtime error "libldap.so.5: open failed"
search cancel

Gen 8.6 Solaris 11.4 runtime error "libldap.so.5: open failed"

book

Article ID: 274188

calendar_today

Updated On:

Products

Gen - Workstation Toolset Gen Gen - Host Encyclopedia Gen - Run Time Distributed

Issue/Introduction

Recently upgraded the Gen Application Server from Solaris 11.3 to 11.4.    Now started to get Gen code failures looking for shared libraries that appear to have been withdrawn at Solaris 11.4.  One example (of many) is an LDAP library ‘libldap.so.5’.  The error reported is:

  • ld.so.1: LN5200B: fatal: libldap.so.5: open failed: No such file or directory

In Solaris 11.3 it appears this library exists but not in 11.4:

  • /usr/lib/libldap.so.5 and
  • /usr/lib/sparcv9/libldap.so.5

 

Environment

Release : 8.6

Resolution

In researching Oracle Solaris, found the following 'end of feature notice'  for Solaris 11.3 and 11.4.  On 11.4 it does show libldap.so.4 as one of the libraries no longer available.  Upon further review we see that It appears that Solaris has deprecated/removed the system's LDAP library and has indicated that the replacement is OpenLDAP in Solaris 11.4. 

Here is that link for reference: 

https://www.oracle.com/solaris/technologies/end-of-feature-notices-solaris11.html#11_4 

In Gen, we created a new version of library libabrt.so as we discovered that this library was linked to libldap.so, and that libldap.so is no longer needed. This new version is not linked to libldap.so.  This was created within PTF:   RTL86305/LU11602 

Note - Need to apply ALL available PTFs, including this one containing the new version of libabrt.so indicated to prevent errors.