[hobbit] trend graphs broken images

Henrik Stoerner henrik at hswn.dk
Fri Oct 21 07:43:36 CEST 2005


On Thu, Oct 20, 2005 at 05:46:54PM -0400, Michael Frey wrote:
> 
> 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'm sure it does. 

> > 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

Red Hat 7.2 ships with libpng 1.0.12. So it seems that hobbitgraph.cgi
picks up the standard libpng 1.0 run-time library - try doing a
"ldd ~hobbit/server/bin/hobbitgraph.cgi" and see what libraries
it picks up.

But your system has the header files - /usr/include/png.h et al - 
from another libpng version, 1.2.8. This mismatch between the
header-files (used when compiling Hobbit) and the run-time library
is what triggers this error.

> 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.

Which libpng version did you compile, then ? And you need to check all
of the /usr/lib/libpng.so* files, since those are the ones used at
run-time. Did you also run "ldconfig" to update the cache of runtime
libraries ?


Henrik




More information about the Xymon mailing list