Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: wrong ELF class: ELFCLASS32

Re: wrong ELF class: ELFCLASS32

From: Oleg Paraschenko <usenet_at_sein.sportwetten.spb.ru>
Date: 1 Apr 2003 01:43:55 -0800
Message-ID: <70f723dc.0304010143.689f49b9@posting.google.com>


Hello John,

  if you like to use 64-bit library, recompile code with appropriate compiler flag. For example, use "-m64" for gcc.

--
Oleg

johnleslie_at_madasafish.com (John Leslie) wrote in message news:<4412dd31.0301080739.54e47124_at_posting.google.com>...

> We have a .so C library file containing C routines (Cfunctions.so) which we
> invoke via the external procedure listener.
>
> This file works fine with 32-bit 8.1.7 Oracle
>
> However we have now installed 64-bit 9i (9.2.0.1) and we now get the error,
> using exactly the same .so file
>
> ORA-06520: PL/SQL: Error loading external library
> ORA-06522: ld.so.1: extprocPLSExtProc: fatal:
> /export/home/opdd4229/lib/Cfunctions.so: wrong ELF class: ELFCLASS32
>
> Platform is Solaris 8
>
> What is the problem?
Received on Tue Apr 01 2003 - 03:43:55 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US