Quote:
Originally posted by ns_sanish
Hi all,
I am trying to install pango-1.6.0 on my rh9 machine. Running the "configure" script threw me the following error.
checking for pkg-config... (cached) /usr/bin/pkg-config
checking for GLIB - version >= 2.4.0...
*** 'pkg-config --modversion glib-2.0' returned 2.5.3, but GLIB (2.3.0)
*** 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
no
configure: error:
*** Glib 2.4.0 or better is required. The latest version of
*** Glib is always available from ftp://ftp.gtk.org/.
Now how do I remove the old version of glib from my s/m? Any pointers?
Thanks in advance,
San
|
Hey dude!
This answer are probably some months late and you have solved the problem, but there might be other that
will counter the same problem.
Anyway, uninstall 2.5.3 from it source directory with following commands:
now you have uninstalled 2.5.3, than you can manual remove the old one with just removing the glib-2.0 files or when you makes the installation of glib 2.5.3 just type
Code:
# ./configure --prefix=/usr/ && make && make install
this worked for me anyway, it might be so that it writes over the old versions files!
to see which one that pkg-config gives, just type:
Code:
# pkg-config --modversion glib-2.0
now it should give 2.5.3
ehmm...