Operating System - HP-UX
1834786 Members
3657 Online
110070 Solutions
New Discussion

Re: 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
Kalin Evtimov
Regular Advisor

Re: Dependencies on C library

I am trying to install the RRDs module from RRDtool.
I also have the gcc-3.4.3 from HP
harry d brown jr
Honored Contributor

Re: Dependencies on C library

The RRDs from cpan.org?

live free or die
harry d brown jr
Live Free or Die
Kalin Evtimov
Regular Advisor

Re: Dependencies on C library

I compiled RRDtool from
http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/
and there is a perl-shared directory in it. There are the sources of the module.

There is no separate RRDs module on CPAN.
Kalin Evtimov
Regular Advisor

Re: Dependencies on C library

vibhor_agarwalin,

this was produced by the Makefile.PL
Kalin Evtimov
Regular Advisor

Re: Dependencies on C library

harry d brown jr,

which format is the gcc 4.0.0 depot, it ends with gz, but cannot be extracted with gunzip?
Stephen Keane
Honored Contributor
Solution

Re: Dependencies on C library

Rename it without the .gz and do a tar vft on it. I think it is just a tar file.
harry d brown jr
Honored Contributor

Re: Dependencies on C library

did you download this version? http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/pub/rrdtool-1.2.9.tar.gz

No other follow ups on this: http://lists.ee.ethz.ch/rrd-users/msg09767.html

Read this: http://www.realvnc.com/pipermail/vnc-list/2003-April/038568.html

Where did you get the cgilib?

live free or die
harry d brown jr
Live Free or Die
Kalin Evtimov
Regular Advisor

Re: Dependencies on C library

Yes, this worked, but even this gcc gives me the same error.
Kalin Evtimov
Regular Advisor

Re: Dependencies on C library

harry d brown jr,

I downloaded rrdtool-1.0.49 and it doesn't require any packages, as the last versions.