
Baixei um jogo neste linkaventura-lógica-espacial
Encontrei esta mensagem de erro quando tentei executá-lo:
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
Antes de executá-lo instalei este pacote:
sudo apt-get install libsfml-dev
Responder1
Para Ubuntu 18.04 LTS você deve instalar opacote relevantecom esta biblioteca
sudo apt-get install libsfml-system2.4
e outras bibliotecas semelhantes usando
sudo apt-get install libsfml-window2.4 libsfml-graphics2.4 libsfml-audio2.4
ou instale todos eles, incluindo cabeçalhos de desenvolvimento,
sudo apt-get install libsfml-dev
Nas versões mais recentes do Ubuntu (a partir de 20.04 LTS), você deve baixar os pacotes deb do repositório 18.04 LTS de tais bibliotecas manualmente,
cd ~/Downloads
wget -c http://archive.ubuntu.com/ubuntu/pool/universe/libs/libsfml/libsfml-audio2.4_2.4.2+dfsg-4_amd64.deb
wget -c http://archive.ubuntu.com/ubuntu/pool/universe/libs/libsfml/libsfml-graphics2.4_2.4.2+dfsg-4_amd64.deb
wget -c http://archive.ubuntu.com/ubuntu/pool/universe/libs/libsfml/libsfml-network2.4_2.4.2+dfsg-4_amd64.deb
wget -c http://archive.ubuntu.com/ubuntu/pool/universe/libs/libsfml/libsfml-system2.4_2.4.2+dfsg-4_amd64.deb
wget -c http://archive.ubuntu.com/ubuntu/pool/universe/libs/libsfml/libsfml-window2.4_2.4.2+dfsg-4_amd64.deb
sudo apt-get install ./libsfml*.deb
e então aproveite o jogo.