`make all` error

Mike McClure mmcclure at pneservices.com
Fri Jan 10 14:47:39 CET 2003


John,

Did "configure" find the libraries?  Did you specify --with-gd-inc and --with-gd-lib?

Also, please tell us what platform you are using.  Sparc/Solaris 8?

- Mike

> I'm getting the following error when trying to install Nagios:
>
> make all
> cd ./base && make
> `nagios' is up to date.
> cd ./cgi && make
> 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 -ljpeg edata.o
> ../xdata/xedtemplate.c -o statusmap.cgi
> Undefined               first referenced
>  symbol                     in file
> gdImageCreateFromJpeg               /var/tmp/ccWOs619.o
> ld: fatal: Symbol referencing errors. No output written to statusmap.cgi
> collect2: ld returned 1 exit status
> *** Error code 1
> make: Fatal error: Command failed for target `statusmap.cgi'
> Current working directory /usr/local/install/nagios-1.0/cgi
> *** Error code 1
> make: Fatal error: Command failed for target `all'
>
>
>
> I do have the proper LD path for the GD library:
>
> env
>
> PATH=/bin:/usr/bin:/usr/ucb:/usr/sbin:/etc:/usr/ccs/bin:/usr/openwin/bin:/usr/local/bin:.
> PS1=#
> PWD=/usr/local/install/nagios-1.0
> SHELL=/bin/csh
> TERM=xterm
> TZ=US/Eastern
> MANPATH=/usr/local/man:/usr/openwin/man:/usr/man:/usr/local/man
> LD_LIBRARY_PATH=/usr/lib:/usr/openwin/lib:/usr/local/lib
> EDITOR=vi
>
> Can anyone help me?
>
> Regards,
>
> John
>
>

-- 
Mike McClure, CCIE # 5125, CISSP # 30232
PNE Services, Inc. -  http://www.pneservices.com
mmcclure at pneservices.com
mobile: 913-636-5590



-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com




More information about the Users mailing list