1748181 Members
4205 Online
108759 Solutions
New Discussion юеВ

ocijdbc9 error

 
Warren Corman
New Member

ocijdbc9 error

I'm attempting to run the JdbcCheckup program for Oracle.

The error I get is:
ocijdbc9.sl: specified file is not a shared library, or a format error was detected

Here is my configuration:

JDBC driver version is 9.2.0.5.0
I have CLASSPATH set to /d00/oracle/prod/v9.2.0/jdbc/lib/ojdbc14.jar
I have LD_LIBRARY_PATH set to /d00/oracle/prod/v9.2.0/lib
I have SHLIB_PATH set to /d00/oracle/prod/v9.2.0/lib

We're on an UP-UX platform HP-UX B.11.11 U 9000/800 with Oracle9i Enterprise Edition Release 9.2.0.5.0

All the google and forum searches suggest to check the path but they are set correctly as far as I can tell.
6 REPLIES 6
Jean-Luc Oudart
Honored Contributor

Re: ocijdbc9 error

Hi

can you run the chatr command on the library file :
chatr ocijdbc9.sl

post output

Regards
Jean-Luc
fiat lux
Warren Corman
New Member

Re: ocijdbc9 error

O.K. when I go to the lib directory and run that command I get:

chatr(error): cannot open file ocijdbc9.sl

The only oci files I see in the diretory are:
libocijdbc9.sl
libocijdbcst9.a
libocijdbc9_g.sl
libocijdbc9.a
Yogeeraj_1
Honored Contributor

Re: ocijdbc9 error

hi,

most probably something wrong in your NativeCodePath in your conf file.

did you check?

kind regards
yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
Warren Corman
New Member

Re: ocijdbc9 error

I have no idea what that means?
Jean-Luc Oudart
Honored Contributor

Re: ocijdbc9 error

Hi again

I believe this is libocijdbc9.sl
Please note for your environment variables
client libraries $ORACLE_HOME/lib => 64bits
$ORACLE_HOME/lib32 => 32 bits

Is the application 32 or 64 bits ?

Regards
Jean-Luc
fiat lux
Warren Corman
New Member

Re: ocijdbc9 error

64 bit