Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: wrong ELF class: ELFCLASS32
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