Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 29th May 2012, 04:01 AM
fidiego Offline
Registered User
 
Join Date: May 2012
Location: Bloomington, IN
Posts: 2
linuxchrome
Problems with GLib-2.0 library

I'm very new to linux and have been having trouble with Glib. I recently tried installing TILP but when i type

Code:
./configure
i get the following message.

Code:
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.
I then tried installing gtk-dvel an received the following error:

Code:
Error: Package: glib2-devel-2.30.3-1.fc16.i686 (updates)
           Requires: glib2 = 2.30.3-1.fc16
           Installed: glib2-2.32.3-1.fc17.i686 (@/glib2-2.32.3-1.fc17.i686)
               glib2 = 2.32.3-1.fc17
           Available: glib2-2.30.1-1.fc16.i686 (fedora)
               glib2 = 2.30.1-1.fc16
           Available: glib2-2.30.3-1.fc16.i686 (updates)
               glib2 = 2.30.3-1.fc16
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
i tried:

Code:
 sudo yum reinstall glib2
and got

Code:
Installed package glib2-2.32.3-1.fc17.i686 (from /glib2-2.32.3-1.fc17.i686) not available.
Error: Nothing to do
What am I doing wrong?
Reply With Quote
  #2  
Old 29th May 2012, 04:31 AM
nonamedotc's Avatar
nonamedotc Offline
Formerly known as"professorrmd"
 
Join Date: Mar 2011
Posts: 2,610
linuxfirefox
Re: Problems with GLib-2.0 library

Quote:
Originally Posted by fidiego View Post

I then tried installing gtk-dvel an received the following error:

Code:
Error: Package: glib2-devel-2.30.3-1.fc16.i686 (updates)
           Requires: glib2 = 2.30.3-1.fc16
           Installed: glib2-2.32.3-1.fc17.i686 (@/glib2-2.32.3-1.fc17.i686)
               glib2 = 2.32.3-1.fc17
           Available: glib2-2.30.1-1.fc16.i686 (fedora)
               glib2 = 2.30.1-1.fc16
           Available: glib2-2.30.3-1.fc16.i686 (updates)
               glib2 = 2.30.3-1.fc16
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
i tried:

Code:
 sudo yum reinstall glib2
and got

Code:
Installed package glib2-2.32.3-1.fc17.i686 (from /glib2-2.32.3-1.fc17.i686) not available.
Error: Nothing to do
What am I doing wrong?
From your post, it seems like you installed glib2 package not from repository but from another source as shown in the package name - the installed package is a F17 package.

If this is the case, you would need to specify the installation location in the PATH so that the system knows where to look.

The easier solution would be to remove the installed glib2**f17 package and install from the repository using yum. Hope this helps. Cheers.
Reply With Quote
  #3  
Old 29th May 2012, 09:41 PM
fidiego Offline
Registered User
 
Join Date: May 2012
Location: Bloomington, IN
Posts: 2
linuxchrome
Re: Problems with GLib-2.0 library

I tried removing glib2 using

Code:
[fidiego@Cerebro libtifiles2-1.1.5]$ sudo apt-get glib2-2.32.3-1.fc17.i686
E: Invalid operation glib2-2.32.3-1.fc17.i686
[fidiego@Cerebro libtifiles2-1.1.5]$ sudo apt-get remove glib2-2.32.3-1.fc17.i686
Reading Package Lists... Error!
E: opening /var/lib/apt/lists/download.fedoraproject.org_pub_fedora_linux_development_rawhide_i386_os_repodata_5307a8103dbe30a2f16638e7f63a5c260517ea4b0e03116ca5e857526993673d-primary.sqlite db failed
E: Unsupported database scheme (0)
E: The package lists or status file could not be parsed or opened.
[fidiego@Cerebro libtifiles2-1.1.5]$ sudo apt-get remove glib2
Reading Package Lists... Error!
E: opening /var/lib/apt/lists/download.fedoraproject.org_pub_fedora_linux_development_rawhide_i386_os_repodata_5307a8103dbe30a2f16638e7f63a5c260517ea4b0e03116ca5e857526993673d-primary.sqlite db failed
E: Unsupported database scheme (0)
E: The package lists or status file could not be parsed or opened.
This was the result. I think there is an issue with /usr/bin/glib-compile-schemas.
Reply With Quote
Reply

Tags
glib20, gtk, gtk-devel, library, problems

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
library access problems petermorgan Using Fedora 1 18th November 2009 11:00 PM
glib and gtk 1.2.10 install problems whitecloud1 Using Fedora 8 8th June 2006 11:39 AM
glib, gtk problems Jerry.slo Using Fedora 1 16th February 2006 08:16 PM
Glib/Glib2 Problems boxxa Using Fedora 6 18th January 2006 09:15 PM
problems installing glib jgalamas Using Fedora 2 24th March 2005 09:53 PM


Current GMT-time: 17:43 (Monday, 20-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat