Operating System - HP-UX
1753787 Members
7598 Online
108799 Solutions
New Discussion юеВ

Dependencies on C library

 
SOLVED
Go to solution
Kalin Evtimov
Regular Advisor

Dependencies on C library

Still trying to compile a module for perl, getting the error:

ld: Can't find library or mismatched ABI for -lrrd

I am sure that I didn't mixed 32 and 64bit mode. The dependencies in Makefile are:

# --- MakeMaker depend section:
RRDs.c : ../src/.libs/librrd.a

I checked the folder and the library exists as file.

What could be the reason for this error?
Thank you.
18 REPLIES 18
Stephen Keane
Honored Contributor

Re: Dependencies on C library

Do you have PHSS_22478 installed?
Kalin Evtimov
Regular Advisor

Re: Dependencies on C library

How can I check? Is that some kind of patch?
Kalin Evtimov
Regular Advisor

Re: Dependencies on C library

Is it for IA64 HP-UX 11.23 or it doesn't matter?
Stephen Keane
Honored Contributor

Re: Dependencies on C library

Its the latest ld(1) and linker tools cumulative patch. But I didn't realise you were using Itanium, so it's not appropriate for your system.

Kalin Evtimov
Regular Advisor

Re: Dependencies on C library

There is also a patch for 11.23 for the linker PHSS_32765.

I could try this, if suitable.
Stephen Keane
Honored Contributor

Re: Dependencies on C library

If it is the latest recommended path for your system, I'd certainly install it and see if it helps. You can always remove it, provided you haven't committed it.
Vibhor Kumar Agarwal
Esteemed Contributor

Re: Dependencies on C library

Not a C guru like others, but the following line looks a bit creepy to me:

RRDs.c : ../src/.libs/librrd.a

What do you want to do by making a .c file depend on an .a

Try like
RRDs.c : ../src/*.h
RRDs.o : libs/librrd.a
Vibhor Kumar Agarwal
Kalin Evtimov
Regular Advisor

Re: Dependencies on C library

I installed this patch, but it did nothing, as it seems, this was not the reason.. :(
harry d brown jr
Honored Contributor

Re: Dependencies on C library

Which perl module are you trying to install?

Do you have the latest gcc compiler and binutils? if not see: http://h21007.www2.hp.com/dspp/tech/tech_TechSoftwareDetailPage_IDX/1,1703,547,00.html


live free or die
harry d brown jr
Live Free or Die