d: warning: file $ORACLE_HOME/lib/libclntst11.a(oci8.o): wrong ELF class: ELFCLASS64
Hi all,
I am trying to create an object file olcp.o and in the process to create this object file, I am using some libraries in Oracle 11g.
This is the command which i am using,
COBDIR =`dirname /export/home/cobse50/lib` cob -O -xe '' lcp.o -Q -Bstatic -L /export/home/ora10g/app/
oracle/product/11.2.0/dbhome_1/lib -lclntst11 -L /export/home/ora10g/app/oracle/product/11.2.0/dbhome_1/rdbms/lib32
In this command, we can notice the usage of -lclntst11 which is actually 64 bit and this is Oracle library $ORACLE_HOME/lib/libclntst11.a which is gnerated by the genclntst.sh script in $ORACLE_HOME/bin.