SAP Knowledge Base Article - Preview

3691667 - Unable to load LDAP dynamic library libsybaseldap64.so.2.5.19_ccl - SAP ASE

Symptom

  • ASE errorlog shows message 

    Unable to load LDAP dynamic library: '/path/to/ASE/OCS-16_1/lib3p64/libsybaseldap64.so.2.5.19_ccl'

  • This is seen

    • when configuring LDAP
      • the 'Unable to load LDAP dynamic library' message is printed to the log
      • and error 5850 is returned to the client:

        sp_configure 'enable ldap user auth', 1

        Msg 5850, Level 16, State 2:
        Server 'ASE', Procedure 'sp_configure', Line 1227:
        Notification failed for parameter 'enable ldap user auth'.

    • when running sp_ldapadmin commands
      • the 'Unable to load LDAP dynamic library' message is printed to the log
      • and error 16018 is returned to the client, for example

        sp_ldapadmin set_primary_url,'ldap://mydomainhostname:389/'

        Msg 16018, Level 16, State 1:
        Server 'ASE', Procedure 'sp_ldapadmin', Line 478:
        The operation cannot be completed because LDAP user authentication has not been initialized.

    • On start-up
      • the 'Unable to load LDAP dynamic library' is printed to the log
      • following message:

        Either the config parameter 'use security services' is set to 0, or ASE does not support use of external security mechanisms on this platform. The external security mechanisms will not be supported.

      • it is still seen even after enabling 'use security services'


  • A check with ldd on the problem lib libsybaseldap64.so.2.5.19_ccl shows missing dependency on a libnsl lib:

    /usr/bin/ldd ./libsybaseldap64.so.2.5.19_ccl

            linux-vdso.so.1 (0x00007ffc089a3000)
            libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f96ebc9e000)
            libresolv.so.2 => /lib64/libresolv.so.2 (0x00007f96ebc8a000)
            libnsl.so.2 => not found


Read more...

Environment

  • SAP Adaptive Server Enterprise (ASE)
    • 16.0 SP04
    • 16.1
  • OS
    • Red Hat 9.x
    • SuSE 15.6 and above

Product

SAP Adaptive Server Enterprise 16.0 ; SAP Adaptive Server Enterprise 16.1

Keywords

ldap user authentication, enable ldap user auth, libsybaseldap64.so, libnsl.so.2 missing, kernel log error, msg 5850, database platform 16.1 sp00 pl01, ldap dynamic library, symbolic link, rhel 9, ase error log, ldap setup failure , KBA , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.