<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Try adding /usr/local/lib to /etc/ld.so.conf and run ldconfig (not sure
if SuSE has this?)<br>
Or try linking /usr/local/lib/libgd*.so* /usr/local/lib/libpng*.so*
/usr/local/lib/libjpeg*.so* /usr/local/lib/libttf*.so.* into /lib.<br>
<br>
I've had this sorta problem with other applications on FreeBSD (Nagios
was actually OK.)<br>
<br>
PS. Don't forget to copy the list in!<br>
<br>
Mark Thompson wrote:
<blockquote cite="mid45E80C56.0C26.00C8.0@pshtc.ks.gov" type="cite">
<pre wrap="">./configure --sysconfdir=/etc/nagios --localstatedir=/var/nagios --with-command-group=nagcmd --with-gd-lib=/usr/local/lib --with-gd-inc=/usr/local/include.
The 4 libs that are listed in the faq were installed with yast.
thanks
</pre>
<blockquote type="cite">
<blockquote type="cite">
<blockquote type="cite">
<pre wrap="">"Andy Shellam (Mailing Lists)" <a class="moz-txt-link-rfc2396E" href="mailto:andy.shellam-lists@mailnetwork.co.uk"><andy.shellam-lists@mailnetwork.co.uk></a> 3/2/2007 11:28 AM >>>
</pre>
</blockquote>
</blockquote>
</blockquote>
<pre wrap=""><!---->What's your ./configure line?
Mark Thompson wrote:
</pre>
<blockquote type="cite">
<pre wrap="">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
<a class="moz-txt-link-freetext" href="http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV">http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV</a>
_______________________________________________
Nagios-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a>
<a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/nagios-users">https://lists.sourceforge.net/lists/listinfo/nagios-users</a>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
</pre>
</blockquote>
<pre wrap=""><!---->
!DSPAM:37,45e860fc103001942811417!
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Andy Shellam
NetServe Support Team
the Mail Network
"an alternative in a standardised world"
p: +44 (0) 121 288 0832/0839
m: +44 (0) 7818 000834</pre>
</body>
</html>