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

Rogelio

scubacuda at gmail.com
Sat Dec 1 17:13:50 UTC 2007


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.

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

Here is what I got when I tried to "rpm -i" install the gdk-pixbuf

rpm -i gdk-pixbuf-0.22.0-17.el4.3.i386.rpm
error: Failed dependencies:
        libgdk-1.2.so.0 is needed by gdk-pixbuf-0.22.0-17.el4.3.i386
        libgtk-1.2.so.0 is needed by gdk-pixbuf-0.22.0-17.el4.3.i386
    Suggested resolutions:
        /home/buildcentos/CENTOS/en/4.0/i386/CentOS/RPMS/gtk+-1.2.10-36.i386.rpm

I then installed that gtk rpm, and I got the following issue:

rpm -i gtk+-1.2.10-36.i386.rpm
error: Failed dependencies:
        gdk-pixbuf >= 0.18.0 is needed by gtk+-1.2.10-36.i386
    Suggested resolutions:
        /home/buildcentos/CENTOS/en/4.0/i386/CentOS/RPMS/gdk-pixbuf-0.22.0-17.el4.3.i386.rpm

So, I ran "yum install gdk-pixbuf", which then grabbed the gdk-pixbuf
and gtk+ packages.

Now, the only gd package that has a problem is php-gd (which I'm not
even sure is related)

rpm -i php-gd-4.3.9-3.22.4.i386.rpm
error: Failed dependencies:
        php = 4.3.9-3.22.4 is needed by php-gd-4.3.9-3.22.4.i386
    Suggested resolutions:
        /home/buildcentos/CENTOS/en/4.0/i386/CentOS/RPMS/php-4.3.9-3.22.4.i386.rpm

Should I perhaps be looking in the direction of ldconfig to fix my problems?



More information about the CentOS mailing list