Xymon Mailing List Archive search

trend graphs broken images

list Michael Frey
Thu, 20 Oct 2005 17:46:54 -0400
Message-Id: <user-0b2e82b5e81d@xymon.invalid>

RRDTool was compiled following the directions of rrdtool, which looks like 
it has libpng compile to the $RRDBUILD/lb directory.

hobbit was compiled without any special path/include options.  It is 
conceivalbe that when hobbit was compiled it found the stock libpng 
libraries of RedHat 7.2

I have since recompiled libpng with "--prefix=/usr" and done a make 
install.  This appears to have worked as the /usr/lib/libpng is from 
today.

The images are still broken.

I am a little confused as to the error message.

Does this mean rrdtool can't find the right libpng library, or the 
hobbitgraph binary?

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) 
10/20/2005 04:33 PM
Please respond to
user-ae9b8668bcde@xymon.invalid


To
user-ae9b8668bcde@xymon.invalid
cc

Subject
Re: [hobbit] trend graphs broken images


On Thu, Oct 20, 2005 at 04:24:21PM -0400, Michael Frey wrote:
Thank you.

The output from the log is:
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, you have some mismatch between the (surprise!) versions of libpng
installed on the box where you compiled Hobbit, and where it's running.

libpng is used by RRDtool, so you'll have to go back and figure out 
where you got RRDtool - and then preferably compile it yourself, or
at least make sure the header files that you use when compiling RRDtool
and Hobbit actually match the run-time library that is available.


Regards,
Henrik


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.