Hi Folks,<br><br>I am trying to install nagios-3.0.6 on Centos 5. while compiling cgis i am getting following error and i couldn't able to proceed further I have installed all possible dependency packages for the please help me <br>
<br><br><span class="gI">skiplist.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o -L/lib -lglib-2.0<br>gcc -g -O2 -DHAVE_CONFIG_H -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNSCGI -o history.cgi history.c getcgi.o cgiutils.o cgiauth.o macros-cgi.o skiplist.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o -L/lib -lglib-2.0<br>
gcc -g -O2 -DHAVE_CONFIG_H -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNSCGI -o histogram.cgi histogram.c getcgi.o cgiutils.o cgiauth.o macros-cgi.o skiplist.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o -L/lib -lglib-2.0<br>
/tmp/ccCq2F9D.o: In function `draw_dashed_line':<br>/opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:2474: undefined reference to `gdImageSetStyle'<br>/opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:2477: undefined reference to `gdImageLine'<br>
/tmp/ccCq2F9D.o: In function `draw_line':<br>/opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:2453: undefined reference to `gdImageSetStyle'<br>/opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:2456: undefined reference to `gdImageLine'<br>
/tmp/ccCq2F9D.o: In function `graph_all_histogram_data':<br>/opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:1619: undefined reference to `gdFontSmall'<br>/opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:1652: undefined reference to `gdFontSmall'<br>
/opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:1653: undefined reference to `gdImageString'<br>/opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:1673: undefined reference to `gdFontSmall'<br>/opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:1675: undefined reference to `gdImageStringUp'<br>
/opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:1681: undefined reference to `gdFontSmall'<br>/opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:1682: undefined reference to `gdImageStringUp'<br>/opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:1694: undefined reference to `gdFontSmall'</span><br>
<br><br>Please let me if you need any more info on this.<br clear="all"><br><br>Thanks<br>-- <br>Saravana Kumar<br>