Error While Loading Shared Libraries: Libsfml-System. So.2.4

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 directory

Before 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.4

and other similar libraries using

sudo apt-get install libsfml-window2.4 libsfml-graphics2.4 libsfml-audio2.4

or install all of them including development headers by

sudo apt-get install libsfml-dev

On 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*.deb

and then enjoy the game.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

David Miller

David Miller

Executive Financial & Market Analyst

David Miller brings 15 years of experience in global economics, personal finance strategy, and market dynamics. He specializes in turning complex economic trends into actionable insights for everyday readers.

Share this article
Twitter Facebook Pinterest