Richard Felkins wrote:

When we installed using a 32 bit oracle in the past everything
was fine.  Doing a re-install with Oracle 9 (64bit) is generating
these errors, any ideas?

Yes.


Thanks, richardf at san dot rr dot com

Running Mkbootstrap for DBD::Oracle ()
chmod 644 Oracle.bs
rm -f blib/arch/auto/DBD/Oracle/Oracle.so
LD_RUN_PATH="/usr/local/oracle9/lib:/usr/local/oracle9/rdbms/lib"
/opt/SUNWforte7/SUNWspro/bin/cc -G -L/usr/local/lib Oracle.o dbdimp.o oci7.o oci8.o -L/opt/SUNWcluster/lib -R/opt/SUNWcluster/lib -o build
-L/usr/local/oracle9/rdbms/lib/ -L/usr/local/oracle9/lib/ -lclntsh -lnbeq9
-lnhost9 -lnus9 -lnldap9 -lldapclnt9 -lnsslb9 -lnoname9 -lntcp9 -lntcps9
-lnsslb9 -lntcp9 -lntns9 -lnsl -lsocket -lgen -ldl -R/usr/local/oracle9/lib
-laio -lposix4 -lkstat -lm -lthread -o blib/arch/auto/DBD/Oracle/Oracle.so ld: fatal: file /usr/local/oracle9/lib//libclntsh.so: wrong ELF class:
ELFCLASS64
ld: fatal: File processing errors. No output written to
blib/arch/auto/DBD/Oracle/Oracle.so
*** Error code 1
make: Fatal error: Command failed for target
`blib/arch/auto/DBD/Oracle/Oracle.so'
/usr/ccs/bin/make -- NOT OK

You are trying to link a a 32-bit Oracle.so against a 64-bit Oracle library. I don't have Oracle64 to hand, but I believe there is a 'lib32' directory under $ORACLE_HOME that contains the 32-bit libraries. I also believe someone submitted a patch to fix this to the list a while back - see the archives.


--
Alan Burlison
--



Reply via email to