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: Bo Sheffield <BoAustin_at_bigfoot.com>
Date: Mon, 31 Mar 2003 21:56:34 -0600
Message-ID: <84816D3CE967FDAF.E25926DE05D8FD18.C23D0FB761403F61@lp.airnews.net>


Oracle 9i 64-bit for Solaris has a 64-bit extproc in $ORACLE_HOME/bin, along side it is a 32-bit version named extproc32. To use the extproc32, all you need to do is change your listener.ora to say

PROGRAM = extproc32

instead of

PROGRAM = extproc

restart the listener, reconnect your session and you should be able to load the 32-bit external library.

Note also that Oracle 8i 64-bit for Solaris only has the 32-bit extproc, so if you are migrating from Oracle 8i 64-bit to 9i 64-bit you will see this same issue.

Bo Sheffield
Database Administrator
Digital Motorworks

"John Leslie" <johnleslie_at_madasafish.com> 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 Mon Mar 31 2003 - 21:56:34 CST

Original text of this message

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