Error when Compiling Nagios 1.0

Anthony & Terri Schutzler truckfund at insightbb.com
Sun May 4 01:56:07 CEST 2003


I'm not sure what to look for to answer your question. I looked in the
Makefile and configure.in files for the LD path. Is there a easy way to
find out if I installed the headers? I did set the flags to install the
libaries and share the libaries for JPEG.
>
> do you have the headers installed, - also does the LD path include
> wherever you installed the liberaries?
>
> -sg
>
> On Sat, 3 May 2003, Anthony & Terri Schutzler wrote:
>
>> Hello, I had Nagios 1.0b4 installed with no problems until the servers
>> hard drive failed. I rebuilt the server with dual mirrored drives and am
>> trying to reinstalled Nagios using version 1.0 on a Redhat 8.0 box. I
>> receive a error during the compile of the CGI's. I have tried Beta 4 and
>> 6
>> with the same problems. I have the following libaries installed or
>> Nagios
>> to work.
>>
>> Zlib 1.1.3
>> Freetype 2.1.4
>> GD Lib 2.0.12
>> Libpng 1.2.5
>> Jpeg 6B
>>
>> The above module will compile and install with no problems. GD Lib will
>> show support for JPEG, PNG, and Freetype. I run configure, and make all
>> hfor Nagios, but "Make all" will error out with the following. (I have
>> only listed the CGI being complile that has the error.)
>>
>> gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI  statusmap.c getcgi.o cgiutils.o
>> auth.o
>> popen.o  ../common/objects.c ../xdata/xodtemplate.c
>> ../common/statusdata.c
>> ../xdata/xsddefault.c -lgd -lz -lm -lpng edata.o ../xdata/xedtemplate.c
>> -o
>> statusmap.cgi
>> /tmp/ccOMWesD.o: In function `load_image_from_file':
>> /home/anthony/nagios/nagios-1.0/cgi/statusmap.c:2222: undefined
>> reference
>> to `gdImageCreateFromJpeg'
>> collect2: ld returned 1 exit status
>> make[1]: *** [statusmap.cgi] Error 1
>> make[1]: Leaving directory `/home/anthony/nagios/nagios-1.0/cgi'
>> make: *** [all] Error 2
>> [root at linux1 nagios-1.0]#
>>
>> Any ideas? Thanks Anthony
>>
>
> --
>
>



-----------------------------------------
This email was sent using SquirrelMail.
   "Webmail for nuts!"
http://squirrelmail.org/


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Nagios-users mailing list
Nagios-users at 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





More information about the Users mailing list