Oracle Pro*C 64 bit
Date: 31 Jul 2002 08:41:40 -0700
Message-ID: <936c1dcf.0207310741.6ec3f5a4_at_posting.google.com>
Hello everyone,
OS:HP-UX 11.0 64 bit
DB Version:Oracle 9.2 running in 64 bit mode
I am trying to figure out how to compile my Pro*C programs in 64 bit mode. When attempting to compile my programs using the 64 bit libraries I get the following error when trying to link:
"Mismatched ABI. 64-bit PA shared library found in 32-bit link."
Here are the steps I am using to compile my programs:
1)proc UNSAFE_NULL=YES MODE=ORACLE DBMS=V8 program.pc 2)cc -I$ORACLE_HOME/precomp/public -I$ORACLE_HOME/rdbms/public -I$ORACLE_HOME/rdbms/demo -I$ORACLE_HOME/plsql/public -c program.c 3)cc -o program program.o -L$ORACLE_HOME/lib -lclntsh
Environment variables:
SHLIB_PATH=/oracle/app/oracle/product/9.2.0/lib:/oracle/app/oracle/product/9.2.0/rdbms/lib:/usr/lib
The programs compile fine when I refer to the lib32 directory. Am I trying to accomplih the impossible?
Any help or suggestions would be greatly appreciated,
Benny Received on Wed Jul 31 2002 - 17:41:40 CEST