5 Replies Latest reply: Nov 4, 2012 8:44 PM by 972065 RSS

    Error loading native library:libldapjclnt10.so - dbca

    user10674190
      Hi all.

      I have a problem when I try to run dbca on AIX:

      #:/dhl/dbms/oracle/product/10.2.0/db_1/bin>env|grep LIB
      LD_LIBRARY=/dhl/dbms/oracle/product/10.2.0/db_1/lib:/usr/lib:/lib
      LD_LIBRARY_PATH=/dhl/dbms/oracle/product/10.2.0/db_1/lib32:/dhl/dbms/oracle/product/10.2.0/db_1/lib:/lib:/usr/lib:/usr/local/lib

      #:/dhl/dbms/oracle/product/10.2.0/db_1/bin>env|grep ORA
      ORACLE_SID=ctivdes
      PS1=$ORACLE_SID:$PWD>
      ORA_NLS=/dhl/dbms/oracle/product/10.2.0/db_1/ocommon/nls/admin/data
      ORACLE_NLS=/dhl/dbms/oracle/product/10.2.0/db_1/ocommon/nls/admin/data
      ORACLE_HOME=/dhl/dbms/oracle/product/10.2.0/db_1

      #:/dhl/dbms/oracle/product/10.2.0/db_1/bin>./dbca
      Error loading native library:libldapjclnt10.so
      Exception in thread "main" java.lang.UnsatisfiedLinkError: ldapDiscover
      at oracle.ldap.util.discovery.DiscoveryHelper.discover(DiscoveryHelper.java:254)
      at oracle.net.config.Config.discoverLdapConfig(Unknown Source)
      at oracle.net.config.Config.<init>(Unknown Source)
      at oracle.sysman.assistants.util.NetworkUtils.<init>(NetworkUtils.java:234)
      at oracle.sysman.assistants.util.step.StepContext.<init>(StepContext.java:270)
      at oracle.sysman.assistants.dbca.backend.Host.<init>(Host.java:694)
      at oracle.sysman.assistants.dbca.ui.UIHost.<init>(UIHost.java:205)
      at oracle.sysman.assistants.dbca.ui.InteractiveHost.<init>(InteractiveHost.java:54)
      at oracle.sysman.assistants.dbca.Dbca.getHost(Dbca.java:160)
      at oracle.sysman.assistants.dbca.Dbca.execute(Dbca.java:94)
      at oracle.sysman.assistants.dbca.Dbca.main(Dbca.java:180)



      Any body can help me?

      Thanks in advance.

      Leo
        • 1. Re: Error loading native library:libldapjclnt10.so - dbca
          damorgan
          The AIX version is unknown
          The Oracle version is unknown except in-so-far as 10.2.x was put into desuport mode years ago.

          Can you find the missing file? If so where is it? If you can't open an SR at MyOracleSupport and find out what it is and where it comes from.

          Check version numbers though because it may be it has loading problems because it can't find it but it is equally likely it has found an incompatible version.
          • 2. Re: Error loading native library:libldapjclnt10.so - dbca
            user10674190
            Hi, thanks for your replay.

            The AIX version is 5.3.
            I am trying to create database (10.2.0.5) with dbca.

            I can see the libldapjclnt10.so file on $ORACLE_HOME/lib

            *# ll $ORACLE_HOME/lib/libldapjclnt10.so*
            -rw-r--r-- 1 oracle dba 5965189 Mar 28 2010 /dhl/dbms/oracle/product/10.2.0/db_1/lib/libldapjclnt10.so




            Leo.
            • 3. Re: Error loading native library:libldapjclnt10.so - dbca
              sb92075
              user10674190 wrote:
              Hi, thanks for your replay.

              The AIX version is 5.3.
              I am trying to create database (10.2.0.5) with dbca.

              I can see the libldapjclnt10.so file on $ORACLE_HOME/lib

              *# ll $ORACLE_HOME/lib/libldapjclnt10.so*
              -rw-r--r-- 1 oracle dba 5965189 Mar 28 2010 /dhl/dbms/oracle/product/10.2.0/db_1/lib/libldapjclnt10.so
              above does not reside in LD_LIBRARY_PATH below
              LD_LIBRARY_PATH=/dhl/dbms/oracle/product/10.2.0/db_1/lib32:/dhl/dbms/oracle/product/10.2.0/db_1/lib:/lib:/usr/lib:/usr/local/lib

              /lib vs. /lib32
              • 4. Re: Error loading native library:libldapjclnt10.so - dbca
                user10674190
                Hey, thanks for your replay.

                See below:

                *# ll $ORACLE_HOME/lib/libldapjclnt10.so*
                -rw-r--r-- 1 oracle dba 5965189 Mar 28 2010 /dhl/dbms/oracle/product/10.2.0/db_1/lib/libldapjclnt10.so

                *# ll $ORACLE_HOME/lib32/libldapjclnt10.so*
                -rw-r--r-- 1 oracle dba 5354426 May 27 2010 /dhl/dbms/oracle/product/10.2.0/db_1/lib32/libldapjclnt10.so

                So, I set LD_LIBRARY_PATH and tried to create DB with dbca again, but I still got a error:

                *# env|grep LIB*
                LD_LIBRARY=/dhl/dbms/oracle/product/10.2.0/db_1/lib:/usr/lib:/lib
                LD_LIBRARY_PATH=/dhl/dbms/oracle/product/10.2.0/db_1/lib32:/dhl/dbms/oracle/product/10.2.0/db_1/lib:/lib:/usr/lib:/usr/local/lib

                Error loading native library:libldapjclnt10.so

                Any ideas?

                Thanks.
                • 5. Re: Error loading native library:libldapjclnt10.so - dbca
                  972065
                  I think it is the same installation problem that I've already post it

                  please, see the link

                  https://kr.forums.oracle.com/forums/thread.jspa?messageID=10670911#10670911