Try adding /usr/local/lib to /etc/ld.so.conf and run ldconfig (not sure if SuSE has this?) 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.

I've had this sorta problem with other applications on FreeBSD (Nagios was actually OK.)

PS. Don't forget to copy the list in!

Mark Thompson wrote:
./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


"Andy Shellam (Mailing Lists)" <[EMAIL PROTECTED]> 3/2/2007 11:28 AM >>>
What's your ./configure line?


Mark Thompson wrote:
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@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







!DSPAM:37,45e860fc103001942811417!




--
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

-------------------------------------------------------------------------
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@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

Reply via email to