I know this issue has been addressed to death but I’ve followed the advice given by several people in order to get the statusmap cgi going but I haven’t gotten anywhere yet. When I configure nagios (after a make devclean), all is well except for this:
checking for gdImagePng in -lgd (order 1)… no
checking for gdImagePng in -lgd (order 2)… no
checking for gdImagePng in -lgd (order 3)… no
checking for gdImagePng in -lgd (order 4)… no
*** GD, PNG, and/or JPEG libraries could not be located… *********
I have the latest versions of the gd, png, jpeg, and zlib installed and located in /usr/lib. I have also tried ./configure --with-gd-lib=/usr/lib --with-gd-inc=/usr/include with the same results. I also did a ldconfig after installing the libraries. If anyone can give some insight into this it would be greatly appreciated. Thanks!