View FAQ

[ Return To FAQ Index | Search The FAQs ]

FAQ Database : Nagios : Compiling

Title:GD, PNG, and/or JPEG libraries could not be located on Solaris 10
FAQ ID:F0371
Submitted By:Kevin McNamee 
Last Updated:03/14/2007

Description:The Status Map fails (e.g. 500 Internal Server Error) with the following error in the Apache error_log statusmap.cgi: fatal: open failed: No such file or directory 

Solution:Install gd (from sunfreeware) and all of its dependencies. Compile Nagios # export LD_LIBRARY_PATH=/usr/local/lib:opt/sfw/lib # LDFLAGS="-R/usr/local/lib -R/opt/sfw/lib" ./configure # make all # ldd cgi/statusmap.cgi 

Keywords:statusmap.cgi gd LDFLAGS