LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 10-08-2009, 08:42 PM   #1
Styles
LQ Newbie
 
Registered: Aug 2008
Posts: 15

Rep: Reputation: 0
Cent OS GLib 2.12.3 pkg-config --modversion glib-2.0' returned 2.22.2


Alright, so I'm trying to install Irssi on my Cent OS box. I run cPanel on it too. I tried to install it, andi t said I don't have Glib installed, so I tried yum install glib-d* grabbed it. Then, it still didn't work and I read to manually install it. So I grabed the source, ./configure ... ect.. make ... make install.

Boom didn't work. I read further the pgkconfig needed to be updated so I then ran.

export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/lib/pkgconfig

It went to compile Irss again, and got

Quote:
checking for pkg-config... (cached) /usr/bin/pkg-config
checking pkg-config is at least version 0.7... yes
checking for GLIB - version >= 2.6.0...
*** 'pkg-config --modversion glib-2.0' returned 2.22.2, but GLIB (2.12.3)
*** 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
no

*** If you don't have GLIB, you can get it from ftp://ftp.gtk.org/pub/glib/
*** We recommend you get the latest stable GLIB 2 version.
*** Compile and install it, and make sure pkg-config finds it,
*** by adding the path where the .pc file is located to PKG_CONFIG_PATH
I'm at a loss and I certainly don't want to break my cPanel install.

Any ideas // help? Have I already possibly broken it? I don't think GLib is required for cPanel... so I doubt it.
 
Old 10-09-2009, 03:12 AM   #2
knudfl
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
Quote:
checking for GLIB - version >= 2.6.0
Means, that the system version is OK.
Should be any later than 2.6 or just version 2.6 !

# yum install glib2-devel
.. will provide 2.12.3.

( # 'yum install glib-d*' gets : "old style" = version 1.2.10.)
.....

And better delete all the glib-2.22 files in /usr/local/lib.
Having an extra glib2 in a system path can ( will ) trash
applications.
Extra glib / gtk versions are supposed to be created with e.g.
' .configure --prefix=/usr/local/glib222/ '
.....
Good luck.
.....

Last edited by knudfl; 10-09-2009 at 03:24 AM.
 
  


Reply

Tags
glib2



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
'pkg-config --modversion glib-2.0' returned 2.16.3, but GLIB (2.14.6) pgb205 Linux - Software 7 05-17-2008 03:21 PM
Unable to install ethereal, I get the error: 'pkg-config --modversion glib-2.0' retur abefroman Linux - Security 5 07-09-2007 11:09 AM
pkg-config glib gtk gdk Peterius Linux - Software 6 05-11-2007 02:38 AM
pkg-config and glib: Uninstalling Old and Installing New CooManChu Linux - Software 6 09-06-2005 03:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions

All times are GMT -5. The time now is 03:12 PM.

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