Click to See Complete Forum and Search --> : Removing GLib


Fermig
02-25-2003, 03:17 AM
I've been trying to install GTK+ (gtk+-2.2.1) for a chess game. I've also had to install GLib (glib-2.2.1) and ATK (atk-1.2.0).
When I run ./configure for atk, I get this error message,

checking for GLIB - version >= 2.0.0...
*** 'pkg-config --modversion glib-2.0' returned 2.2.1, but GLIB (2.0.6)
*** was found! If pkg-config was correct, then it is best
*** to remove the old version of GLib. You may also be able to fix the error
*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing
*** /etc/ld.so.conf. Make sure you have run ldconfig if that is
*** required on your system.
*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH
*** to point to the correct configuration files

I've tried adjusting LD_LIBRARY_PATH, but that didn't work. I've no idea how to modify the file /etc/ld.so.conf. I can't find GLIB (2.0.6). I tried uninstalling the current version of GLib, but that was version 2.2.5, and didn't work either.
Can someone tell me how to find GLIB (2.0.6) and/or get rid of the error?

mdwatts
02-25-2003, 08:43 AM
What is the content of /etc/ld.so.conf and have you run

ldconfig

since installing the newer libraries?

rpm -q glib

rpm -ql glib (will list the files installed by the package)

Fermig
02-25-2003, 04:57 PM
there are only two entries in /etc/ld.so.conf,

/usr/X11R6/lib
/usr/lib/qt3/lib

I ran ldconfig, but it didn't seem to do anything. I ran it again with the -v option, and got a massive list of lib.... files printed out.

I didn't have rpm pakages; they were tarballs (?). I de-archived them with,

$ tar xvfz glib-2.2.1.tar.gz

$ rpm -q glib said "package glib not installed"