[hobbit] Larrd graphs not working

Galen Johnson solitaryr at trantor.org
Sat Dec 31 16:52:57 CET 2005


Michael Frey wrote:

>
> 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
>
What OS is this on?  I don't see it in the thread.

=G=



More information about the Xymon mailing list