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
[EMAIL PROTECTED]
Voice: (302)739-4409 Fax: (302)739-6242 
www.dnrec.state.de.us/


-----Original Message-----
From: Kwabbi, Seth [mailto:[EMAIL PROTECTED]] 
Sent: Monday, October 14, 2002 14:23
To: '[EMAIL PROTECTED]'
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
error:

  ld: fatal: file /u01/app/oracle/product/9.0.1/lib//libclntsh.so: wrong
ELF
class: ELFCLASS64

 My environment Solaris 2.8 ( 64 Bit ) and using gcc compiler version
2.95.3
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
64
Bit version.

Does anyone know what causes this problem ?

Cheers.

Seth Kwabbi

ACS - DSS 
Atlanta, Ga 

Reply via email to