Precompilers and OCI (MOSC)

MOSC Banner

ld.so.1: occidml: fatal: libocci.so.10.1: open failed: No such file or directory

edited Aug 25, 2009 10:22PM in Precompilers and OCI (MOSC) 8 commentsAnswered
 I downloaded OCI Instant Client for 64-bit Sparc and placed the four libraries (libociei.so etc.) and header files on the server as follows:

Library path: /TEST/xxx/instantclient_10_2/

Header path: /TEST/xxx/instantclient_10_2/sdk/include

Despite of ORACLE_HOME already installed on the server, to enable Instant Client mode, I've added the OCI library path to and removed ORACLE_HOME/lib from environment variable LD_LIBRARY_PATH such that:

$LD_LIBRARY_PATH=...other_lib...:/TEST/xxx/instantclient_10_2:...other_lib...:

Then I put the sample programs from OCI SDK to another folder and modified the paths in file demo.mk as follows:

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center