[Xymon] update2: configure fails at RRD link

Lynn Osburn losburn at thepinnaclegroup.com
Fri Apr 8 00:45:35 CEST 2011


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



More information about the Xymon mailing list