Arch Linux: Albion Online – Unable to preload the following plugins: libSDL2-2.0.so.0

By | 04/14/2019
 

Didn’t play in Albion Online for a while, but recalled about it and tried to play on my Arch Linux.

It works fine from the Steam client, but I bought with a start package some time ago and can’t log in to Steam’s version with my old credentials.

Okay – download game from the https://albiononline.com/ru/download, start it and:

17:55:10 [setevoy@setevoy-arch-pc ~/Games/AlbionOnline]
./Albion-Online
...
Found path: /home/setevoy/Games/AlbionOnline/game_x64/Albion-Online
Mono path[0] = '/home/setevoy/Games/AlbionOnline/game_x64/Albion-Online_Data/Managed'
Mono config path = '/home/setevoy/Games/AlbionOnline/game_x64/Albion-Online_Data/Mono/etc'
Preloaded 'ScreenSelector.so'
Preloaded 'libAkSoundEngine.so'
Preloaded 'libeasyanticheat.so'
Unable to preload the following plugins:
libSDL2-2.0.so.0

The libSDL2-2.0.so.0 library file present in the Steam – /home/setevoy/.local/share/Steam/ubuntu12_64/libSDL2-2.0.so.0, so first I tried to use LD_PRELOAD:

LD_PRELOAD=/home/setevoy/.local/share/Steam/ubuntu12_64/libSDL2-2.0.so.0 ./Albion-Online

But this didn’t help.

Then I just copied the file:

cp /home/setevoy/.local/share/Steam/ubuntu12_64/libSDL2-2.0.so.0 ./game_x64/Albion-Online_Data/Plugins/x86_64/

And still won’t work.

After this I decided to check its dependencies:

ldd ./game_x64/Albion-Online_Data/Plugins/x86_64/libSDL2-2.0.so.0
linux-vdso.so.1 (0x00007ffec2fab000)
libasound.so.2 => /usr/lib/libasound.so.2 (0x00007f9279635000)
libm.so.6 => /usr/lib/libm.so.6 (0x00007f92794b0000)
libdl.so.2 => /usr/lib/libdl.so.2 (0x00007f92794ab000)
libpulse.so.0 => /usr/lib/libpulse.so.0 (0x00007f927925a000)
libsndio.so.6.1 => not found
...

libsndio.so.6.1 => not found – aha, here it is…

Install the sndio:

sudo pacman -S sndio

But it provides the libsndio.so.7.0 while 6.1 is needed:

file /usr/lib/libsndio.so
/usr/lib/libsndio.so: symbolic link to libsndio.so.7.0

The solution is just to make a symlink “6.1”:

sudo ln -s /usr/lib/libsndio.so /usr/lib/libsndio.so.6.1

Run again:

.