You are not logged in.

#1 2016-08-20 11:06:23

kurama_luka
Member
Registered: 2016-08-20
Posts: 2

Missing dependancies for The witcher 2: Assassins of Kings [GOG]

Hi guys,

I've just bought for 2.99 Usd The Witcher 2: assassins of the kings to try it on linux. (Yes, you're right, it would not be a great loss, economically speaking ... !).

GOG led me download a huge (it was more than 19 gbs) ./.sh file. I installed the game and everything went well, but the game fails to run due to missing libraries.

luca  ~  GOG Games  The Witcher 2 Assassins Of Kings Enhanced Edition  ./start.sh
Running The Witcher 2: Assassins Of Kings - Enhanced Edition
./desktop-launcher: error while loading shared libraries: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory
./desktop-launcher failed to start due to the following dependancy problems:

	linux-gate.so.1 (0xf77c5000)
	libgtk-x11-2.0.so.0 => not found
	libgdk-x11-2.0.so.0 => not found
	libcairo.so.2 => not found
	libglib-2.0.so.0 => /usr/lib32/libglib-2.0.so.0 (0xf7664000)
	libgobject-2.0.so.0 => /usr/lib32/libgobject-2.0.so.0 (0xf7607000)
	libgdk_pixbuf-2.0.so.0 => not found
	libstdc++.so.6 => /usr/lib32/libstdc++.so.6 (0xf7487000)
	libm.so.6 => /usr/lib32/libm.so.6 (0xf7432000)
	libgcc_s.so.1 => /usr/lib32/libgcc_s.so.1 (0xf7416000)
	libc.so.6 => /usr/lib32/libc.so.6 (0xf725b000)
	libpthread.so.0 => /usr/lib32/libpthread.so.0 (0xf723e000)
	libpcre.so.1 => /usr/lib32/libpcre.so.1 (0xf71c5000)
	libffi.so.6 => /usr/lib32/libffi.so.6 (0xf71bc000)
	/lib/ld-linux.so.2 (0xf77c7000)

The company doesen't support linux distros, but ubuntu and it's derivates. May I ask if someone can help me in finding missing libs?

Last edited by kurama_luka (2016-08-20 14:20:50)

Offline

#2 2016-08-20 12:53:27

Omar007
Member
Registered: 2015-04-09
Posts: 368

Re: Missing dependancies for The witcher 2: Assassins of Kings [GOG]

You can install 'pkgfile' and then use `pkgfile <missingfilename>` to find the packages you need to install.

https://www.archlinux.org/packages/extr … 4/pkgfile/

Last edited by Omar007 (2016-08-20 13:00:15)

Offline

#3 2016-08-20 13:00:49

ooo
Member
Registered: 2013-04-10
Posts: 1,638

Re: Missing dependancies for The witcher 2: Assassins of Kings [GOG]

kurama_luka wrote:

(Yes, you're right, it would not be a great loss, economically speaking ... !)

There's 30 days money back guarantee anyway..

There's a list of dependencies for witcher2 on steam: https://wiki.archlinux.org/index.php/St … n_of_Kings
However the AUR links are outdated, and since the list is for steam, you might need some additional libraries that would get installed as a steam dependency.

The GOG page lists required linux libraries. Based on those, and assuming you're on x86_64 I'd try installing

lib32-alsa-lib
lib32-alsa-plugins
lib32-gtk2
lib32-sdl2
lib32-sdl2_image
lib32-freetype2
lib32-curl

Offline

#4 2016-08-20 17:46:54

kurama_luka
Member
Registered: 2016-08-20
Posts: 2

Re: Missing dependancies for The witcher 2: Assassins of Kings [GOG]

First of all thank you for your reply. Using pkgfile, I've installed:

 sudo pacman -S pcre lib32-pcre gtk2 lib32-gtk2 cairo lib32-cairo glib2 lib32-glib2 gdk-pixbuf2 lib32-gdk-pixbuf2 gcc-libs gcc-libs-multilib lib32-gcc-libs gcc5 glibc lib32-glibc openstack-guest-agents-unix libffi lib32-libffi vagrant-substrate 

After that, the game was still unable to load due to a bunch of missing files. So i tried to install the packages who OOO told me:

sudo pacman -S lib32-alsa-lib lib32-alsa-plugins lib32-gtk2 lib32-sdl2 lib32-sdl2_image lib32-freetype2 lib32-curl

Now the game start, I'll give you feedback after I gave it a try.

Thank you for help big_smile

Offline

Board footer

Powered by FluxBB