libssh.so.4 not found

Ask for help with ScummVM problems

Moderator: ScummVM Team

Post Reply
Emmi
Posts: 3
Joined: Tue Jan 02, 2024 1:03 pm

libssh.so.4 not found

Post by Emmi »

Hello,

my daughter enjoyed playing Monkey Island via Lutris on a Linux Mint. This worked well until around the beginning of December 2023. Then, without any conscious change, it suddenly stopped working, probably due to an update that Lutris performed automatically.

We now receive the following error message. It says that the file 'libssh.so.4' is missing or not found.
I have found several search hits on the Internet regarding ScummVM and 'libssh.so.4', but no solution.

Do you have any ideas? Thank you very much.

Emmi

Code: Select all

Started initial process 185 from gamemoderun /home/hans/.var/app/net.lutris.Lutris/data/lutris/runners/scummvm/bin/scummvm --extrapath=/home/hans/.var/app/net.lutris.Lutris/data/lutris/runners/scummvm/share/scummvm --themepath=/home/hans/.var/app/net.lutris.Lutris/data/lutris/runners/scummvm/share/scummvm --aspect-ratio --fullscreen --scaler=normal --scale-factor=3 --path=/home/hans/Games/the-secret-of-monkey-island monkey
Start monitoring process.
/home/hans/.var/app/net.lutris.Lutris/data/lutris/runners/scummvm/bin/scummvm: error while loading shared libraries: libssh.so.4: cannot open shared object file: No such file or directory
Monitored process exited.
Initial process has exited (return code: 32512)
All processes have quit
Exit with return code 32512
fibs
Posts: 27
Joined: Mon Sep 26, 2022 10:38 pm

Re: libssh.so.4 not found

Post by fibs »

Could you try this in terminal:

Code: Select all

sudo apt update
sudo apt install libssh-4
Emmi
Posts: 3
Joined: Tue Jan 02, 2024 1:03 pm

Re: libssh.so.4 not found

Post by Emmi »

I tried that and apt said, it was already installed.

I wonder what scummvm has to do with libssh at all.

Here are 2 other people with the same problem.
fibs
Posts: 27
Joined: Mon Sep 26, 2022 10:38 pm

Re: libssh.so.4 not found

Post by fibs »

I'm not familiar with Lutris, but apparently there's something which might work: Configure|System Options|Prefer system libraries

ScummVM leverages curl to potentially download newer icons and whatnot. That or some other library might depend on libssh.

There's the possibility to use in Linux Mint without Lutris, too. https://www.scummvm.org/downloads/
Emmi
Posts: 3
Joined: Tue Jan 02, 2024 1:03 pm

Re: libssh.so.4 not found

Post by Emmi »

fibs wrote: Wed Jan 03, 2024 11:05 pm I'm not familiar with Lutris, but apparently there's something which might work: Configure|System Options|Prefer system libraries
I did that already and there is no difference between the enabled or disabled option.
fibs wrote: Wed Jan 03, 2024 11:05 pm There's the possibility to use in Linux Mint without Lutris, too. https://www.scummvm.org/downloads/
Yes, I tried that, but Monkey Island was unplayable with ScummVM directly installed on Linux. The game starts, but it seems, no input device was sent to the game, no keyboard, no mouse (even no mouse pointer visible) and no joystick. But the hotkeys for controlling ScummVM are working. When I press F5, the menu opens and there the mouse works as well. But not in the game.

Thanks for the ideas so far!
Attachments
Bildschirmfoto vom 2024-01-04 21-20-38.png
Bildschirmfoto vom 2024-01-04 21-20-38.png (124.46 KiB) Viewed 2069 times
digitall
ScummVM Developer
Posts: 1172
Joined: Thu Aug 02, 2012 1:40 pm

Re: libssh.so.4 not found

Post by digitall »

Lutris uses Flatpak i.e. container system so that each application runs with it's own set of libraries. This appears to be a known issue with the latest ScummVM flatpak build:
https://github.com/flathub/net.lutris.Lutris/issues/360

I am not sure if https://flathub.org/apps/org.scummvm.ScummVM needs some change as not familar with the flatpak system...
Post Reply