Friday, April 19, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 821  / 2 Years ago, fri, october 21, 2022, 9:10:52

Recently I bought Dead Island but it seems like Dead Island would give you a black screen. So I went to the console and run ./DeadIslandGame from~/.steam/steam/steamapps/common/Dead Island`. This is what it gave me:



./DeadIslandGame: error while loading shared libraries: libSDL2-2.0.so.0: cannot open shared object file: No such file or directory


A bit of investigation revealed that there are libSDL2 libraries both in /usr/lib/x86_64-linux-gnu/ (since I tried to do sudo apt install libSDL2*) and also in .steam/ubuntu12_32/steam-runtime.old/i386/usr/lib/i386-linux-gnu/.



My question is how can I make Dead Island run since I'm guessing the problem here is that DI is missing its libraries. However I'm not quite sure.


More From » games

 Answers
1

You don't need to do anything special. Running games from within Steam runs them with the libraries provided by the Steam client.



However, when you run things manually on the CLI in this manner, the environment is not set up to use the Steam Runtime. The reason you got the missing library error, is because you don't have the i386 version of the libraries installed, but you are attempting to run a 32-bit program.


[#13060] Sunday, October 23, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
oredoise

Total Points: 66
Total Questions: 116
Total Answers: 111

Location: Lebanon
Member since Sun, Aug 2, 2020
4 Years ago
;