I downloaded a game from this link space-logic-adventure
I found this error message when I tried to run it:
pascal@pascal-Lenovo-ideapad-330-15AST:~/Computer/Games/Linux/space-logic-adventure-v1.2-linux-x64$ ./space-logic-adventure
./space-logic-adventure: error while loading shared libraries: libsfml-system.so.2.4: cannot open shared object file: No such file or directoryBefore running it I installed this package:
sudo apt-get install libsfml-dev 2 1 Answer
For Ubuntu 18.04 LTS you have to install the relevant package with this library
sudo apt-get install libsfml-system2.4and other similar libraries using
sudo apt-get install libsfml-window2.4 libsfml-graphics2.4 libsfml-audio2.4or install all of them including development headers by
sudo apt-get install libsfml-devOn newer Ubuntu versions (starting from 20.04 LTS) you have to download deb-packages from 18.04 LTS repository of such libraries manually by
cd ~/Downloads
wget -c
wget -c
wget -c
wget -c
wget -c
sudo apt-get install ./libsfml*.deband then enjoy the game.