Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

OCIEnvCreate on linux

420804Jan 18 2005 — edited Feb 17 2005
I'm writing OCI app on debian connecting to Oracle92.
Compilation & linkage are correct, but when I run the app I have an error -1 from OCIEnvCreate. I tested app also on Win with oci.dll and everything was ok.

App uses libclntsh.so.9.0

------------
status = OCIEnvCreate(&myenvhp, OCI_DEFAULT, (dvoid *)0,0, 0, 0, (size_t) 0, (dvoid **)0);
------------

I tried to use OCI_SHARED and other flags but nothing works. Do I have to install Oracle client (I have .so only & .h files) ? I read about Instant client but not sure it works with ora92.

Any help,ideas will be helpful

Thanks in advanced

Peter
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 17 2005
Added on Jan 18 2005
4 comments
1,102 views