Share your knowledge at the LQ Wiki.
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 04-05-2009, 10:51 AM   #1
Registered: Nov 2008
Location: وادی ھنزہ
Distribution: Solaris 5.10, Debian Server 5.2, CentOS 5.6
Posts: 226
Blog Entries: 3

Rep: Reputation: 38
Problems updating glib to >then 2.0


while trying to compile a plug-in for mplayer I get the following message.

checking for GLIB... configure: error: Package requirements (glib-2.0 ) were not met:

No package 'glib-2.0' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables GLIB_CFLAGS
and GLIB_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
while i have the following glib.

[root@Wazirkutz]# rpm -qa |grep glib
i have source for glib > 2.2

I need proper procedure to remove old and compile and install glib-2.2. Could any one help me out? thanks

I am using CentOS 5.3 as OS.

System config is as following.

[root@Wazirkutz ~]# uname -a
Linux Wazirkutz
2.6.18-128.1.6.el5 #1 
SMP Wed Apr 1 09:10:25 EDT 2009 
x86_64 x86_64 x86_64 GNU/Linux
Thanks in advance once again.

Last edited by baig; 04-05-2009 at 10:56 AM.
Old 04-05-2009, 12:44 PM   #2
ReliaFree Maintainer
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
According to Distrowatch, CentOS-5.3 ships with GTK+-2.10.14 and GNOME-2.16. You have to have glib2 installed for GTK+-2.10.14 and GNOME-2.16. You still may need to install the development files for glib2 and you should use your pacakge manager to do that.
Old 04-05-2009, 04:30 PM   #3
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 'yum install glib2-devel' will do.

'glib2' cannot be removed, 530 of your installed
packages depends on the installed version.

( The version is 2.12.3 in CentOS 5.3 ).

Last edited by knudfl; 04-05-2009 at 04:33 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
glib and gtk+ updating tbutts Linux - Newbie 4 07-27-2007 07:46 AM
Problems updating glib baldwonder Linux - Software 5 02-14-2006 07:58 AM
Updating gLib and GTK Darksun Linux - Software 1 04-24-2004 04:49 PM
updating glib toships Linux - Newbie 4 02-28-2004 06:51 PM
Updating glib slurride Slackware 1 02-22-2003 11:28 PM > Forums > Linux Forums > Linux - Newbie

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