This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Gcc 32-bits or 64-bits


On Tue, Nov 27, 2001 at 09:05:59AM -0800, Gerardo Javier Oliva Galvan wrote:

> /usr/bin/ld: /inc21_ora01/app/oracle/product/9.0.1/lib//libclntsh.sl: Mismatched ABI. 64-bit PAshared library found in 32-bit link.

> *************************************************************************************
 
> My boss is bugging me to see if the compiler is compiled for 32-bit or 64-bit environment. 
 
> Is this possible? is there a way to know how the compiler is running?
> In your experience have you seen this kind of problem?
> We opened a call with oracle , they have a week on this and i wan to finis them all.

The problem here is that you can't mix 32 bit and 64 bit binares. 

It would appear that /inc21_ora01/app/oracle/product/9.0.1/lib//libclntsh.sl is a 64 bit
binary, the file command will tell you for sure. 

The options are:

1) use a 64 bit gcc. 
2) find a 32 bit version of the library.

--Jack 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]