<HTML>
<BODY>

<br><font size=2 face="sans-serif">hobbit graph.sh:</font>
<br>
<br><font size=1 face="Courier New">LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH</font>
<br><font size=1 face="Courier New">export LD_LIBRARY_PATH</font>
<br>
<br><font size=1 face="Courier New">. /usr/local/hobbit/server/etc/hobbitcgi.cfg</font>
<br><font size=1 face="Courier New"> exec /usr/local/hobbit/server/bin/hobbitgraph.cgi
$CGI_HOBBITGRAPH_OPTS</font>
<br>
<br><font size=2 face="sans-serif">I did a make clean, and make install
on libpng-1.2.8.</font>
<br>
<br><font size=2 face="sans-serif">Restarted httpd and hobbit.</font>
<br>
<br><font size=2 face="sans-serif">Still getting:</font>
<br><font size=2 face="sans-serif">libpng warning: Application was compiled
with png.h from libpng-1.2.8</font>
<br><font size=2 face="sans-serif">libpng warning: Application  is
running with png.c from libpng-1.0.12</font>
<br><font size=2 face="sans-serif">libpng error: Incompatible libpng version
in application and library</font>
<br><font size=2 face="sans-serif">673x199</font>
<br>
<br><font size=2 face="sans-serif">Thanks,</font>
<br><font size=2 face="sans-serif"><br>
<br>
Michael Frey<br>
Intel Senior Systems Engineer<br>
The Guardian Life Insurance Company of America<br>
3900 Burgess Place, 2-West<br>
Bethlehem, PA 18017<br>
E-Mail: Michael_frey@glic.com<br>
Phone: 610-807-7889<br>
Fax: 610-807-6003</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=42%><font size=1 face="sans-serif"><b>henrik@hswn.dk (Henrik
Stoerner)</b></font><font size=1 face="sans-serif"> </font>
<p><font size=1 face="sans-serif">12/29/2005 04:58 PM</font>
<table border>
<tr valign=top>
<td bgcolor=white>
<div align=center><font size=1 face="sans-serif">Please respond to<br>
hobbit@hswn.dk</font></div></table>
<p>
<p>
<td width=57%>
<table width=100%>
<tr>
<td>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td valign=top><font size=1 face="sans-serif">hobbit@hswn.dk</font>
<tr>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td valign=top>
<tr>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td valign=top><font size=1 face="sans-serif">Re: [hobbit] Larrd graphs
not working</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><font size=2><tt>On Thu, Dec 29, 2005 at 04:50:44PM -0500, Michael
Frey wrote:<br>
> <br>
> After running rrdtool...:<br>
> libpng warning: Application was compiled with png.h from libpng-1.2.8<br>
> libpng warning: Application  is running with png.c from libpng-1.0.12<br>
> libpng error: Incompatible libpng version in application and library<br>
<br>
OK, so hobbitgraph.cgi picks up the wrong libpng*.so file.<br>
<br>
You can probably make it work by explicitly setting LD_LIBRARY_PATH<br>
in the ~hobbit/cgi-bin/hobbitgraph.sh file, so it points to the<br>
directory where you have the 1.2.8 version of libpng*.so installed.<br>
E.g. if you have the library in /usr/local/lib/libpng.so.1.2.8, then<br>
add this to hobbitgraph.sh before the call to hobbitgraph.cgi:<br>
<br>
   LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH<br>
   export LD_LIBRARY_PATH<br>
<br>
<br>
Regards,<br>
Henrik<br>
<br>
<br>
To unsubscribe from the hobbit list, send an e-mail to<br>
hobbit-unsubscribe@hswn.dk<br>
<br>
<br>
</tt></font>
<br>

<P><hr size=1></P>
<P><STRONG>
This message, and any attachments to it, may contain information that<br>is privileged, confidential, and exempt from disclosure under<br>applicable law.  If the reader of this message is not the intended<br>recipient, you are notified that any use, dissemination, distribution,<br>copying, or communication of this message is strictly prohibited.  If<br>you have received this message in error, please notify the sender<br>immediately by return e-mail and delete the message and any<br>attachments.  Thank you.
</STRONG></P>
</BODY>
</HTML>