Makefile GD lib problem on Centos 4 (aka RHES 4)

Fran=?utf-8?B?w6c=?=ois Laupretre francois.laupretre-prestataire at calyon.com
Fri Jun 17 12:42:47 CEST 2005


Can you send your 'config.log' file ?

> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net 
> [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf 
> Of Luke Johnson
> Sent: Friday, June 17, 2005 12:41 AM
> To: nagios-users at lists.sourceforge.net
> Subject: Re: [Nagios-users] Makefile GD lib problem on Centos 
> 4 (aka RHES4)
> 
> 
> Thanks Arno,
> 
> In order...
> 
> -I have all the library files, I believe, which the devel packages 
> provide.  Those were the bits I included showing the 
> libpng.so, etc are 
> the actual libraries in their respective paths, and the Yum 
> snippets.  
> I'm pretty dang sure I have libpng/libjpeg/libgd.
> 
> As a second note, the ./configure spits out:
> 
> checking for gdImagePng in -lgd (order 1)... no
> checking for gdImagePng in -lgd (order 2)... no
> checking for gdImagePng in -lgd (order 3)... no
> checking for gdImagePng in -lgd (order 4)... no
> 
> ... but Ifind this...
> 
> [root at chilkat nagios-2.0b3]# grep gdImagePng /usr/include/gd.h
> BGD_DECLARE(void) gdImagePng (gdImagePtr im, FILE * out);
> BGD_DECLARE(void) gdImagePngCtx (gdImagePtr im, gdIOCtx * out);
> BGD_DECLARE(void) gdImagePngEx (gdImagePtr im, FILE * out, int level);
> BGD_DECLARE(void) gdImagePngCtxEx (gdImagePtr im, gdIOCtx * 
> out, int level);
> BGD_DECLARE(void) gdImagePngToSink (gdImagePtr im, gdSinkPtr 
> out); BGD_DECLARE(void *) gdImagePngPtr (gdImagePtr im, int 
> *size); BGD_DECLARE(void *) gdImagePngPtrEx (gdImagePtr im, 
> int *size, int level);
> 
> [root at chilkat nagios-2.0b3]# grep gdImagePng 
> /usr/lib/libgd.so.2 Binary file /usr/lib/libgd.so.2 matches
> 
> [root at chilkat nagios-2.0b3]#
> 
> -I have used the /lib64, /lib, and no paths (in which case 
> Make should 
> fall back to /etc/ld.so.conf file which has both the prior paths).
> 
> -As for Perl, nope, missed those notes.  Hmm, I'll go look for them, 
> wonder what the preferred method is?  Might make for an interesting 
> second topic (embedded=possible memory leaks, 
> mod_perl2='developmental' 
> with Apache2, external perl='slower').
> 
> Thanks again,
> LJ
> 
> Arno Lehmann wrote:
> 
> > Hello,
> >
> > Luke Johnson wrote:
> >
> >> Hi,
> >>
> >> I've setup a few Nagios boxes in years past, and trying it again
> >> today, however I'm running into a (first time for me, but I'm sure 
> >> common) problem with GD libs on Centos 4 (x86_64, Which should be 
> >> identical to Redhat ES 4).  In the past I've hand compiled 
> GD, but on 
> >> this box I made sure to install the necessary packages 
> (info attached 
> >> below).
> >
> >
> > Two things I noticed:
> >
> > - Have you installed the png and jpeg devel packages?
> > I'm not used to RH systems, so I can't tell you how to 
> check, though.
> >
> > - If necessary at all: have you tried giving the lib64 
> directories to
> > ./configure?
> >
> >> [root at chilkat nagios-2.0b3]# make clean > /dev/null [root at chilkat 
> >> nagios-2.0b3]# ./configure --prefix=/usr/local/nagios 
> >> --with-cgiurl=/cgi-bin --with-htmurl=/ --with-nagios-user=nagios 
> >> --with-nagios-group=nagios --with-command-group=nagcmd 
> >> --with-gd-lib=/usr/lib --with-gd-inc=/usr/include 
> >> --enable-embedded-perl
> >
> >                like here?
> >
> > ...
> >
> >> Embedded Perl interpreter will be compiled in...
> >> Internally compiled Perl scripts will be cached...
> >> Using threaded perl
> >
> >
> > Did you read the notes concerning embedded perl and memory leaks? I
> > don't know if this is fixed by now, but that was an issue.
> >
> > Arno
> >
> 
> 
> 
> -------------------------------------------------------
> SF.Net email is sponsored by: Discover Easy Linux Migration 
> Strategies from IBM. Find simple to follow Roadmaps, 
> straightforward articles, informative Webcasts and more! Get 
> everything you need to get up to speed, fast. 
> http://ads.osdn.com/?ad_id=7477&alloc_id=16492> &op=click
> 
> _______________________________________________
> 
> 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
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20050617/62cb92c4/attachment.html>
-------------- next part --------------
Ce message et ses pièces jointes (le "message") est destiné à l'usage    
exclusif de son destinataire.                                            
Si vous recevez ce message par erreur, merci d'en aviser immédiatement   
l'expéditeur  et de le détruire ensuite. Le présent message  pouvant  
être altéré à notre insu,  CALYON Corporate and Investment Bank                              
ne peut pas être engagé par son contenu. Tous droits réservés. 
          
This message and/or any  attachments (the "message") is intended for     
the sole use of its addressee.                                            
If you are not the addressee, please immediately notify the sender and    
then destroy the message.  As this message and/or any attachments may 
have been altered without our knowledge,  its content  is not legally 
binding on CALYON Corporate and Investment Bank. All rights reserved.                                                                


More information about the Users mailing list