[CentOS] unstable libdg error when ./configure Perfparse on Nagios 2.x / CentOS 4.x

Garrick Staples garrick at usc.edu
Sat Dec 1 18:17:12 UTC 2007


On Sat, Dec 01, 2007 at 09:13:50AM -0800, Rogelio alleged:
> On 11/30/07, Garrick Staples <garrick at usc.edu> wrote:
> > I just downloaded and tried it.  Turns our you need the gd-progs package
> > installed to get the gdlib-config script (necessary to satisfy perfparse's
> > configure).
> 
> I have those installed already, but am not sure what is still hosed.
> 
> Right now, I cannot get past the configure script. I keep getting the error:
> 
> (bunch of OKs, then the following):
> 
> checking for gdlib-config... /usr/bin/gdlib-config
> checking for gdMalloc in -lgd... no
> configure: error: required library libgd unusable.
> Install required and dependent files and rerun configure.
> See config.log or FAQs for details.

So what does config.log have about this error?

 
> Not knowing what else to do, I reinstalled (via rpm -i) the following packages
> 
> gd-2.0.28-5.4E.i386.rpm        gdk-pixbuf-0.22.0-17.el4.3.i386.rpm
> gdbm-1.8.0-24.i386.rpm         gd-progs-2.0.28-5.4E.i386.rpm
> gdbm-devel-1.8.0-24.i386.rpm   gtk+-1.2.10-36.i386.rpm
> gd-devel-2.0.28-5.4E.i386.rpm  php-gd-4.3.9-3.22.4.i386.rpm

Aren't you on an x86_64 machine?  Why are all these packages i386?

Reinstalling packages never fixes anything (especially random, unrelated
packages like gdbm and gtk).  Just use yum to get the packages again and put
your system back together again.
 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.centos.org/pipermail/centos/attachments/20071201/7aed7f21/attachment.sig>


More information about the CentOS mailing list