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