Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: wrong ELF class: ELFCLASS32
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>...Received on Tue Apr 01 2003 - 03:43:55 CST
> 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?
![]() |
![]() |