Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dynamic Linking with C

Status
Not open for further replies.

HPUXuser

Technical User
Jul 1, 2005
1
DE
Hi!
I am trying to solve a little problem on my system, but I am not sure whether I am going the right way, beacuse I am not very familiar with C. I compiled a program using gcc-4.0.0 without any error messages, but when I run the program, I get:

/usr/lib/hpux64/dld.so: Unsatisfied code symbol 'rrd_clear_error' in load module '/opt/perl5/lib/site_perl/5.8.6/IA64.ARCHREV_0-LP64/auto/RRDs/RRDs.so'.

Is this a linking problem? What does it mean? How could I solve it?
I will be greatful for each idea.
 
Try running ldd (HPUX 11) or chatr (HPUX 10) on your executable. It will tell you what libraries it is trying to load. You might find that one of them isn't the one you want because the SL_PATH or LD_LIBRARY_PATH is not set correctly.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top