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: Linking 32-bit and 64 bit oracle library

Re: Linking 32-bit and 64 bit oracle library

From: Dave <solomons_dad.w.marks_and_whom_at_oracle.com>
Date: Mon, 04 Sep 2006 15:57:58 +0100
Message-ID: <GsXKg.59$xi3.77@news.oracle.com>


abhi147_at_gmail.com wrote:
> Hi ,
>
> I am creating two libraries using Pro*c , one which uses Oracle
> client 8.0.5 and the other uses Oracle 10.2.0.1.0(In their own
> environment) . The 8.0.5 library is a 32 bit , and 10g's library is 64
> bit library(uses -xarch=v9 flag while compiling)
>
> when I include these libraries as USRLIBS I get errors like :
>
> ld: fatal: file pro_10.o: wrong ELF class: ELFCLASS64
>
> Is there any way to convery the 32 bit library to 64 or vice versa ?
>
> Thanks !
>

Recompile it from source to a 64-bit object file. You may also need to do some tweaking to the code bearing in mind that it is now 64-bit instead of 32-bit.

Are you aware, by the way, that $ORACLE_HOME/lib32 in 10g contains 32-bit libraries? Porting to 64-bit isn't a necessary pre-requisite to using Oracle 10g.

Dave. Received on Mon Sep 04 2006 - 09:57:58 CDT

Original text of this message

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