LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices


Reply
  Search this Thread
Old 04-08-2016, 04:47 PM   #1
laredotornado
Member
 
Registered: Apr 2011
Posts: 71

Rep: Reputation: 0
What yum package has the "libgtk-x11-2.0.so" library?


Hi,

I’m trying to run Firefox on the following version of Linux …

Code:
[davea@mydevbox mydir]$ uname -a
Linux mydevbox.mydomain.com 7.3.8-25.26.amzn1.x86_64 #1 SMP Wed Mar 16 17:15:34 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
but I get the below error

Code:
[davea@mydevbox firefox]$ ./firefox-bin -V
XPCOMGlueLoad error for file /home/davea/firefox/libxul.so:
libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory
Couldn't load XPCOM.
What library is it referring to? I tried doing a yum install for “libgtk-x11-2.0”, but to no avail …

Code:
[davea@mydevbox firefox]$ sudo yum install libgtk-x11-2.0
Loaded plugins: fastestmirror, priorities, update-motd, upgrade-helper
Loading mirror speeds from cached hostfile
 * amzn-main: packages.us-east-1.amazonaws.com
 * amzn-updates: packages.us-east-1.amazonaws.com
No package libgtk-x11-2.0 available.
Error: Nothing to do
 
Old 04-08-2016, 06:42 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,622

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
have you read the man page ?
Code:
man yum
then search for it
Code:
yum provides */libgtk-x11-2.0.so
and install the package that has it
should be
Code:
su -
yum install libgtk-x11
 
Old 04-11-2016, 08:57 AM   #3
laredotornado
Member
 
Registered: Apr 2011
Posts: 71

Original Poster
Rep: Reputation: 0
Hi,

I tired the commands you suggest, but get “not found” errors …

Code:
[davea@mydevbox ~]$ yum provides */libgtk-x11-2.0.so
Loaded plugins: fastestmirror, priorities, update-motd, upgrade-helper
Loading mirror speeds from cached hostfile
 * amzn-main: packages.us-east-1.amazonaws.com
 * amzn-updates: packages.us-east-1.amazonaws.com
google-chrome                                                                                                                                                                                           3/3
No matches found
Here is what happened when I tried to install the package you suggested …

Code:
[davea@mydevbox ~]$ sudo yum install libgtk-x11
Loaded plugins: fastestmirror, priorities, update-motd, upgrade-helper
Loading mirror speeds from cached hostfile
 * amzn-main: packages.us-east-1.amazonaws.com
 * amzn-updates: packages.us-east-1.amazonaws.com
No package libgtk-x11 available.
Error: Nothing to do
 
Old 04-11-2016, 09:30 AM   #4
Janus_Hyperion
Member
 
Registered: Mar 2011
Location: /
Distribution: Fedora (typically latest release or development release)
Posts: 372

Rep: Reputation: Disabled
you need this -

Code:
 yum install gtk2
 
Old 04-11-2016, 09:31 AM   #5
Janus_Hyperion
Member
 
Registered: Mar 2011
Location: /
Distribution: Fedora (typically latest release or development release)
Posts: 372

Rep: Reputation: Disabled
Quote:
Originally Posted by laredotornado View Post

Code:
[davea@mydevbox ~]$ yum provides */libgtk-x11-2.0.so
That's the problem. Try,

Code:
yum provides */libgtk-x11-2.0.so*
 
  


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
Yum: What "Package Group" can provide a package? stefanlasiewski Red Hat 7 03-21-2013 01:31 PM
[SOLVED] Red Hat - default repositories - "No package yum-priorities available" vtoal Linux - General 2 08-22-2010 07:53 AM
[SOLVED] Yum "Package(s) php available, but not installed. No Packages marked for update" devwink Linux - Server 9 03-11-2010 05:00 PM
What is the "gnome_basis" package? Why does X11 need MozillaFirefox? General SUSE / openSUSE 5 06-13-2007 04:51 AM
Can't install "glibmm" library. "configure" script can't find "sigc++-2.0&q kornerr Linux - General 4 05-10-2005 02:32 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > General

All times are GMT -5. The time now is 02:28 AM.

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