Ubuntu – Witcher 2 missing library libgtk-x11-2.0.so.0

14.04gamesshared librarysoftware installation

The events that led to this situation are as follows:

  1. I tried to run The Wither 2 on Linux from GoG.com and installed the dependencies
    (http://www.gog.com/game/the_witcher_2) using aptitude.
  2. I rebooted and it gets to the Ubuntu GNOME logo but not further than that, so I went to command line did apt-get update, apt-get upgrade and apt-get dist-upgrade.
  3. I then removed the packages again and did apt-get update, apt-get upgrade and apt-get dist-upgrade apt-get autoclean apt-get autoremove again.
  4. It still did not work so I re-installed gnome shell and steam and after a while the machine boots again and everything seems to work.
  5. So I am back at the beginning: When I try to run the start.sh file to start Witcher 2 I get an error saying there is no libgtk-x11-2.0.so.0 file

I am using a GTX 750 with the drivers given by the additional drivers menu in Ubuntu.
After this experience I rather ask other people for help. I do not know how to install this package because there does not seem to be such a package.
EDIT: I searched for libgtk-x11-2.0.so and it found it in "/home/saur/.steam/ubuntu12_32/steam-runtime/amd64/usr/lib/x86_64-linux-gnu" and in "/home/saur/.steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/"

Best Answer

I know that it's a little bit late but, if it can be useful for someone else, I had the same issue, and in my case it was due to my ubuntu x64 version. I've just to install the package for i386 architecture and it was done.

So just install all packages missing with ":i386" at the end of each apt-get install command (example : sudo apt-get install libgtk2.0-0:i386).

Related Question