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: ELFCLASS64 Error on AS10g Release 3

Re: ELFCLASS64 Error on AS10g Release 3

From: Frank Langelage <frank_at_lafr.de>
Date: Tue, 18 Jul 2006 21:55:35 +0200
Message-ID: <4i4slpF247roU1@individual.net>


Nick wrote:
> Hi All,
>
> I'm deploying a java app to Oracle AS 10g R3 on a Solaris 9 SPARC
> station. Each time we hit the app we get the error in our log below:
>
> java.lang.UnsatisfiedLinkError: $ORACLE_HOME/lib/libocijdbc10.so:
> ld.so.1: java: fatal: $ORACLE_HOME/lib/libocijdbc10.so: wrong ELF
> class: ELFCLASS64</MSG_TEXT>
>
> I've seen the fix all over the place to update the LD_LIBRARY_PATH to
> have $ORACLE_HOME/lib32 come first. I've done this in the .profile and
> /etc/profile, but I'm still getting the same exact error. For some
> reason, I can't get it to look in $ORACLE_HOME/lib32.
>
> Is there anywhere else I would need to set this path?
>
> TIA,
>
> NC
>

AFAIK java loads libs using the PATH variable. But in your case an absolute path is used. So setting/modifying env vars will probably not help. Which java do you use? Is a 64bit version available? $ java -d64 -version
java version "1.5.0_07"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-b03) Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_07-b03, mixed mode) Received on Tue Jul 18 2006 - 14:55:35 CDT

Original text of this message

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