2 Replies Latest reply: Feb 23, 2010 1:27 PM by user12100985 RSS

    Known issue but unable to resolve it - libclntsh.so.8.0: cannot open shared

    user12100985
      Hello All, I have done de-registration and registration of OID with our 11.5.10.2 E-business suite so many times. Now I am stuck while the OID de-registration process:

      I am trying to deregister using this command:
      txkrun.pl -script=SetSSOReg -deregisteroid=Yes

      Error:
      *******FATAL ERROR*******
      PROGRAM : /apps/cfsmgr2/cfscde2appl/fnd/11.5.0/patch/115/bin/txkSetSSOReg.pl(/apps/cfsmgr2/cfscde2appl/fnd/11.5.0/bin/txkrun.pl)
      TIME : Tue Feb 23 11:13:19 2010
      FUNCTION: (eval) [ Level 1 ]
      ERRORMSG: Either Infrastructure host name or LDAP port number is incorrect.
      /apps/cfsmgr2/cfscde2ora/iAS/bin/ldapbind: error while loading shared libraries: libclntsh.so.8.0: cannot open shared object file: No such file or directory



      I've made sure the LDAP credentials are correct. A search on metalink asks me to perform the following steps:
      Registration fails with libclntsh.so.8.0 not found
      Registration fails with the messge
      ldapbind: error while loading shared
      libraries: libclntsh.so.8.0: cannot open shared object file: No such file or directory
      All LDAP utilities that use Oracle Client Library require the tool to be relinked using the actual Oracle Home , which is done correctly at install time. Common cause are then E-bussines middle tier clonning or Oracle Home renaming
      Note that the command
      % relink all
      does not relink the LDAP tools. Note that this is the only command executed during MT cloning
      To resolve the problem execute, in hte middle tier IAS_ORACLE_HOME
      % cd $ORACLE_HOME/ldap/lib
      % make -f ins_ldap.mk install

      However: I am getting following errors:
      :->make -f ins_ldap.mk install
      rm -f oidldapd oidrepld
      rm -f oidctl oidmon
      rm -f ldapadd ldapbind ldapcompare ldapdelete ldapmodify ldapsearch ldapmoddn ldifwrite oidpasswd oidreconcile ldapaddmt ldapmodifymt
      rm -f datagen bulkmodify
      gcc -o oidldapd -L/apps/cfsmgr2/cfscde2ora/8.0.6/ldap/lib/ -L/apps/cfsmgr2/cfscde2ora/8.0.6/lib/ -L/apps/cfsmgr2/cfscde2ora/8.0.6/lib//stubs/ -o oidldapd -L/apps/cfsmgr2/cfscde2ora/8.0.6/ldap/lib/ -L/apps/cfsmgr2/cfscde2ora/8.0.6/lib/ -L/apps/cfsmgr2/cfscde2ora/8.0.6/lib//stubs/ /apps/cfsmgr2/cfscde2ora/8.0.6/ldap/lib/s0gslsrv.o -lncrypt8 -lgslssf8 -lgslssb8 -lgslssf8 -lgsldb8 -lsgsl_s8 -lgslber_s8 -lgslavl8 -lgslr8 -lldapclnt8 -lncrypt8 \
      -lpthread -lclntsh /apps/cfsmgr2/cfscde2ora/8.0.6/rdbms/lib/kpuadef.o `cat /apps/cfsmgr2/cfscde2ora/8.0.6/lib/ldflags` -lnsgr8 -lnzjs8 -ln8 -lnl8 -lnro8 `cat /apps/cfsmgr2/cfscde2ora/8.0.6/lib/ldflags` -lnsgr8 -lnzjs8 -ln8 -lnl8 -lclient8 -lvsn8 -lwtc8 -lcommon8 -lgeneric8 -lwtc8 -lmm -lnls8 -lcore8 -lnls8 -lcore8 -lnls8 `cat /apps/cfsmgr2/cfscde2ora/8.0.6/lib/ldflags` -lnsgr8 -lnzjs8 -ln8 -lnl8 -lnro8 `cat /apps/cfsmgr2/cfscde2ora/8.0.6/lib/ldflags` -lnsgr8 -lnzjs8 -ln8 -lnl8 -lclient8 -lvsn8 -lwtc8 -lcommon8 -lgeneric8 -ltrace8 -lnls8 -lcore8 -lnls8 -lcore8 -lnls8 -lclient8 -lvsn8 -lwtc8 -lcommon8 -lgeneric8 -lnls8 -lcore8 -lnls8 -lcore8 -lnls8 `cat /apps/cfsmgr2/cfscde2ora/8.0.6/lib/sysliblist` -ldl -lm -Wl,-rpath,/apps/cfsmgr2/cfscde2ora/8.0.6/lib:/lib:/usr/lib
      cat: /apps/cfsmgr2/cfscde2ora/8.0.6/lib/ldflags: No such file or directory
      cat: /apps/cfsmgr2/cfscde2ora/8.0.6/lib/ldflags: No such file or directory
      cat: /apps/cfsmgr2/cfscde2ora/8.0.6/lib/ldflags: No such file or directory
      cat: /apps/cfsmgr2/cfscde2ora/8.0.6/lib/ldflags: No such file or directory
      gcc32: /apps/cfsmgr2/cfscde2ora/8.0.6/rdbms/lib/kpuadef.o: No such file or directory
      make: *** [oidldapd] Error 1


      Please advice,