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

Williams, Doug (Consultant-RIC) Doug.Williams at DexOne.com
Mon Apr 11 19:01:15 CEST 2011


What I would suggest is to get depothelper:
http://hpux.connect.org.uk/hppd/hpux/Sysadmin/depothelper-2.00/

Use it to install the below dependencies (which each of the below has
its own dependencies, but thanks to depothelper, will make it easier to
get them all done.  Note: Be careful, obviously you do not wish to do
this on a server that is, say an application server, since apps may have
linked to specific versions of a previous library and make break the
app.  


Install the dependencies for Xymon :
http://www.xymon.com/xymon/help/install.html     pcre, libpng, 

Install the dependencies for RRD :  doc/rrdbuild.txt   zlib, pkgconfig,
freetype, fontinst, cairo, pango, libxml2, fontconfig, pixman, glib


Then compile RRD with:


export INSTALL_DIR=/usr/local/rrdtool-1.4.5
./configure --prefix=$INSTALL_DIR


Then try Xymon configure/install again.



-----Original Message-----
From: xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] On Behalf
Of Ryan Novosielski
Sent: Friday, April 08, 2011 3:02 PM
To: xymon at xymon.com
Subject: Re: [Xymon] update3: configure fails at RRD link, can't find
libz.so

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

tusc is the HP-UX tool available for traces.

http://hpux.connect.org.uk/hppd/hpux/Sysadmin/tusc-8.0/

On 04/08/2011 12:56 PM, Tim McCloskey wrote:
> 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 [losburn at thepinnaclegroup.com]
> 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?
> _______________________________________________
> Xymon mailing list
> Xymon at xymon.com
> http://lists.xymon.com/mailman/listinfo/xymon
> 
> _______________________________________________
> Xymon mailing list
> Xymon at xymon.com
> http://lists.xymon.com/mailman/listinfo/xymon


- -- 
- ---- _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski - Sr. Systems Programmer
|$&| |__| |  | |__/ | \| _| |novosirj at umdnj.edu - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent.|IST/CST-Academic Svcs. - ADMC 450, Newark
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk2fW58ACgkQmb+gadEcsb69CgCgvOuFlNKm01DzSjxqNmjTRZ8j
9YYAnjp1IK+dCA7TD1ibly2DATvjwb5j
=SexB
-----END PGP SIGNATURE-----



More information about the Xymon mailing list