- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- About Oracle9i libocijdbc9.so
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-21-2003 10:22 PM
тАО07-21-2003 10:22 PM
I have installed Oracle9i standard edition in my HP-UX 11i machine. I want to connect to the Oracle using JDBC OCI driver. However, I only got libocijdbc9.sl in $ORACLE_HOME/lib but from the Readme.txt it said I should have an file named libocijdbc9.so. Does anyone know how to solve this ?
Regards,
Patrick
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-21-2003 10:31 PM
тАО07-21-2003 10:31 PM
Re: About Oracle9i libocijdbc9.so
Re-run the installer go into the "custom"
menu of installation.
check for the programmer modules and click on JDBC OCI driver there and finish the installation
Revert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-21-2003 11:03 PM
тАО07-21-2003 11:03 PM
Re: About Oracle9i libocijdbc9.so
according to metalink,
When using 32-bit JVM then LD_LIBRARY_PATH should have $ORACLE_HOME/lib32 before $ORACLE_HOME/lib
When using 64-bit JVM then LD_LIBRARY_PATH should have $ORACLE_HOME/lib before $ORACLE_HOME/lib32
can you please check if the file you mentioned exists in either of the directories?
regards
Yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-21-2003 11:18 PM
тАО07-21-2003 11:18 PM
Re: About Oracle9i libocijdbc9.so
I have checked that the Oracle JDBC/OCI Interfaces 9.2.0.1.0 has been installed !
Regards,
Patrick
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-21-2003 11:22 PM
тАО07-21-2003 11:22 PM
Re: About Oracle9i libocijdbc9.so
did you try the jdbc anyway ? Sometimes the documentation is incorrect, and they may have mispelled libocijdbc9.so instead of libocijdbc9.sl ....
Massimo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-21-2003 11:26 PM
тАО07-21-2003 11:26 PM
Re: About Oracle9i libocijdbc9.so
$ORACLE_HOME/lib32 to your LD_LIBRARY_PATH
Revert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-21-2003 11:27 PM
тАО07-21-2003 11:27 PM
Solutionaccording to some metalink notes, that looks like the correct name for the library:
Subject: Re : "UnsatisfiedLinkError: /opt/9ias/lib/libocijdbc9.sl: Exec format error" raised using Oracle 9i Client on HP-UX version 11.11
FYI, we also encountered the exact error described above and were able to fix the problem.
Originally, we had added $ORACLE_HOME/lib to both the LD_LIBRARY_PATH and SHLIB_PATH variables. We changed the directory to be $ORACLE_HOME/lib32 and everything subsequently worked fine.
#############??
Subject: Re : Re : /u01/app/oracle/product/9.2.0/lib/libocijdbc9.sl: Exec format error
When using 32-bit JVM then LD_LIBRARY_PATH should have $ORACLE_HOME/lib32 before $ORACLE_HOME/lib
When using 64-bit JVM then LD_LIBRARY_PATH should have $ORACLE_HOME/lib before $ORACLE_HOME/lib32
Opening a Connection for the JDBC OCI Driver
===========================================
For the JDBC OCI driver, you can specify the database by a TNSNAMES entry. You can find the available TNSNAMES entries listed in the file tnsnames.ora on the client computer from which you are connecting. On Windows NT, this file is located in the [ORACLE_HOME]\NETWORK\ADMIN directory. On UNIX systems, you can find it in the /var/opt/oracle
directory.
For example, if you want to connect to the database on host myhost as user scott with password tiger that has a TNSNAMES entry of MyHostString, enter:
Connection conn = DriverManager.getConnection
("jdbc:oracle:oci8:@MyHostString", "scott", "tiger");
Note that both the ":" and "@" characters are necessary.
For the JDBC OCI and Thin drivers, you can also specify the database with a Net8 keyword-value pair. This is less readable than a TNSNAMES entry but does not depend on the accuracy of the TNSNAMES.ORA file. The Net8 keyword-value pair also works with other JDBC drivers.
For example, if you want to connect to the database on host myhost that has a TCP/IP listener up on port 1521, and the SID (system identifier) is orcl, use a statement such as:
Connection conn = DriverManager.getConnection
("jdbc:oracle:oci8:@(description=(address=(host= myhost)
(protocol=tcp)(port=1521))(connect_data=(sid=orcl)))","scott", "tiger");
Moreover: extension .so for shared library is typical for Solaris server....
Give it a try... i'm it will work !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-22-2003 12:48 AM
тАО07-22-2003 12:48 AM
Re: About Oracle9i libocijdbc9.so
I've added $ORACLE_HOME/lib32 to my LD_LIBRARY_PATH and SHLIB_PATH but it still failed.
I also install Tomcat Server in my HP-UX box. When I access some sample jsp files, it show "org.apache.jasper.JasperException: no ocijdbc9 in java.library.path" and many exception errors came out.
Regards,
Patrick
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-22-2003 01:06 AM
тАО07-22-2003 01:06 AM
Re: About Oracle9i libocijdbc9.so
maybe problem is simpler... permission on the file and directory ?
In a similar thread, i found that executable permission is requested for shared libraries...
Massimo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-22-2003 01:48 AM
тАО07-22-2003 01:48 AM