This discussion is archived
2 Replies Latest reply: Oct 9, 2012 2:04 AM by 498147 RSS

Unable to connect to 11i client to 11i server through OCI calls

498147 Newbie
Currently Being Moderated
Hello All,

We have a C++ application which uses oci calls to connect to Oracle database. The application is built with 9i libraries. When we connect we try 11i client and 11i server combination, we are not able to connect to the db. We are able to connect to the db via sqlplus but not via our application.
The same application works fine when we use Oracle 9i client and 10gR2 server. What is the change from 9i to 11i that is causing this problem. Do I need to rebuild the product with 11i headers and libraries?
The error message in our log file is: oci.so: invalid mode for dlopen(): Invalid argument

Any help is appreciated.

O.S: Redhat Linux
DB: 11i

Thanks in advance
Radhika

Legend

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