Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Linking 32-bit and 64 bit oracle library
abhi147_at_gmail.com wrote:
> 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 ?
Let me get that right:
You're writing a C program that should run against an 8 and a 10g server?
And you want to encapsule the Oracle stuff in a shared library, and depending on which database you want to access you're repacing the shared library?
Yours,
Laurenz Albe
Received on Mon Sep 04 2006 - 09:26:24 CDT
![]() |
![]() |