Redhat 8.0 and trends.c compilation problem

Chris Walker chris.walker at band-x.net
Fri Jan 24 14:11:04 CET 2003


hi,

what does your /etc/ld.so.conf look like
make sure it has /usr/lib in it and run ldconfig.

cheers,


Chris Walker




On Fri, 2003-01-24 at 08:07, Zbynek Matousek wrote:
>  Hi, 
> I just compiled nagios 1.0 and i have problem with compileing cgi script trends.
> 
> in the output of ./configure I have 
> 
>   checking for gdImagePng in -lgd (order 1)... (cached) no
>   checking for gdImagePng in -lgd (order 2)... (cached) no
>   checking for gdImagePng in -lgd (order 3)... (cached) no
> 
> 
>   *** GD, PNG, and/or JPEG libraries could not be located... *********
> 
>   Boutell's GD library is required to compile the statusmap, trends
>   and histogram CGIs.  Get it from http://www.boutell.com/gd/, compile
>   it, and use the --with-gd-lib and --with-gd-inc arguments to specify
>   the locations of the GD library and include files.
> 
> but the gd lib i have installed
>   [zbynek at HCTest nagios-1.0]$ rpm -q gd gd-devel
>   gd-1.8.4-9
>   gd-devel-1.8.4-9
> 
> and the library is in 
>   /usr/lib/libgd.a
>   /usr/lib/libgd.so
> 
> 
> I have tried to download the newest version from http://www.boutell.com/gd/ and compile it but it has no effect on compiling trens.c 
> 
> I was looking in mailing list archive and there was some questions same as my but no answer. 
> 
> Did i miss something?
> 
> thanks for help
> 
> 
> 
> 
> 
> 
> 
> -------------------------------------------------------
> This SF.NET email is sponsored by:
> SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
> http://www.vasoftware.com
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users




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