[hobbit] Larrd graphs not working

Michael Frey michael_frey at glic.com
Thu Dec 29 23:40:03 CET 2005


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
3900 Burgess Place, 2-West
Bethlehem, PA 18017
E-Mail: Michael_frey at glic.com
Phone: 610-807-7889
Fax: 610-807-6003



henrik at hswn.dk (Henrik Stoerner) 
12/29/2005 04:58 PM
Please respond to
hobbit at hswn.dk



To
hobbit at hswn.dk
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


Regards,
Henrik


To unsubscribe from the hobbit list, send an e-mail to
hobbit-unsubscribe at hswn.dk






-----------------------------------------
This message, and any attachments to it, may contain information that
is privileged, confidential, and exempt from disclosure under
applicable law.  If the reader of this message is not the intended
recipient, you are notified that any use, dissemination, distribution,
copying, or communication of this message is strictly prohibited.  If
you have received this message in error, please notify the sender
immediately by return e-mail and delete the message and any
attachments.  Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20051229/ee7c3032/attachment.html>


More information about the Xymon mailing list