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