Problem with statusmap

Mark Thompson mlt at pshtc.ks.gov
Fri Mar 2 17:34:08 CET 2007


Opensuse 10.2
Nagios 2.7
all libs installed.
make all returns this error:

gcc -g -O2 -I/usr/local/include/ -DHAVE_CONFIG_H -DNSCGI -L/usr/local/lib/ -o statusmap.cgi statusmap.c getcgi.o cgiutils.o cgiauth.o  objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o -lgd -lttf -lpng -ljpeg -lz -lm
/tmp/ccQJAY1X.o: In function `load_image_from_file':
/usr/local/src/nagios-2.7/cgi/statusmap.c:2215: undefined reference to `gdImageCreateFromJpeg'

collect2: ld returned 1 exit status
make[1]: *** [statusmap.cgi] Error 1
make[1]: Leaving directory `/usr/local/src/nagios-2.7/cgi'
make: *** [all] Error 2

Is this a bug in the compile or is there something else that needs to be installed?

thanks

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list