LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   Error while loading shared libraries: libgtk-x11-2.0.so.0 (http://www.linuxquestions.org/questions/linux-software-2/error-while-loading-shared-libraries-libgtk-x11-2-0-so-0-a-921435/)

thund3rstruck 12-31-2011 08:26 PM

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!

phil.d.g 01-01-2012 03:43 AM

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)?

thund3rstruck 01-01-2012 09:06 AM

Quote:

Originally Posted by phil.d.g (Post 4563004)
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. :(

phil.d.g 01-02-2012 03:52 PM

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)

thund3rstruck 01-03-2012 08:45 AM

Quote:

Originally Posted by phil.d.g (Post 4563994)
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


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