Xymon Mailing List Archive search

update3: configure fails at RRD link, can't find libz.so

list Tim McCloskey
Fri, 8 Apr 2011 09:56:46 -0700
Message-Id: <user-74fa1c3d89a0@xymon.invalid>

I'm not familiar with HPUX, but do you have something like truss or strace available so you can see what's going on in startup?  If /usr/local/lib/hpux32/libz.so is good then maybe there is some silent version error that can be seen (ie rrdtool expects v1234 and yours is v3421).  Really just shot's in the dark....

From: xymon-bounces at xymon.com [xymon-bounces at xymon.com] On Behalf Of Lynn Osburn [user-fd907411ed25@xymon.invalid]
Sent: Friday, April 08, 2011 9:48 AM
To: Williams, Doug (Consultant-RIC); xymon at xymon.com
Subject: [Xymon] update3: configure fails at RRD link, can't find libz.so

I tried bypassing the test-rrd test, allowing the system to create the Makefile, then went ahead to compile and run.
Any attempt to display a graph will result in this line in the apache error log:
/usr/lib/hpux32/dld.so: Unable to find library 'libz.so'.

When I look at what the librrd.so is referencing
# ldd /usr/local/rrdtool/lib/librrd.so|grep libz
        libz.so =>      /usr/local/lib/hpux32/libz.so
        libz.so =>      /usr/local/lib/hpux32/libz.so

and that file exists
# ll /usr/local/lib/hpux32/libz.so
-rwxr-xr-x   1 root       1307        275176 Apr 20  2010 /usr/local/lib/hpux32/libz.so

and the LD_LIBRARY_PATH referenced it during the make and compile
# set|grep LD
  LD_LIBRARY_PATH=/usr/local/lib:/usr/local/lib/hpux32:/usr/lib:/usr/local/rrdtool/lib

So I am at a loss to see why it isn't being picked up.


-----Original Message-----
Why thinking it is libz?  Can you show the error messages after finding
rrd?