Statusmap error while make all


#1

Hi,

i have a proble with my statusmap. On The GUI i get the message “Object not found”. I had already installed the GD-Librarys, but i doesn’t solve the problem. My nagios server works on Suse Linux 9.2 .
The error message looks like this:

/tmp/ccM5AAQh.o(.text+0x1620): In function `load_image_from_file': /home/sysadm/Documents/nagios-cvs/cgi/statusmap.c:2217: undefined reference to `gdImageCreateFromJpeg' collect2: ld returned 1 exit status make[1]: *** [statusmap.cgi] Error 1 make[1]: Leaving directory `/home/sysadm/Documents/nagios-cvs/cgi' make: *** [all] Error 2

Who can help me?? Where is the bug??

Best regards
Navigator


#2

looks like you have the wrong GD libary version but i’m not sure…

Does the ./configure command complain about something?

Luca


#3

Hi,

i have the newest version of the GD-Library 2.0.33.

The ./confugure Doesn’t complain anythig about errors.

Navigator


#4

This solved my gd problems, so maybe it will help you.

“UPGRADING UNIX USERS: READ THIS FIRST! Modern versions of gd install by default to /usr/local/lib and /usr/local/include. If you already have an older version of gd in /usr/lib and /usr/include, you may wish to use:
./configure --prefix=/usr
To ensure that your new installation overwrites the old.”