View Single Post
Old 2009-09-17, 03:49   #2
geoff's Avatar
Mar 2003
New Zealand

13·89 Posts

Originally Posted by linkhelpers View Post
Link error while linking a shared library in unix

Getting the following error ,

ld: /opt/syncsort39/lib/ Mismatched ABI. 64-bit PA shared library found in 32-bit link.

Is there any difference in the ld options in opt file while linking a 64 bit shared library ? Or is the problem because we are trying to link both 32 bit and 64 bit libs together ?
I am pretty sure that you can't link a 64-bit library with 32-bit code, or vice versa. Maybe there is a way to build a "fat" binary that runs in both modes, but even then you would need both 32- and 64-bit versions of all code.
geoff is offline   Reply With Quote