Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
Languages and Scripting
cancel
Showing results for 
Search instead for 
Did you mean: 

Compiling on HPUX 11.31 Itanium with ldap library

SOLVED
Go to solution
Highlighted
joeyu1201
Occasional Advisor

Compiling on HPUX 11.31 Itanium with ldap library

I am compiling 32-bit program with ldap libray and error occur "ld: Mismatched ABI (not an ELF file) for -lldap50, found /iseprod/ivrshrt/.lib/libldap50.sl".

I have checked the library libldap50.sl is 32-bit.
$ file /iseprod/ivrshrt/.lib/libldap50.sl
/iseprod/ivrshrt/.lib/libldap50.sl: PA-RISC1.1 shared library -not stripped

Is there any other reason cause the error?
3 REPLIES
Dennis Handly
Acclaimed Contributor
Solution

Re: Compiling on HPUX 11.31 Itanium with ldap library

Besides having to match on bitness, you have to match on architecture.
Your shlib is PA, you need an Integrity version.
joeyu1201
Occasional Advisor

Re: Compiling on HPUX 11.31 Itanium with ldap library

Thanks.
Cause the library was copied from old machine. Problem solved by using a IA64 version library.
joeyu1201
Occasional Advisor

Re: Compiling on HPUX 11.31 Itanium with ldap library

Thanks.
Cause the library was copied from old machine. Problem solved by using a IA64 version library.