Nagios on Solaris 8 -- *** GD, PNG, and/or JPEG libraries could not be located... ***

Kent A. Rademacher krademacher at mcdonaldbradley.com
Wed Feb 25 21:41:18 CET 2004


Have you tried setting your LD_LIBRARY_PATH?  Something like:

setenv LD_LIBRARY_PATH /usr/local/lib:$LD_LIBRARY_PATH

Kent

Narayanasamy, Sundar wrote:

> Thanks. I get the error even before I generate my Makefile.
> 
> when I run ./configure, I get the following even though it gets
> completed successfully.
> 
> *****************************
> checking for main in -liconv... (cached) yes
> 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.
> 
> NOTE: In addition to the gd-devel library, you'll also need to make
>       sure you have the png-devel and jpeg-devel libraries installed
>       on your system.
> *************************************
> 
> Sundar
> 
> 
> 
> -----Original Message-----
> From: Kent A. Rademacher [mailto:krademacher at mcdonaldbradley.com]
> Sent: Wednesday, February 25, 2004 10:15 AM
> To: nagios-users at lists.sourceforge.net
> Subject: Re: [Nagios-users] Nagios on Solaris 8 -- *** GD, PNG, and/or
> JPEG libraries could not be located... ***
> 
> 
> I bu
> 
> Narayanasamy, Sundar wrote:
> 
>>Hello,
>>
>>I am trying to install Nagios on Solaris 8. I am having problem
> 
> letting Nagios see GD/PNG/JPEG even with --with-gd-lib and --with-gd-inc
> flags. Has anybody done this successfully on Solaris 8? If yes, please
> let me know how I could get it done.
> 
>>I will really appreciate any help I get.
>>
>>Sundar
> 
> 
> I built everything on Solaris 8.  I downloaded all of the required 
> packages from sunfreeware.com.  I had to add the following line in 
> cgi/Makefile: "LDFLAGS= -R /usr/local/lib".
> 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3084 bytes
Desc: S/MIME Cryptographic Signature
URL: <https://www.monitoring-lists.org/archive/users/attachments/20040225/47838291/attachment.bin>


More information about the Users mailing list