This discussion is archived
11 Replies Latest reply: Mar 7, 2013 2:33 AM by alvaromiranda RSS

Missing library libclntsh.so.10.1

990699 Newbie
Currently Being Moderated
Hello,

I am installing EBS R12 on Linux 6.3 but hit with a snag that I am missing library libclntsh.so.10.1. Based on the MOS note 579254.1, I downloaded and tried to install gcc-3.4.6-3.x86_64.rpm and gcc-c++-3.4.6-3.x86_64.rpm but there are more dependencies that need to be installed.

error: Failed dependencies:
gcc = 3.4.6-3 is needed by gcc-c++-3.4.6-3.x86_64
libstdc++ = 3.4.6 is needed by gcc-c++-3.4.6-3.x86_64
libstdc++-devel = 3.4.6 is needed by gcc-c++-3.4.6-3.x86_64
gcc-c++ < 4.0.0 conflicts with binutils-2.20.51.0.2-5.34.el6.x86_64


I have also downloaded Oralce Linux Relase 5 Update 9 Media Pack for x86_64 (64 bit) ISO files but not sure how to install all the gcc, libstdc files. Thanks in advance for the help.

Thanks.
  • 1. Re: Missing library libclntsh.so.10.1
    alvaromiranda Explorer
    Currently Being Moderated
    if you are using oracle linux, the easiest will be setup public yum

    check http://public-yum.oracle.com

    to configure public yum for oracle linux 5 do, as root

    cd /etc/yum.repos.d
    wget http://public-yum.oracle.com/public-yum-el5.repo

    then

    yum install oracle-validated

    then
    yum install gcc glibc-devel etc

    the rest of the dependences per the documentation of the product.

    Alvaro.
  • 2. Re: Missing library libclntsh.so.10.1
    990699 Newbie
    Currently Being Moderated
    Hello Alvaro,

    I have completed all the steps that you have listed. Unfortunately, when I run the sqlplus, I get the same error message.

    sqlplus: error while loading shared libraries: libclntsh.so.10.1: cannot open shared object file: No such file or directory

    Below are the error messages I am seeing after the installation.


    Executable : /u01/oracle/test/apps/tech_st/10.1.2/bin/sqlplus

    riwTDBup.sh exiting with status 0
    sqlplus: error while loading shared libraries: libclntsh.so.10.1: cannot open shared object file: No such file or directory

    Apps ORACLE_HOME connection test has succeeded
    Configuration Upload
    ---------------------
    uploading config file at /u01/oracle/test/db/tech_st/11.1.0/appsutil/conf_test.txt

    AppsConfig : 'config.txt' uploading...
    ---------------------------------------------------------------
    ADX Database Utility
    ---------------------------------------------------------------
    getConnectionUsingAppsJDBCConnector() -->
    APPS_JDBC_URL='null'
    Trying to get connection using SID based connect descriptor
    getConnection() -->
    sDbHost : oel-711
    sDbDomain : localdomain
    sDbPort : 1521
    sDbSid : test
    sDbUser : APPS
    Trying to connect using SID...
    getConnectionUsingSID() -->
    JDBC URL: jdbc:oracle:thin:@oel-711.localdomain:1521:test
    Connection obtained
    -------------------ADX Database Utility Finished---------------
    Successful upload of config file at /u01/oracle/test/db/tech_st/11.1.0/appsutil/conf_test.txt

    Environment File
    -----------------
    Database ORACLE_HOME environment file passes instantiated variables test:
    File = /u01/oracle/test/db/tech_st/11.1.0/test_oel-711.env
    Apps ORACLE_HOME environment file passes instantiated variables test:
    File = /u01/oracle/test/inst/apps/test_oel-711/ora/10.1.3/test_oel-711.env
    iAS ORACLE_HOME environment file passes instantiated variables test:
    File = /u01/oracle/test/inst/apps/test_oel-711/ora/10.1.2/test_oel-711.env
    APPL_TOP environment file passes instantiated variables test:
    File = /u01/oracle/test/apps/apps_st/appl/test_oel-711.env
    ADOVARS environment file passes instantiated variables test:
    File = /u01/oracle/test/apps/apps_st/appl/admin/adovars.env
    APPSCONFIG passes instantiated variables test:
    File = /u01/oracle/test/apps/apps_st/appl/admin/adconfig.txt

    DBC File---------
    DBC file passes instantiated variables test:
    File = /u01/oracle/test/inst/apps/test_oel-711/appl/fnd/12.0.0/secure/test.dbc

    HTTP-----
    checking URL = http://oel-711.localdomain:8001
    RW-50015: Error: - HTTP Listener is not responding. The service might not have started on the port yet. Please check the service and use the retry button.

    Help Page----------
    checking URL = http://oel-711.localdomain:8001/OA_HTML/help
    RW-50015: Error: - Help Page is not responding. The service might not have started on the port yet. Please check the service and use the retry button.

    Virtual Directory------------------
    RW-50015: Error: - Http Server Virtual Directories is not responding. The service might not have started on the port yet. Please check the service and use the retry button.

    JSP----
    checking URL = http://oel-711.localdomain:8001/OA_HTML/jtfTestCookie.jsp
    RW-50015: Error: - JSP is not responding. The service might not have started on the port yet. Please check the service and use the retry button.

    Login Page-----------
    RW-50015: Error: - Login Page is not responding. The service might not have started on the port yet. Please check the service and use the retry button.


    Thanks.
  • 3. Re: Missing library libclntsh.so.10.1
    Hussein Sawwan-Oracle Employee ACE
    Currently Being Moderated
    I am installing EBS R12 on Linux 6.3 but hit with a snag that I am missing library libclntsh.so.10.1. Based on the MOS note 579254.1, I downloaded and tried to install gcc-3.4.6-3.x86_64.rpm and gcc-c++-3.4.6-3.x86_64.rpm but there are more dependencies that need to be installed.
    Please also see (Cloning EBS from Linux 4 to Linux 5 Fails: "Error While Loading Shared Libraries: libclntsh.so.10.1" [ID 736410.1]).

    Thanks,
    Hussein
  • 4. Re: Missing library libclntsh.so.10.1
    Hussein Sawwan-Oracle Employee ACE
    Currently Being Moderated
    I have completed all the steps that you have listed. Unfortunately, when I run the sqlplus, I get the same error message.

    sqlplus: error while loading shared libraries: libclntsh.so.10.1: cannot open shared object file: No such file or directory

    Below are the error messages I am seeing after the installation.


    Executable : /u01/oracle/test/apps/tech_st/10.1.2/bin/sqlplus

    riwTDBup.sh exiting with status 0
    sqlplus: error while loading shared libraries: libclntsh.so.10.1: cannot open shared object file: No such file or directory
    Have you installed all packages as per these docs?

    32-bit Linux OS --> Oracle E-Business Suite Installation and Upgrade Notes Release 12 (12.1.1) for Linux x86 [ID 761564.1]
    64-bit Linux OS --> Oracle E-Business Suite Installation and Upgrade Notes Release 12 (12.1.1) for Linux x86-64 [ID 761566.1]
    Apps ORACLE_HOME connection test has succeeded
    Configuration Upload
    ---------------------
    uploading config file at /u01/oracle/test/db/tech_st/11.1.0/appsutil/conf_test.txt

    AppsConfig : 'config.txt' uploading...
    ---------------------------------------------------------------
    ADX Database Utility
    ---------------------------------------------------------------
    getConnectionUsingAppsJDBCConnector() -->
    APPS_JDBC_URL='null'
    Trying to get connection using SID based connect descriptor
    getConnection() -->
    sDbHost : oel-711
    sDbDomain : localdomain
    sDbPort : 1521
    sDbSid : test
    sDbUser : APPS
    Trying to connect using SID...
    getConnectionUsingSID() -->
    JDBC URL: jdbc:oracle:thin:@oel-711.localdomain:1521:test
    Please user a different hostname/domain -- See the docs referenced above in this reply for the hostname/domainname and the /etc/hosts file format.

    Thanks,
    Hussein
  • 5. Re: Missing library libclntsh.so.10.1
    990699 Newbie
    Currently Being Moderated
    Hi Hussein,

    I have installed everything from
    32-bit Linux OS --> Oracle E-Business Suite Installation and Upgrade Notes Release 12 (12.1.1) for Linux x86 [ID 761564.1]
    64-bit Linux OS --> Oracle E-Business Suite Installation and Upgrade Notes Release 12 (12.1.1) for Linux x86-64 [ID 761566.1]

    I am not sure why HOSTNAME.DOMAINNAME is the issue. Please help.

    Thanks.
  • 6. Re: Missing library libclntsh.so.10.1
    Hussein Sawwan-Oracle Employee ACE
    Currently Being Moderated
    I am not sure why HOSTNAME.DOMAINNAME is the issue. Please help.
    Please post the contents of your hosts file here.

    I would recommend not using special characters in the hostname and not using localdomain.

    Thanks,
    Hussein
  • 7. Re: Missing library libclntsh.so.10.1
    990699 Newbie
    Currently Being Moderated
    Here you go..

    127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
    ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
    192.168.1.3 oel-711.localdomain oel-711

    Thanks.
  • 8. Re: Missing library libclntsh.so.10.1
    Hussein Sawwan-Oracle Employee ACE
    Currently Being Moderated
    127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
    This is OK.
    ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
    Comment this line.
    192.168.1.3 oel-711.localdomain oel-711
    What does "hostname" command return?

    Thanks,
    Hussein
  • 9. Re: Missing library libclntsh.so.10.1
    990699 Newbie
    Currently Being Moderated
    Hussein,

    Sure, I will comment the line.

    [root@oel-711 ~]# hostname
    oel-711.localdomain

    The issue here is related to libclntsh.so.10.1 and it still puzzles me what is wrong.

    Thanks.
  • 10. Re: Missing library libclntsh.so.10.1
    Hussein Sawwan-Oracle Employee ACE
    Currently Being Moderated
    [root@oel-711 ~]# hostname
    oel-711.localdomain
    It should be in this format --> abc.xyz.com
    The issue here is related to libclntsh.so.10.1 and it still puzzles me what is wrong.
    Do you source the database env file before running sqlplus?

    Can you reproduce the issue if you source the application env file and issue sqlplus?

    Does AutoConfig complete successfully on the database and the application tier nodes?

    Thanks,
    Hussein
  • 11. Re: Missing library libclntsh.so.10.1
    alvaromiranda Explorer
    Currently Being Moderated
    question.

    The first post had missed rpm files.

    now that you have all the rpm files installed, have you reinstalled this ebs?

    because if you are still working on the broken one, trying to fix it will be harder than get a new install

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points