FAQ ???- Wrong ELF Class...

FAQ ???- Wrong ELF Class...

Post by Ilya Ster » Wed, 16 Oct 2002 05:10:23

Is this in the FAQ?  If not, David, can you please add it:-)

Thanks a bunch.


-----Original Message-----
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

-----Original Message-----

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
class: ELFCLASS64

 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
Bit version.

Does anyone know what causes this problem ?


Seth Kwabbi

Atlanta, Ga


1. DBD::Oracle - wrong ELF class: ELFCLASS64


The compiler is the latest version from Sun as Forte or
I guess it is SunOne now.  I had tried to build a 5.8
64 bit Perl a few months back and ran into serious make
problems and abandoned that idea.  I have checked and
have the sparcv9 version of ld in the path.  This Oracle
is patched to currently.


I have mixed feelings about forcing it to use the 32 bit
library set.  I'll try this as a last resort work around.
We are building customer deliverables and need this process
to be repeatable with documentation on the next CPAN upgrade.

Keep those ideas and thoughts coming and thanks.   Richard.


2. CORBA/C++ Programmers Needed!!

3. Wrong ELF Class when running make for DBD-Oracle-1.12 module

4. Need titles for good ST Reference books

5. Elf/Dwarf OR Elf/Stabs output from vxworks on PPC

6. what is the difference between default 0 vs default '0'

7. Legacy Class, implementation with class A in class B parameter...

8. Web-ROM

9. class inherit class A _and_ class B

10. xbox console Class A and Class B

11. MNP Protocol Specifications - Class 4 & Class 5

12. Class C subnet mask on class B network