LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Problem installing gtk2-2.4.13-22.i386 (https://www.linuxquestions.org/questions/linux-newbie-8/problem-installing-gtk2-2-4-13-22-i386-899427/)

newbieLnx 08-25-2011 01:03 PM

Problem installing gtk2-2.4.13-22.i386
 
Hi,

I am relatively new to Linux, but I do like yum :D.

I am trying to install the package gtk2-2.4.13-22.i386 but have had all sorts of issues. I'm trying to install to Fedora13 x86-64.

What have I tried so far?

1)yum install -y gtk2-2.4.13-22.i386
Loaded plugins: presto, refresh-packagekit
Setting up Install Process
No package gtk2-2.4.13-22.i386 available.
Error: Nothing to do

2) Tried the above for i586,i686 but the same result.

3)yum install -y gtk2-2.20.1-1.fc13.i686
Transaction Check Error:
package libtiff-3.9.5-1.fc13.x86_64 (which is newer than libtiff-3.9.4-4.fc13.i686) is already installed

4)Added the following entry to my yum.conf file:
multilib_policy=all

but still the same error as above

5) yum -x --exclude=libtiff install -y gtk2-2.20.1-1.fc13.i686

Same error as above

I'm just about out of ideas an would appreciate some hints :D

Is it not possible to install i386/i686 packages after an x86_64 version of the same package has been installed?

The root of all this was an initial attempt to install some software which produced the following error: "libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory"

This lead me to:
"yum whatprovides libgtk-x11-2.0.so.0"
Loaded plugins: presto, refresh-packagekit
gtk2-2.20.1-1.fc13.i686 : The GIMP ToolKit (GTK+), a library for creating GUIs
: for X
Repo : fedora
Matched from:
Other : libgtk-x11-2.0.so.0

The .so file does exist in /usr/lib64 but not in /usr/lib. It looks like the app I'm trying to install needs a 32 bit version of the .so which is why I'm going through all this.

Thanks

knudfl 08-25-2011 05:38 PM

Welcome to LQ.

Actually quite simple : # yum search gtk2
... And you will see, that there are two gtk2 : gtk2.i686 , gtk2.x86_64.

# yum install gtk2.i686 : The 32bits files are installed to /usr/lib/.

.

newbieLnx 08-26-2011 03:07 AM

Thanks for the quick response!

I tried the commands as suggested, but unfortunately still no joy.

# yum install -y gtk2.i686

Transaction Check Error:
package libtiff-3.9.5-1.fc13.x86_64 (which is newer than libtiff-3.9.4-4.fc13.i686) is already installed

Error Summary


I checked /usr/lib and there are still no *gtk*.so* files in there. It seems that I am not allowed to install 32 bit components since the 64 bit equivalents are already on the system. Is that right?

knudfl 08-26-2011 03:39 AM

# yum install -y : Not recommended. Use # yum install gtk2.i686

Quote:

Transaction Check Error:
package libtiff-3.9.5-1.fc13.x86_64 (which is newer than libtiff-3.9.4-4.fc13.i686)
is already installed
'libtiff' is a dependency for gtk2.
But libtiff-3.9.5-1.fc13.x86_64 is not a usable package, please disable
/etc/yum.repos.d/fedora-updates-testing.repo : Edit enabled=1 to: enabled=0

And remove libtiff-3.9.5-1 : # rpm -e --nodeps libtiff.x86_64
Next : # yum install libtiff.x86_64 libtiff.i686


( The stable / usable / system version for Fedora 13 is "3.9.4-4" ).

..

newbieLnx 08-26-2011 05:48 AM

Thanks a ton! :D You've been a massive help

All sorted now.....Easy when you know eh;)


All times are GMT -5. The time now is 01:07 PM.