Operating System - HP-UX
1830045 Members
10765 Online
109998 Solutions
New Discussion

Missing 64 bit version of libmpc on hpux ia64

 
northb
Frequent Visitor

Missing 64 bit version of libmpc on hpux ia64

I am trying to build something on hpux ia64 11.31 that requires a gcc version of 4.8.2 or later.
The current available version in the hp depot is 4.2.3.

I have the source for gcc 4.8.2 and I am trying to build it.
When running the 'configure' for the build process, it fails with
"ld: Can't find library or mismatched ABI for -lmpc"

In searching for the library, I have found that /usr/local/lib/hpux32 libs exist for mpc.
But there are no 64 bit versions in /usr/local/lib/hpux64 for mpc.
The depot package installed is "mpc-1.0.3" (I have tried other version with the same result).

The problem can be shown by just trying to compile a 'hello world' test file the includes the lib reference.
gcc test.c -lmpc
ld: Can't find library or mismatched ABI for -lmpc

If the mpc depot package does not supply the 64 bit libraries, what does?
Thanks,

northbc

northb@msn.com

 

1 REPLY 1
Dennis Handly
Acclaimed Contributor

Re: Missing 64 bit version of libmpc on hpux ia64

>If the mpc depot package does not supply the 64 bit libraries, what does?

 

You have the sources, build it yourself.

http://hpux.connect.org.uk/hppd/hpux/Maths/LinAlgebra/mpc-1.0.3/