LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   flash... (https://www.linuxquestions.org/questions/linux-newbie-8/flash-935716/)

Maygerj 03-21-2012 12:05 PM

flash...
 
hi guys help would be highly appreciated,

im using sabayon

i bought machinarium this morning. when i went to run it in konsole it spits this at me :./Machinarium: error while loading shared libraries: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory


i have been told to get adobe flash but how ?
libs32 have been mentioned too how do i get that if i need it ?

cheers :D

suicidaleggroll 03-21-2012 12:48 PM

What distro is this? It sounds like you just need to install gtk2 with whatever package management system your distro uses. If this is redhat-based (RHEL, CentOS, Fedora), just run "yum provides libgtk-x11-2.0.so.0" and it will give you the name of the package you need to install.

Edit: Missed the "Sabayon" in your post. I've never used that distro, but it's Gentoo-based and the package management system is Entropy. Not a clue how to use Entropy, but it probably has a similar functionality.

snowday 03-21-2012 12:57 PM

I'm not sure who told you Flash is the problem; the error message actually is saying you need gtk2.

Sabayon uses a package management system called Entropy that you can use to install gtk2: https://wiki.sabayon.org/index.php?title=En:Entropy

Maygerj 03-21-2012 01:18 PM

im in entropy and have typed gtk2 what one shall i get i have no clue ?

snowday 03-21-2012 01:25 PM

I recommend reading the Sabayon documentation I linked to above if you wish to "have a clue"--that's what it's there for. :)

I am not a Sabayon user. I use a Red Hat based distro, which means I can use the command yum provides to find the exact name of a required package. For example:

Code:

$ yum provides libgtk-x11-2.0.so.0
Loaded plugins: langpacks, presto, refresh-packagekit
Adding en_US to language list
Dropbox                                                  |  951 B    00:00   
fuduntu                                                  | 2.3 kB    00:00   
gtk2-2.22.0-2.fc14.i686 : The GIMP ToolKit (GTK+), a library for creating GUIs
                        : for X
Repo        : fuduntu
Matched from:
Other      : libgtk-x11-2.0.so.0



gtk2-2.22.0-2.fc14.i686 : The GIMP ToolKit (GTK+), a library for creating GUIs
                        : for X
Repo        : @locals/$releasever
Matched from:
Other      : libgtk-x11-2.0.so.0

This tells me that the full and complete name of the package I need to install is gtk2-2.22.0-2.fc14.i686. However, yum makes it easy for me, if I want I can simply:

Code:

yum install gtk2
and yum will fill in the details.

Why am I telling you all this irrelevant info? To show you that Linux distributions have tools for searching, installing, and removing applications. If you want to use Sabayon then you learn the specific Sabayon tools from the Sabayon documentation (or another Sabayon user on the forums), easy peasy. :)

tl;dr version: use the Sulfur GUI package manager to install the package gtk2.


All times are GMT -5. The time now is 04:18 PM.