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: Laurenz Albe <invite_at_spam.to.invalid>
Date: 19 Jul 2006 14:04:03 GMT
Message-ID: <1153317842.216103@proxy.dienste.wien.at>


Nick <NickFCook_at_gmail.com> wrote:
> 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?

Maybe it helps if you start Java with

java -Djava.library.path=$ORACLE_HOME/lib32

I have found that Java ignores LD_LIBRARY_PATH on Linux, maybe there's a similar problem here.

Yours,
Laurenz Albe Received on Wed Jul 19 2006 - 09:04:03 CDT

Original text of this message

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