Operating System - HP-UX
1830207 Members
1638 Online
109999 Solutions
New Discussion

Mismatched ABI (not an ELF file)

 
Berardi Angelo
Occasional Contributor

Mismatched ABI (not an ELF file)

I am porting software from Tru64 to HP-UX 11i v3 (HP-UX 11.31)
with Itanium 2 architecture and I am using the Tru64 Migration Environment.

I am compiling and linking with the libxml2 and libgcrypt libraries and I have receieved this error:

Mismatched ABI (not an ELF file)

I know that this has happened because I am mixing 64 bit objects with 32 bit objects.

Are the libxml2 and libgcrypt libraries 32 bit?
Where can I find 64 bit libraries to replace them?

Thanks in advance.
1 REPLY 1
Dennis Handly
Acclaimed Contributor

Re: Mismatched ABI (not an ELF file)

Since you are on IPF, the error message means you are looking at a PA lib. IPF libs should be in lib/hpux32/ or lib/hpux64/.

>I am compiling and linking with the libxml2 and libgcrypt libraries

What -L path are you using?

>Where can I find 64 bit libraries to replace them?

Any reason you are in 64 bit mode?