Share your knowledge at the LQ Wiki.
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 11-24-2004, 08:04 AM   #1
LQ Newbie
Registered: Apr 2003
Distribution: Fedora Core 3
Posts: 15

Rep: Reputation: 0
Question about Glib Library


I am compiling a source code which needs Glib library. When I do ./configure the following error message is produced.

checking for glib-config... no
checking for GLIB - version >= 1.2.0... no
*** The glib-config script installed by GLIB could not be found
*** If GLIB was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the GLIB_CONFIG environment variable to the
*** full path to glib-config.
configure: error: require glib

I actually can't find the glib-config scipt.

However, I found a lot of libraries which I believe they are glib library files ( Newbie's language)



Can anyone tell me what's going on?

Old 11-24-2004, 08:15 AM   #2
Senior Member
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,994

Rep: Reputation: 76
From googling around, it looks like glib-config was changed to pkg-config at some stage, so you may be trying to compile something against a version of glib that it wasn't written for.

Also, I'd check the versions of your glib package against your glib-devel; you seem to have version 1.2 libraries with version 2.0 headers (which won't work, but it could just be a weird naming thing).
Old 11-24-2004, 08:21 AM   #3
Registered: Aug 2004
Distribution: LFS
Posts: 350

Rep: Reputation: 31
There are two versions of glib, 1.x and 2.x. Its quite ok to have both installed. From the above post it looks like you have the development libs for 2.0 but not for 1.2.
Old 11-24-2004, 11:06 AM   #4
Senior Member
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 53
Originally posted by madluther
There are two versions of glib, 1.x and 2.x. Its quite ok to have both installed. From the above post it looks like you have the development libs for 2.0 but not for 1.2.
yea that's it
glib1 and glib2 are designed so both can live on your system cause lots of apps still need the old one


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
Glib library install older than 2.2 ?? BajaNick Linux - General 2 06-24-2004 12:07 PM
problems upgrading glib library linux-singapore Linux - Software 0 01-13-2004 08:00 PM
Question about GLIB 1.2.2 Inexactitude Linux - Newbie 1 10-18-2003 05:09 PM
glib question iceman47 Linux From Scratch 4 03-08-2003 06:52 PM
glib library moger Slackware 4 12-09-2002 07:29 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:15 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
Open Source Consulting | Domain Registration