2 versions of glib conflict
I have been trying to install atk and this is the error I got.
*** 'pkg-config --modversion glib-2.0' returned 2.2.3, but GLIB (2.2.1)
*** 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
*** GLIB 2.0.0 or better is required. The latest version of
*** GLIB is always available from ftp://ftp.gtk.org/.
I have installed glib 2.2.3 using the default options but I am not able to run glib-config
[root@localhost root]# glib-config --version
bash: glib-config: command not found
From glib-2.2.3 manual : "/usr/local/lib/glib-2.0/include" has new glib and it advices that "/usr/local/include/glib-2.0" has the old version and should be deleted. The new glib directory (/usr/local/lib/glib-2.0/include) has only one file (shown below) so I am skeptical to remove the old glib.
[root@localhost include]# pwd
[root@localhost include]# ls
I know that I have to edit /etc/lo.so.conf (shown below)
[root@localhost etc]# cat ld.so.conf
but I dont know what link to add, please help.