Operating System - HP-UX
1834112 Members
2187 Online
110063 Solutions
New Discussion

Cannot compile C++ code using shared library on IA64 platform

 
Sudhindra Prasad
Occasional Advisor

Cannot compile C++ code using shared library on IA64 platform

Hi,

I am trying to compile my C++ code on HP-UX 11.23 IA 64 platform. My code uses shared library files. But when I try to compile I am getting the error,
ld: Can't find library or mismatched ABI for -lxxx

I am using the command "aCC -L -lxxx +DD64" in order to compile.

Interestingly, I am able to compile if I copy the shared library files manually to "/usr/lib/hpux64" directory. I fail to understand why I am unable to compile if I dont copy to this directory considering I have provided the "-L" option correctly. Any help would be greatly appreciated.
1 REPLY 1
VAS_1
Frequent Advisor

Re: Cannot compile C++ code using shared library on IA64 platform

Hello. You may want to check the thread at

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1006690

to see if any of the items in it are applicable.

VAS