Well, I can see the header definition for gdImageSetStyle in /usr/include/gd.h, which according to RPM, is owned by the gd-devel package.<br><br>What does 'rpm -V gd-devel' say?<br><br><div class="gmail_quote">On Fri, Jul 3, 2009 at 4:18 PM, Saravana Kumar <span dir="ltr"><<a href="mailto:skumarsmails@gmail.com">skumarsmails@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi Guy Waugh,<br><br><br>In fact I am not using 64 Bit Centos this is 32 Bit. And I installed gd-devel and gd packages using <b>yum install gd gd-devel</b> command.<br>
<br><br>Please help me.<br><br><br>Thanks<br>Saravana Kumar<br>
<br><br><div class="gmail_quote">On Fri, Jul 3, 2009 at 8:00 PM, Guy Waugh <span dir="ltr"><<a href="mailto:guidosh@gmail.com" target="_blank">guidosh@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hmm... only other thing I can think of (without knowing where those unfound functions are) is... is it 64-bit Centos? If so, do you only have the 64-bit version of gd-devel installed?<br>
<br>Looking back at how I compiled nagios-3.0.6 on a RHEL5 x86_64 system, I included these arguments to ./configure:<br>
<br> --with-gd-inc=/usr/include --with-gd-lib=/usr/lib64<br><br>Regards,<br><font color="#888888">Guy.</font><div><div></div><div><br><br><div class="gmail_quote">On Fri, Jul 3, 2009 at 2:25 PM, Saravana Kumar <span dir="ltr"><<a href="mailto:skumarsmails@gmail.com" target="_blank">skumarsmails@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>thanks for quick response.<br><br><br>Yes I have.<br><br>[root@nagios ~]# rpm -qa | grep gd<br>
gd-2.0.33-9.4.el5_1.1<br>gd-devel-2.0.33-9.4.el5_1.1<br><br><br><br>Thanks<br><br>--Saravana Kumar<div><div></div><div><br><br><br><br><div class="gmail_quote">
On Fri, Jul 3, 2009 at 6:52 PM, Guy Waugh <span dir="ltr"><<a href="mailto:guidosh@gmail.com" target="_blank">guidosh@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello,<br><br>It looks to be complaining about not finding GD library stuff... do you have the 'gd-devel' package installed (if that's what it's called on Centos)?<br><br>Regards,<br>Guy.<br><br><div class="gmail_quote">
<div><div></div><div>
On Fri, Jul 3, 2009 at 2:03 PM, Saravana Kumar <span dir="ltr"><<a href="mailto:skumarsmails@gmail.com" target="_blank">skumarsmails@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div>
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>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><font color="#888888">Saravana Kumar<br>
</font><br></div></div>------------------------------------------------------------------------------<br>
<br>_______________________________________________<br>
Nagios-users mailing list<br>
<a href="mailto:Nagios-users@lists.sourceforge.net" target="_blank">Nagios-users@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/nagios-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.<br>
::: Messages without supporting info will risk being sent to /dev/null<br></blockquote></div><br>
</blockquote></div><br><br clear="all"><br></div></div>-- <br><font color="#888888">Saravana Kumar<br>
</font></blockquote></div><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><font color="#888888">Saravana Kumar<br>
</font></blockquote></div><br>