Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 02-21-2004, 02:41 PM   #1
Registered: Feb 2004
Posts: 30

Rep: Reputation: 15
2 versions of glib conflict

I have been trying to install atk and this is the error I got.

Installing atk-1.2.4
*** '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/ 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
configure: error:
*** GLIB 2.0.0 or better is required. The latest version of
*** GLIB is always available from

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/ (shown below)

[root@localhost etc]# cat

but I dont know what link to add, please help.
Old 02-21-2004, 03:34 PM   #2
Senior Member
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 48
hmm, try /usr/lib/glib/include

this is where my glibconfig.h is
Old 02-21-2004, 04:29 PM   #3
Registered: Feb 2004
Posts: 30

Original Poster
Rep: Reputation: 15
well i dont have the glibconfig.h in /usr/lib/glib/include but got it some other dir which i included .. as below but it didnt work.

[root@localhost etc]# cat


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
conflicting glib versions and glib-config scius Linux - Software 5 06-03-2008 03:35 AM
Two versions of glib installed rundjuling Linux - Software 5 06-03-2008 03:30 AM
how to install new versions of glib? gobi_dgm Linux - Newbie 2 02-08-2005 12:53 AM
GLib 1.2.8 & 1.2.10 conflict eeverde Linux - Newbie 0 08-04-2004 03:15 AM
Two versions of Glib? OnlyMe Linux - Software 1 04-21-2004 07:13 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:04 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration