GD, PNG, and/or JPEG libraries could not b e located

Dave Francis DFrancis at nzaa.co.nz
Wed Sep 10 23:05:38 CEST 2003


Hi Steve
 
Cheers for your reply. Yes i used the --with options with my configure.
However, i didnt compile gd, i used rpm's. I tried compiliing, but got stuck
in a circle of dependancies. 
Perhpas i will have to start it all afresh with the source. 
Has anyone successfuly used the RPM's for this??
 
 
Cheers
Dave
 
 

-----Original Message-----
From: Steve OBrien [mailto:sobrien at ci.bend.or.us] 
Sent: Thursday, 11 September 2003 4:28
To: Dave Francis
Cc: nagios-users at lists.sourceforge.net;
nagios-users-admin at lists.sourceforge.net
Subject: Re: [Nagios-users] RE: GD, PNG, and/or JPEG libraries could not be
located



I have it up and running on RH 9, initially with gd 1.8.4-11 but I built gd
2.0.15 from source and installed and then recompiled using gd 2.0.15 beacuse
some of my gd2 icons were not showing up.  Did you specify gd lib and
include paths in your configure? 

Steve O'Brien
City of Bend
Network Administrator
sobrien at ci.bend.or.us
541-322-6393 



Dave Francis <DFrancis at nzaa.co.nz> 
Sent by: nagios-users-admin at lists.sourceforge.net 


09/09/2003 09:23 PM 


To
nagios-users at lists.sourceforge.net 

cc

Subject
[Nagios-users] RE: GD, PNG, and/or JPEG libraries could not be located

	




 Hi 
  
I am also having this problem, and have been through every idea on every
mailing list everywhere, and still get the same message. 
GD, PNG, and/or JPEG libraries could not be located! 
  
I am using GD 2.0.15 currently, but tried with 1.8.* versions aswell. 
Ive tried different versions of libjpg, libpng, zlib, and all the devels,
and still no joy. One thing i note is that libgd-devel-1.3.4 convlicts with
gd-devel-2.0.15. Makes sense, but does that mean you dont need libgd-devel? 
  
Anyway, is someone able to list the versions of the libraries they have used
successfully? 
Im running Redhat 9.0, Nagios 1.1 
  
Any help with this would be hugely appreciated. 
  
Cheers 
Dave 
  
  
  
  
____________________________________________________________________________
_____________________________________ 


Well, I ran the configure with the options mentioned, and it worked. So
I then ran make clean and re-ran configure without the '--with-gd-lib'
and '--with-gd-inc' options and this compiled just fine as well. So it
appears as though I did not need them, but YMMV so it probably wouldn't
hurt to use them.
 
I did install new JPEG libs, although I attempted an rpm update on the
zlibs and this did not install as it was the same version.
 
I'm not sure what you mean by the last question. If I'm interpreting it
correctly, then the answer is no, the gd and zlib files are not in the
same directory.
 
Don't be confused. If you haven't already tried what I mentioned earlier
(make clean, configure, recompile), then try that now. If it still does
not work, scroll up through the configure output until you see the point
where it fails. There are notes there outlining the steps to take when
encountering such a failure, such as running ldconfig to update the link
db. You may need to do this as well.
 
HTH.

Garry W. Cook, CCNA
Network Infrastructure Manager
MACTEC, Inc. -  <http://www.mactec.com/> http://www.mactec.com/
303.308.6228 (Office) - 303.881.5157 (Mobile) 

-----Original Message-----
From: Heslin, Peter [mailto:peter.heslin at us.mizuho-sc.com] 
Sent: Tuesday, July 15, 2003 8:15 AM
To: Cook, Garry
Subject: RE: [Nagios-users] GD, PNG, and/or JPEG libraries could not be
located



Hi Garry,

 

Thanks for the reply.  When you re-run the configure, did you use any
options such as "-with-gd-lib" and "-with-gd-inc" ?   Did you have to
install new JPEG libs?  I already had installed, so I didn't bother.
Also had the zlib, so I didn't get that.  Do you need to have zlib in
the same dir when you run configure for the GD?  

 

Very Confused...

 

Pete

 

-----Original Message-----
From: Cook, Garry [mailto:GWCOOK at ma...] 
Sent: Tuesday, July 15, 2003 9:31 AM
To: Heslin, Peter; nagios-users at li...
Subject: RE: [Nagios-users] GD, PNG, and/or JPEG libraries could not be
located

 

I just ran into this issue yesterday. Once you've downloaded and
installed all of the required libraries, be sure to run a 'make clean'
to remove leftover files from your previous compile. Then run
'configure' and recompile Nagios. This is what worked for me.

Garry W. Cook, CCNA
Network Infrastructure Manager
MACTEC, Inc. -  <http://www.mactec.com/> http://www.mactec.com/
303.308.6228 (Office) - 303.881.5157 (Mobile) 

-----Original Message-----
From: Heslin, Peter [mailto:peter.heslin at us.mizuho-sc.com] 
Sent: Monday, July 14, 2003 2:16 PM
To: 'nagios-users at li...'
Subject: [Nagios-users] GD, PNG, and/or JPEG libraries could not be
located

Hello,

 

I need help getting the GD libs detected during configure.  I downloaded
and installed the recommended gd,png libs and still nothing.  I tried
specifying at the command line with -with-gd-lib etc... and also
nothing.  I am running SUSE 8.2 and latest Nagios.  Can anyone assist
with this?

 

Thanks,

 

Pete



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20030911/52e61c90/attachment.html>


More information about the Users mailing list