in Systems administration on Linux, Cgi, Gd, Nagios, Solaris
If you ever compile Nagios successfully on Solaris 10 (trust me, it’s a beast to get working properly), beware if you get the following errors:
You likely haven’t compiled in support appropriately for GD and the JPEG, PNG, and other libraries. To check, issue a ldd statusmap.cgi and you may get the following output:
Those files not found are not good. Please note that the following solution I am using Solaris 10 x86 on a Dell server. I use Blastwave for GNU package management on the Solaris server, which is installed in /opt/csw. I also have installed the Blastwave distributed libgd, libpng, jpeg, etc. packages necessary for this part of the compilation process.
Solution
Do the following:
We can see that our CGI has the appropriate links we were looking for:
Keep going!Keep going ×2!Give me more!Thank you, thank youFar too kind!Never gonna give me up?Never gonna let me down?Turn around and desert me!You're an addict!Son of a clapper!No wayGo back to work!This is getting out of handUnbelievablePREPOSTEROUSI N S A N I T YFEED ME A STRAY CAT