<HTML>
<BODY>

<br><font size=2 face="sans-serif">[hobbit@nbtbigbro1 hobbit]$ ldd ~hobbit/server/bin/hobbitgraph.cgi</font>
<br><font size=2 face="sans-serif">        librrd.so.2
=> /usr/local/rrdtool-1.2.11/lib/librrd.so.2 (0x40018000)</font>
<br><font size=2 face="sans-serif">        libpng.so.2
=> /usr/lib/libpng.so.2 (0x400ec000)</font>
<br><font size=2 face="sans-serif">        libc.so.6
=> /lib/i686/libc.so.6 (0x4011d000)</font>
<br><font size=2 face="sans-serif">        libm.so.6
=> /lib/i686/libm.so.6 (0x40258000)</font>
<br><font size=2 face="sans-serif">        libz.so.1
=> /usr/lib/libz.so.1 (0x4027b000)</font>
<br><font size=2 face="sans-serif">        /lib/ld-linux.so.2
=> /lib/ld-linux.so.2 (0x40000000</font>
<br>
<br><font size=2><tt>Which libpng version did you compile</tt></font>
<br><font size=2 face="sans-serif">        </font><font size=2><tt>libpng-1.2.8</tt></font>
<br>
<br><font size=2><tt>Did you also run "ldconfig" to update the
cache of runtime<br>
libraries ?</tt></font>
<br><font size=2 face="sans-serif">        I
do not see ldconfig anywhere.<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">10/21/2005 01:43 AM</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] trend graphs
broken images</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><font size=2><tt>On Thu, Oct 20, 2005 at 05:46:54PM -0400, Michael
Frey wrote:<br>
> <br>
> hobbit was compiled without any special path/include options.  It
is <br>
> conceivalbe that when hobbit was compiled it found the stock libpng
<br>
> libraries of RedHat 7.2<br>
<br>
I'm sure it does. <br>
<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>
<br>
Red Hat 7.2 ships with libpng 1.0.12. So it seems that hobbitgraph.cgi<br>
picks up the standard libpng 1.0 run-time library - try doing a<br>
"ldd ~hobbit/server/bin/hobbitgraph.cgi" and see what libraries<br>
it picks up.<br>
<br>
But your system has the header files - /usr/include/png.h et al - <br>
from another libpng version, 1.2.8. This mismatch between the<br>
header-files (used when compiling Hobbit) and the run-time library<br>
is what triggers this error.<br>
<br>
> I have since recompiled libpng with "--prefix=/usr" and
done a make <br>
> install.  This appears to have worked as the /usr/lib/libpng
is from <br>
> today.<br>
<br>
Which libpng version did you compile, then ? And you need to check all<br>
of the /usr/lib/libpng.so* files, since those are the ones used at<br>
run-time. Did you also run "ldconfig" to update the cache of
runtime<br>
libraries ?<br>
<br>
<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>