Hi james..
I haven't tried to use $(RACLE_HOME/lib32 instead I used -xarch=v9
option. It works..
Thanks.

------------------------------------
Celcom (M) Bhd
Mohd Hisham Auyob
[EMAIL PROTECTED]
4th Floor, Wisma Celcom,
Lot 74, Jln Kemajuan, Section 13,
46200, Petaling Jaya,
Selangor
tel: 03-72027451
fax: 03-72027337
mobile: 019-3149755
------------------------------------

-----Original Message-----
From: James Carlson [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, December 19, 2006 11:04 PM
To: Mohd Hisham Auyob
Cc: opensolaris-discuss@opensolaris.org
Subject: Re: [osol-discuss] wrong ELF class: ELFCLASS64

Mohd Hisham Auyob writes:
> really need help on this.
> i got error while compiling my pro C program.
> ld: fatal: file /oracle/app/oracle/product/10.2.0/lib//libclntsh.so:
wrong ELF class: ELFCLASS64
> ld: fatal: file /oracle/app/oracle/product/10.2.0/lib/scorept.o: wrong
ELF class: ELFCLASS64
> ld: fatal: File processing errors. No output written to t.exe
> 
> i'm using solaris 10 sparc , oracle 10G.

S10 isn't Open Solaris, nor is this an Oracle support forum, but this
looks like a familiar problem.  Check your LD_LIBRARY_PATH and -L/-R
flags.  I think Oracle requires the use of that path (yecch), and that
it needs to have $ORACLE_HOME/lib32 in it before the other libraries.

-- 
James Carlson, KISS Network                    <[EMAIL PROTECTED]>
Sun Microsystems / 1 Network Drive         71.232W   Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757   42.496N   Fax +1 781 442 1677
_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Reply via email to