<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.0.6603.0">
<TITLE>Debian + libpng + libgd +statusmap.cgi == :-(</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->

<P><FONT SIZE=2 FACE="Arial">I cannot get the statusmap to work for the life of me.  The image doesnn't show up but I can hover my mouse over it and the box will come up for the appropriate device.  I've searched the mailing list and google and have not been able to simply get it working.</FONT></P>

<P><FONT SIZE=2 FACE="Arial">It's a cut and dry Debian installation that is dedicated to nagios only, and has only the necessary dependencies installed.</FONT></P>

<P><FONT SIZE=2 FACE="Arial">Do I need to download and install some dependencies manually?  This is driving me nuts.  I hope someone can help.</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">I have done a:</FONT>

<BR><FONT SIZE=2 FACE="Arial">apt-get install libgd2</FONT>

<BR><FONT SIZE=2 FACE="Arial">apt-get install libgd2-dev</FONT>

<BR><FONT SIZE=2 FACE="Arial">apt-get install libjpeg62</FONT>

<BR><FONT SIZE=2 FACE="Arial">apt-get install libjpeg62-dev</FONT>

<BR><FONT SIZE=2 FACE="Arial">apt-get install libpng</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Here starts the pasting:</FONT>

<BR><FONT SIZE=2 FACE="Arial">nagios:~/nagios-1.2# ldconfig -p | grep libgd</FONT>

<BR><FONT SIZE=2 FACE="Arial">libgd.so.2 (libc6) => /usr/lib/libgd.so.2</FONT>

<BR><FONT SIZE=2 FACE="Arial">nagios:~/nagios-1.2# ldconfig -p | grep libpng</FONT>

<BR><FONT SIZE=2 FACE="Arial">libpng.so.2 (libc6) => /usr/lib/libpng.so.2</FONT>

<BR><FONT SIZE=2 FACE="Arial">nagios:~/nagios-1.2# ldconfig -p | grep libjp</FONT>

<BR><FONT SIZE=2 FACE="Arial">libjpeg.so.62 (libc6) => /usr/lib/libjpeg.so.62</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">I have the following files in /usr/lib:</FONT>

<BR><FONT SIZE=2 FACE="Arial">libgd.a</FONT>

<BR><FONT SIZE=2 FACE="Arial">libgd.so</FONT>

<BR><FONT SIZE=2 FACE="Arial">libgd.so.2</FONT>

<BR><FONT SIZE=2 FACE="Arial">libgd.so.2.0.1</FONT>

<BR><FONT SIZE=2 FACE="Arial">libpng.a</FONT>

<BR><FONT SIZE=2 FACE="Arial">libpng.so</FONT>

<BR><FONT SIZE=2 FACE="Arial">libpng.so.2</FONT>

<BR><FONT SIZE=2 FACE="Arial">libpng.so.2.1.0.12</FONT>

<BR><FONT SIZE=2 FACE="Arial">libjpeg.a</FONT>

<BR><FONT SIZE=2 FACE="Arial">libjpeg.la</FONT>

<BR><FONT SIZE=2 FACE="Arial">libjpeg.so</FONT>

<BR><FONT SIZE=2 FACE="Arial">libjpeg.so.62</FONT>

<BR><FONT SIZE=2 FACE="Arial">libjpeg.so.62.0.0</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">nagios:~/nagios-1.2# rm config.cache</FONT>

<BR><FONT SIZE=2 FACE="Arial">nagios:~/nagios-1.2# configure --with-gd-lib=/usr/lib --with-gd-inc=/usr/include</FONT>

<BR><FONT SIZE=2 FACE="Arial">checking for gdImagePng in -lgd (order 1)... yes</FONT>

<BR><FONT SIZE=2 FACE="Arial">GD library was found!</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">nagios.iland.com-error.log:</FONT>

<BR><FONT SIZE=2 FACE="Arial">[Wed Jan 26 10:52:10 2005] [error] [client 198.78.170.1] Premature end of script</FONT>

<BR><FONT SIZE=2 FACE="Arial"> headers: /usr/local/nagios/sbin/statusmap.cgi</FONT>
</P>
<BR>
<BR>

<P><FONT SIZE=2 FACE="Arial">Jason Payne<BR>
Network Operations<BR>
<U></U></FONT><U></U><U><FONT COLOR="#0000FF" FACE="Times New Roman">jason.payne@iland.com</FONT></U><BR>
<FONT SIZE=2 FACE="Arial">voice: 1.800.697.7088<BR>
fax: 713.868.2268<BR>
</FONT><U></U><U></U><U><FONT COLOR="#0000FF" FACE="Times New Roman"><A HREF="http://www.iland.com/">http://www.iland.com/</A><BR>
</FONT></U><FONT SIZE=2 FACE="Arial">iLand Internet Solutions Corporation<BR>
__________________________________________________</FONT>

<BR><FONT SIZE=2 FACE="Arial">The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.</FONT></P>
<BR>

</BODY>
</HTML>