Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 10-11-2007, 04:54 PM   #1
Registered: Jun 2004
Location: unknown place in NYC
Distribution: Ubuntu
Posts: 377

Rep: Reputation: 30
glib-config problem

I was ./configure a software and error comes, how could i solve this issue

ecking for GLIB - version >= 1.2.10...
*** 'glib-config --version' returned 1.2.2, but GLIB (1.2.10)
*** was found! If glib-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 glib-config was wrong, set the environment variable GLIB_CONFIG
*** to point to the correct copy of glib-config, and remove the file config.cache
*** before re-running configure
Old 10-12-2007, 10:40 AM   #2
ReliaFree Maintainer
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
Did you follow the instructions provided by configure script?
Old 10-21-2007, 03:02 PM   #3
LQ Newbie
Registered: Oct 2007
Posts: 3

Rep: Reputation: 0
NOTE: I'm fairly new to Linux myself, so if this is not correct, please correct me.

When glib was last configured someone might have used:

when they should have used:

./configure --prefix=/usr
You can check to see if this is the case by entering:
sudo find / -name glib-2.0.pc -print
If you see a search result for both (as below):


Then you know that is the problem.

If so, configure glib using

./configure --prefix=/usr/local
It should override the previous version of glib. Then you should be able to configure your other software.


Last edited by Cryo2010; 10-21-2007 at 04:22 PM.


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
gtk-config and glib-config scripts not found? Frustin Linux - General 17 12-26-2008 03:14 PM
conflicting glib versions and glib-config scius Linux - Software 5 06-03-2008 03:35 AM
Problem with Glib-config saadiaomar Linux - Software 1 03-30-2006 04:08 PM
glib-config? doralsoral Linux - Software 5 12-30-2004 03:05 PM
Cannot find gtk-config and glib-config NOT_Skeletor Linux - Software 3 06-27-2003 10:39 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:45 PM.

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