LinuxQuestions.org
Review your favorite Linux distribution.
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 12-31-2011, 07:26 PM   #1
thund3rstruck
Member
 
Registered: Nov 2005
Location: East Coast, USA
Distribution: Fedora 18, Slackware64 13.37, Windows 7/8
Posts: 386

Rep: Reputation: 43
Question Error while loading shared libraries: libgtk-x11-2.0.so.0


Hi everyone,

This is probably a simple noob answer but I'm kind of stuck on it. I'm trying to run Floola (iPod Manager program) and I keep getting this lib error:

Code:
[lisa@LISAXPS410FEDORA Floola-linux]$ ./Floola
./Floola: error while loading shared libraries: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory
Trying to determine if I actually am missing that:

Code:
[lisa@LISAXPS410FEDORA Floola-linux]$ ldd Floola
	linux-gate.so.1 =>  (0x00303000)
	libgtk-x11-2.0.so.0 => not found
	libgdk-x11-2.0.so.0 => not found
	libgmodule-2.0.so.0 => /lib/libgmodule-2.0.so.0 (0x469e2000)
	libglib-2.0.so.0 => /lib/libglib-2.0.so.0 (0x46a33000)
	libgthread-2.0.so.0 => /lib/libgthread-2.0.so.0 (0x469e9000)
	libgobject-2.0.so.0 => /lib/libgobject-2.0.so.0 (0x46992000)
	libgdk_pixbuf-2.0.so.0 => not found
	libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0x46bad000)
	libpangocairo-1.0.so.0 => /usr/lib/libpangocairo-1.0.so.0 (0x006f1000)
	libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0x46dc0000)
	libpthread.so.0 => /lib/libpthread.so.0 (0x4696e000)
	libdl.so.2 => /lib/libdl.so.2 (0x4698b000)
	libXi.so.6 => /usr/lib/libXi.so.6 (0x00bc2000)
	libXext.so.6 => /usr/lib/libXext.so.6 (0x00d95000)
	libX11.so.6 => /usr/lib/libX11.so.6 (0x46c30000)
	libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00110000)
	libm.so.6 => /lib/libm.so.6 (0x469f1000)
	libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x46d95000)
	libc.so.6 => /lib/libc.so.6 (0x467c0000)
	libcairo.so.2 => /usr/lib/libcairo.so.2 (0x0056a000)
	librt.so.1 => /lib/librt.so.1 (0x46a1e000)
	libffi.so.5 => /usr/lib/libffi.so.5 (0x46a2a000)
	libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x46df0000)
	libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x46b57000)
	/lib/ld-linux.so.2 (0x4679b000)
	libxcb.so.1 => /usr/lib/libxcb.so.1 (0x46b8d000)
	libpixman-1.so.0 => /usr/lib/libpixman-1.so.0 (0x00a08000)
	libpng12.so.0 => /usr/lib/libpng12.so.0 (0x0095d000)
	libXrender.so.1 => /usr/lib/libXrender.so.1 (0x46db4000)
	libz.so.1 => /lib/libz.so.1 (0x001fb000)
	libexpat.so.1 => /lib/libexpat.so.1 (0x46d6b000)
	libXau.so.6 => /usr/lib/libXau.so.6 (0x46c2b000)
Ok, yea it looks like I'm missing that one. So what uses it?

Code:
[root@LISAXPS410FEDORA ~]# yum whatprovides libgtk-x11-2.0.so.0
Loaded plugins: fastestmirror, langpacks, presto, refresh-packagekit
Loading mirror speeds from cached hostfile
 * fedora: mirror.us.leaseweb.net
 * rpmfusion-free: mirror.us.leaseweb.net
 * rpmfusion-free-updates: mirror.us.leaseweb.net
 * rpmfusion-nonfree: mirror.us.leaseweb.net
 * rpmfusion-nonfree-updates: mirror.us.leaseweb.net
 * updates: mirror.liberty.edu
gtk2-2.24.7-2.fc16.i686 : The GIMP ToolKit (GTK+), a library for creating GUIs
                        : for X
Repo        : fedora
Matched from:
Other       : libgtk-x11-2.0.so.0



gtk2-2.24.8-3.fc16.i686 : The GIMP ToolKit (GTK+), a library for creating GUIs
                        : for X
Repo        : updates
Matched from:
Other       : libgtk-x11-2.0.so.0
Ok great so I try to install the package gtk2-2.24.8-3.fc16.i686 and it fails:

Code:
...
--> Finished Dependency Resolution
Error: Protected multilib versions: gtk2-2.24.7-2.fc16.i686 != gtk2-2.24.8-3.fc16.x86_64
Ok, so then I guess it requires a x64 version so I try to install that but it's saying its already there??

Code:
Setting up Install Process
Package gtk2-2.24.8-3.fc16.x86_64 already installed and latest version. Nothing to do
Ok so what's this, 1994 all over again? I require a dependency but I can't install it because there is a newer version, but the newer version doesn't include the correct lib for the software to run?

Circular dll hell?

Any ideas on what I can do to run this program (Fedora 16 x64)?

Thanks!
 
Old 01-01-2012, 02:43 AM   #2
phil.d.g
Senior Member
 
Registered: Oct 2004
Posts: 1,272

Rep: Reputation: 154Reputation: 154
I have never needed a multilib environment on RHEL like distros. However, from the error shown I think it's complaining that you have one version of gtk2 installed for x86_64, and are trying to install a different version for i686.

The search results show two different versions for gtk2. Have you tried installing the second one (gtk2-2.24.8-3.fc16.i686)?
 
Old 01-01-2012, 08:06 AM   #3
thund3rstruck
Member
 
Registered: Nov 2005
Location: East Coast, USA
Distribution: Fedora 18, Slackware64 13.37, Windows 7/8
Posts: 386

Original Poster
Rep: Reputation: 43
Quote:
Originally Posted by phil.d.g View Post
The search results show two different versions for gtk2. Have you tried installing the second one (gtk2-2.24.8-3.fc16.i686)?
Yea, I tried them both. The first one says, hey there's a newer one so you need to use that one and the second one says, hey this one isn't equal to this other one (x86_x64) so you need to use that one. Then I try to install the x86_x64 one and it says that its already installed.

No idea what to do next.
 
Old 01-02-2012, 02:52 PM   #4
phil.d.g
Senior Member
 
Registered: Oct 2004
Posts: 1,272

Rep: Reputation: 154Reputation: 154
I can't replicate you're problem on Scientific Linux (a clone of RHEL). Having had install the x86_64 version, the i686 installed and fetched all its 32 bit dependencies successfully.

The first thing to try is simply: `yum update`, then `yum install gtk2.i686`

Have you added any other repositories to your repo list, added any yum plugins that are not part of the default installation, or any other thing that may affect the package manager? If not, then check the Fedora mailing lists see if a bug has been raised. Failing that, increase the debug level for yum and monitor the log as you attempt to install gtk2 (i686)
 
1 members found this post helpful.
Old 01-03-2012, 07:45 AM   #5
thund3rstruck
Member
 
Registered: Nov 2005
Location: East Coast, USA
Distribution: Fedora 18, Slackware64 13.37, Windows 7/8
Posts: 386

Original Poster
Rep: Reputation: 43
Smile

Quote:
Originally Posted by phil.d.g View Post
The first thing to try is simply: `yum update`, then `yum install gtk2.i686`
Ugh... gtk2.i686 is what I was needing. I was too caught up in the output of:
Code:
# yum whatprovides libgtk-x11-2.0.so.0
That I was focusing on trying to get the specific packages in that output to install. I guess I should have known that libgtk-x11-2.0.so.0 was part of gtk2.i686, but it didn't resolve down from yum provides. Well, thanks again! It's working now.

Cheers!
--T3
 
  


Reply

Tags
dependencies, fedora, ipod



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
error while loading shared libraries: libgtk-x11-2.0.so.0: cannot peeths003 Linux - Software 7 07-13-2009 03:20 AM
error while loading shared libraries: libgtkglextmm-x11-1.2.so.0 chire Linux - Software 10 05-05-2009 04:04 PM
error while loading shared libraries: libstdc++.so.5: cannot open shared object file PaulyWally Debian 2 10-18-2008 05:59 PM
error while loading shared libraries: libgvc.so.3: cannot open shared object file coolrock Slackware 6 01-17-2007 05:10 PM

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

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