Statusmap cgi


#1

Hey everyone,
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!


#2

Just wanted to update that I fixed (sort of) the issue by reconfiguring the jpeg libs using --with-enable-shared and then reconfiguring gd and then reconfiguring nagios using --with-png-dir=/usr/local/lib and the same for jpeg and zlib and gd.

Now I have the statusmap cgi but all that appears on it is a broken image.