[Xymon] update2: configure fails at RRD link

Tim McCloskey tm at freedom.com
Fri Apr 8 00:55:47 CEST 2011


sorry -- sent the wrong link: http://lists.xymon.com/oldarchive/2009/10/msg00143.html

first error is : test-rrd.c:30: error: too few arguments to function 'rrd_graph'

________________________________________
From: Tim McCloskey
Sent: Thursday, April 07, 2011 3:52 PM
To: Lynn Osburn; xymon at xymon.com
Subject: RE: update2: configure fails at RRD link

Not really an answer to the link failure, but see http://lists.xymon.com/oldarchive/2008/08/msg00384.html.
I remember having strange rrd build issues on some non xymon projects in the past but I don't have the specifics in front of me.
Is xymon shipping with RRDtool these days?



________________________________________
From: xymon-bounces at xymon.com [xymon-bounces at xymon.com] On Behalf Of Lynn Osburn [losburn at thepinnaclegroup.com]
Sent: Thursday, April 07, 2011 3:45 PM
To: xymon at xymon.com
Subject: [Xymon] update2: configure fails at RRD link

librrd.so seems to be where the call to libz.so comes from

# 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

But again, given that path, it surely is odd that it can't find libz.so

-----Original Message-----
Update:
It looks like the issue is
  Can't find dependent library "libz.so"

That's odd, given the LD_LIBRARY_PATH includes it
#ll /usr/local/lib/hpux32/libz.so
-rwxr-xr-x   1 root       1307        275176 Apr 20  2010 /usr/local/lib/hpux32/libz.so

Any ideas, folks?
Thanks,
-Lynn

-----Original Message-----
Installed RRD 1.4.5 with all prereqs on HPUX 11.31
RRD examples (in /usr/local/rrdtool/share/rrdtool/examples) all worked great to verify RRD install
This being HP-UX, you'll also want to know the LD_LIBRARY_PATH
  LD_LIBRARY_PATH=/usr/local/lib:/usr/local/lib/hpux32:/usr/lib:/usr/local/rrdtool/lib
and yes, using gmake and gcc

However, when I start the xymon configure.server script, I get the following error:

Checking for RRDtool ...
test-rrd.c: In function 'main':
test-rrd.c:30: error: too few arguments to function 'rrd_graph'
gmake: *** [test-compile] Error 1
Not RRDtool 1.0.x, checking for 1.2.x
Found RRDtool include files in /usr/local/rrdtool/include
ERROR: RRDtool library files found in /usr/local/rrdtool/lib, but link fails.

The error comes from xymon-4.3.2/build/Makefile.test-rrd
test-link:
        @$(CC) $(CFLAGS) $(RRDDEF) $(RRDLIB) -o test-rrd test-rrd.o -lrrd $(PNGLIB)

Any thoughts on how to determine more specifically why the link fails?
_______________________________________________
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



More information about the Xymon mailing list