Xymon Mailing List Archive search

Larrd graphs not working

list Galen Johnson
Sat, 31 Dec 2005 10:52:57 -0500
Message-Id: <user-f3a38e27c2ef@xymon.invalid>

Michael Frey wrote:
hobbit graph.sh:

LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH

. /usr/local/hobbit/server/etc/hobbitcgi.cfg
 exec /usr/local/hobbit/server/bin/hobbitgraph.cgi $CGI_HOBBITGRAPH_OPTS

I did a make clean, and make install on libpng-1.2.8.

Restarted httpd and hobbit.

Still getting:
libpng warning: Application was compiled with png.h from libpng-1.2.8
libpng warning: Application  is running with png.c from libpng-1.0.12
libpng error: Incompatible libpng version in application and library
673x199

Thanks,


Michael Frey
Intel Senior Systems Engineer
The Guardian Life Insurance Company of America
XXXX Burgess Place, 2-West
Bethlehem, PA XXXXX
E-Mail: user-0d6bef7dd02b@xymon.invalid
Phone: XXX-XXX-XXXX
Fax: XXX-XXX-XXXX


*user-ce4a2c883f75@xymon.invalid (Henrik Stoerner)*

12/29/2005 04:58 PM
Please respond to
user-ae9b8668bcde@xymon.invalid

	
To
	user-ae9b8668bcde@xymon.invalid
cc
	
Subject
	Re: [hobbit] Larrd graphs not working


On Thu, Dec 29, 2005 at 04:50:44PM -0500, Michael Frey wrote:
After running rrdtool...:
libpng warning: Application was compiled with png.h from libpng-1.2.8
libpng warning: Application  is running with png.c from libpng-1.0.12
libpng error: Incompatible libpng version in application and library
OK, so hobbitgraph.cgi picks up the wrong libpng*.so file.

You can probably make it work by explicitly setting LD_LIBRARY_PATH
in the ~hobbit/cgi-bin/hobbitgraph.sh file, so it points to the
directory where you have the 1.2.8 version of libpng*.so installed.
E.g. if you have the library in /usr/local/lib/libpng.so.1.2.8, then
add this to hobbitgraph.sh before the call to hobbitgraph.cgi:

  LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
  export LD_LIBRARY_PATH
What OS is this on?  I don't see it in the thread.

=G=