LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 01-05-2005, 05:33 PM   #1
hotstyle765
LQ Newbie
 
Registered: Jan 2005
Posts: 13

Rep: Reputation: 0
pkg-config error


I am trying to install this program called xchat and when i type ./configure

i get this error...


*** 'pkg-config --modversion glib-2.0' returned 2.6.0, but GLIB (2.4.7)
*** 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

I did install glib 2.6.0 after i installed pkg-config so i know that is why the error is happening but how do i fix it? I dont understand the explanation above.


Ive been working for hours trying to fix this and i am a ExtrEEEM Noob to linux

can someone lend a hand and help me out.

Thanks
 
Old 01-06-2005, 06:58 AM   #2
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
first thing is what distro are you using?

second is how did you install glib (i.e. did you just do ./configure, make, & make install)?
by default, ./configure without any options sets /usr/local as the root of install. So any libs will go to /usr/local/lib, executables will go to /usr/local/bin etc...

Most distros install glib-2.x in /usr/ so if this is your case and you did not remove the original one before doing make install in 2.6 you will end up with two glib-2.x's on your system.
you cannot install two of the same major versions on the same machine in different directories
such as glib-2.4.7 in /usr/lib and glib-2.6.0 in /usr/local/lib this is what pkg-config is complaining about

however, just FYI,
you can install say glib-2.6.0 and glib-1.2.10 on the same machine without any problems. (this is usually done on most distros)
 
Old 01-06-2005, 07:58 AM   #3
Fusionline
LQ Newbie
 
Registered: Jan 2005
Posts: 13

Rep: Reputation: 0
Hi,
Before this if u try to configure xchat it will give the requirements that u need with glib etc,
I got the same error when i tried to install gtk+2.6.
For this i observed that i got a older version of pango
There was my fault. So u also did the same error th
 
Old 01-06-2005, 08:53 AM   #4
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304

Rep: Reputation: 65
you can delete the old version of glib, probably in /usr/lib/ or reconfigure and install the newer glib using, configure --prefix=/usr.
 
Old 01-06-2005, 10:38 AM   #5
hotstyle765
LQ Newbie
 
Registered: Jan 2005
Posts: 13

Original Poster
Rep: Reputation: 0
I am using xandros 3 delux

Will try your comments
Thanks
 
Old 01-31-2005, 02:14 PM   #6
KidsWriter71
LQ Newbie
 
Registered: Sep 2004
Distribution: Slackware 10, Mandrake 10.1
Posts: 17

Rep: Reputation: 0
Quote:
Originally posted by whansard
you can delete the old version of glib, probably in /usr/lib/ or reconfigure and install the newer glib using, configure --prefix=/usr.
I was having the same problem as the OP, when I was attempting to install the latest version of GIMP (2.2.3) on Mandrake 10.1. Your suggestion above fixed the problem for me. Thanks.
 
Old 01-31-2005, 03:46 PM   #7
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304

Rep: Reputation: 65
Quote:
Originally posted by KidsWriter71
I was having the same problem as the OP, when I was attempting to install the latest version of GIMP (2.2.3) on Mandrake 10.1. Your suggestion above fixed the problem for me. Thanks.
I often post that suggestion because i've seen that problem myself, and sometimes somebody posts back that what i said to try wouldn't make any difference. Thanks back.
 
  


Reply



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
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
DPKG & "files list file for package `pkg-config' contains empty filename" error :( Angelus Debian 2 04-02-2005 07:34 AM
pkg-config error with emerge -aD gnome-python on Gentoo 2.6.9-gentoo-r6 ghrellin Linux - Software 2 12-22-2004 06:37 PM
pkg-config error. eye Linux - Software 2 08-29-2003 10:01 AM
pkg-config Keebler Linux - Software 2 04-30-2003 02:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:57 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