[hobbit] Larrd graphs not working
Henrik Stoerner
henrik at hswn.dk
Thu Dec 29 22:58:50 CET 2005
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
More information about the Xymon
mailing list