LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 06-04-2003, 04:28 PM   #1
Greg21
Member
 
Registered: Jan 2002
Posts: 72

Rep: Reputation: 15
Glib install problems


---------------------
checking for GLIB - version >= 2.0.0...
*** 'pkg-config --modversion glib-2.0' returned 2.2.1, but GLIB (2.0.6)
*** 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
configure: error:
*** GLIB 2.0.0 or better is required. The latest version of
*** GLIB is always available from ftp://ftp.gtk.org/.
----------------------

This is the error message I get when running ./configure for a program that requires glib. I assume its because I tried to install Glib 2.2.1 without removing 2.0.6. How do i remove the older version (or fix this problem another way). I am not a total newbie, but chances are most things you ask I won't know about (or I would've tried em)

I ran ldconfig.

Greg
 
Old 06-04-2003, 04:48 PM   #2
mcleodnine
Senior Member
 
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
what does 'echo $LD_LIBRARY_PATH' return?
 
Old 06-04-2003, 05:08 PM   #3
Greg21
Member
 
Registered: Jan 2002
Posts: 72

Original Poster
Rep: Reputation: 15
[root@elmo pango-1.2.2]# echo $LD_LIBRARY_PATH

[root@elmo pango-1.2.2]#
 
Old 06-05-2003, 03:53 PM   #4
Greg21
Member
 
Registered: Jan 2002
Posts: 72

Original Poster
Rep: Reputation: 15
I've put another 3 or 4 hours into this and I still can't figure it out. I think its because I installed a new glib over my old one, but I have NO IDEA how to remove glib 2.0.6 .

Thanks
Greg
 
Old 06-05-2003, 04:21 PM   #5
mcleodnine
Senior Member
 
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
You can edit your /etc/ld.so.conf and add the path to your glib-2.2.1, and then run /sbin/ldconfig. After that you should be able to get going again. It's probably not a good idea to delete the older glib as you may have other softwarre built against it and there may be compatibility issues between the two versions. You should have a look at the glib documentation for issues regarding this possibility.
 
Old 06-05-2003, 04:31 PM   #6
Greg21
Member
 
Registered: Jan 2002
Posts: 72

Original Poster
Rep: Reputation: 15
Quote:
*** 'pkg-config --modversion glib-2.0' returned 2.2.1, but GLIB (2.0.6)
*** was found! If pkg-config was correct, then it is best
*** to remove the old version of GLib.
I agree, but these lines seem to think I should delete GLIB(2.0.6)
I already added /usr/lib/glib to the ld.so.conf file and ran ldconfig.

I'm goin crazy here
Greg
 
  


Reply


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-2.0 install problems winward Linux - Software 2 09-26-2005 02:40 PM
glib-2.4.6 install problems? pfaendtner Linux - Software 0 09-23-2004 04:17 PM
glib 2.5.1 install problems. Devboy *BSD 5 08-17-2004 02:50 PM
can't install gtk 2.4.4: "Requested 'glib-2.0 >= 2.4.0' but version of GLib is 2.2.3 webazoid Linux - Software 0 07-15-2004 07:07 PM
GLIB install problems -=SnakeyeS=- Linux - Software 7 04-09-2003 12:55 AM

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

All times are GMT -5. The time now is 09:09 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration