You are not logged in.
Hi.
I would like to ask for your help. I want to check Witcher 2 for linux from gog.com. I downloaded it, but when i want to launch it by ./start.sh from Witcher 2 folder, i have this error;
./witcher2: error while loading shared libraries: libSDL2_image-2.0.so.0: cannot open shared object file: No such file or directoryI have installed 32 bit dependancies for it:
2014-10-17 17:00] [PACMAN] installed lib32-sdl2 (2.0.3-1)
[2014-10-17 17:02] [PACMAN] Running 'pacman -S lib32-libcanberra'
[2014-10-17 17:02] [PACMAN] reinstalled lib32-libcanberra (0.30-4)
[2014-10-17 17:02] [PACMAN] Running 'pacman -S lib32-libcanberra-pulse'
[2014-10-17 17:02] [PACMAN] installed lib32-libcanberra-pulse (0.30-4)
[2014-10-17 17:07] [PACMAN] Running 'pacman -S sdl2_image'
[2014-10-17 17:07] [PACMAN] installed sdl2_image (2.0.0-2)I have also mentioned libSDL2_image
[firekage@arch_desktop ~]$ locate libSDL2_image-2.0.so.0
/home/firekage/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libSDL2_image-2.0.so.0
/home/firekage/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libSDL2_image-2.0.so.0.0.0
/home/firekage/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libSDL2_image-2.0.so.0
/home/firekage/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libSDL2_image-2.0.so.0.0.0
/home/firekage/.local/share/Steam/ubuntu12_32/steam-runtime.old/amd64/usr/lib/x86_64-linux-gnu/libSDL2_image-2.0.so.0
/home/firekage/.local/share/Steam/ubuntu12_32/steam-runtime.old/amd64/usr/lib/x86_64-linux-gnu/libSDL2_image-2.0.so.0.0.0
/home/firekage/.local/share/Steam/ubuntu12_32/steam-runtime.old/i386/usr/lib/i386-linux-gnu/libSDL2_image-2.0.so.0
/home/firekage/.local/share/Steam/ubuntu12_32/steam-runtime.old/i386/usr/lib/i386-linux-gnu/libSDL2_image-2.0.so.0.0.0
[firekage@arch_desktop ~]$ Could somebody points me in good direction? This Witcher 2 edition is from gog.com, not from Steam. It id standalone version downloaded directly from my gog.com account.
Last edited by firekage (2014-10-18 01:27:35)
Offline
You're probably missing the lib32 version of SDL2-image.
Offline
No, im not. I have it:
multilib/lib32-sdl 1.2.15-6 [installed]
A library for portable low-level access to a video framebuffer, audio output, mouse,
and keyboard (32-bit)
multilib/lib32-sdl_image 1.2.12-3 [installed]
A simple library to load images of various formats as SDL surfaces (32-bit)
multilib/lib32-sdl_ttf 2.0.11-3 [installed]
A library that allows you to use TrueType fonts in your SDL applications (32-bit)but i still have this error:
./witcher2: error while loading shared libraries: libSDL2_image-2.0.so.0: cannot open shared object file: No such file or directoryOffline
Everything you're showing there is sdl1, not sdl2.
Offline
Yes, you are righ. I didn't see that there are two sdls. I installed it, now another error:
./witcher2: /usr/lib32/libcurl.so.4: version `CURL_OPENSSL_3' not found (required by ./witcher2)And in fact, it is dependancy problem with curl being newer in Arch (version 7.xx removed curl_openssl_3 support and points to curl 4). ![]()
https://github.com/KillaW0lf04/The-Witc … /issues/30
Don't know how to fix it.
Last edited by firekage (2014-10-17 17:01:40)
Offline
Ok, solved. I just copied all .so files from steam folder:
~/.local/share/Steam/ubuntu12_32/steam-runtime/i386/lib/i386-linux-gnu
~/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib
~/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/lib/x86_64-linux-gnu
~/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/libmany of missing dependancies are also in /usr/lib and /usr/lib32. I had to copy these symlinks:
libasn1.so.8
libasn1.so.8.0.0
libcrypto.so.1.0.0
libcurl-gnutls.so.4.2.0
libcurl.so.3
libcurl.so.4
libcurl.so.4.2.0
libcurl.so.4.3.0
libgcrypt.so.11
libgcrypt.so.11.7.0
libgnutls.so.26
libgnutls.so.26.21.8
libgssapi.so.3
libgssapi.so.3.0.0
libhcrypto.so.4
libhcrypto.so.4.1.0
libheimbase.so.1
libheimbase.so.1.0.0
libheimntlm.so.0
libheimntlm.so.0.1.0
libhx509.so.5
libhx509.so.5.0.0
libkrb5.so.26
libkrb5.so.26.0.0
liblber-2.4.so.2
liblber-2.4.so.2.10.3
liblber-2.4.so.2.8.1
libldap-2.4.so.2
libldap_r-2.4.so.2
libldap_r-2.4.so.2.10.3
libldap_r-2.4.so.2.8.1
libopenal-eon.so.1
libroken.so.18
libroken.so.18.1.0
librtmp.so.0
libsasl2.so.2
libsasl2.so.2.0.25
libssl.so.1.0.0
libtasn1.so.3
libtasn1.so.3.1.12
libwind.so.0
libwind.so.0.0.0No my Witcher 2 works ok. I'm amazed that it runs just like the one running on Windows. Nice.
There is only one thing that i would like to know. These .so files are shared object. Could somebody tell me how to instead of copying it over to Witcher 2 folder, make an symlink from these symlinks that are stroed in ~/.local/share/Steam/ubuntu12_32/steam-runtime/i386/lib/i386-linux-gnu and so on? As a matter of fact, there are files with :
-libgcrypt.so.11
-libgcrypt.so.11.7.0
One file is with "arrow", other don't have it. If i understand, in these example, libgcrypt.so.11 points to libgcrypt.so.11.7.0? If yes, how to symlink this to a Witcher 2 folder from this long Steam folder? I know that for this is ln -s command, but could somebody explain it to me? Witcher 2 works because i just copied these symlinks, i would like to learn how to do it instead of copying them.
Thanks.
BTW - for one thing im happy, that the Witcher 2 comes for Linux (i read that it is not native port, but rather something just as Wine, i tried to install it directly under Wine from Windows .exe installers but it fails), but the other...well, so many missing dependancies? I think that the file that we can download from gog shoud have al dependancies for it!
Last edited by firekage (2014-10-18 01:40:30)
Offline