Is this in the FAQ? If not, David, can you please add it:-)
Thanks a bunch.
From: Crown David T. (DNREC)
Sent: 10/14/02 1:15 PM
Subject: RE: Wrong ELF Class when running make for DBD-Oracle-1.12 module
This is because your attempting to build in a 32 bit Perl against a
64bit oracle install. Here's the solution form Stephen Clouse:
"The best solution is to edit the Makefile generated by Makefile.PL and
change all references to ORACLE_HOME/lib to ORACLE_HOME/lib32. This
will get it to use the 32-bit Oracle libraries instead."
David Crown, MCSE, MCP+I, CCNA
Information Resources Management
State of Delaware,
Department of Natural Resources and Environmental Control
Voice: (302)739-4409 Fax: (302)739-6242
Sent: Monday, October 14, 2002 14:23
Subject: Wrong ELF Class when running make for DBD-Oracle-1.12 module
When running make for the DBD-Oracle-1.12 module, I encounter this
ld: fatal: file /u01/app/oracle/product/9.0.1/lib//libclntsh.so: wrong
My environment Solaris 2.8 ( 64 Bit ) and using gcc compiler version
20010315 ( release). Also know if I set LD_LIBRARY_PATH to point to the
Oracle lib32 libraries it will work, howver I prefer "make" to use the
Does anyone know what causes this problem ?
ACS - DSS