Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SCUMM game not starting, libssh.so.4 missing #360

Open
1player opened this issue Sep 8, 2023 · 8 comments
Open

SCUMM game not starting, libssh.so.4 missing #360

1player opened this issue Sep 8, 2023 · 8 comments

Comments

@1player
Copy link

1player commented Sep 8, 2023

Tried running Riven from GOG. Doesn't start, log shows:

Started initial process 198 from gamemoderun /var/home/sph/.var/app/net.lutris.Lutris/data/lutris/runners/scummvm/bin/scummvm --extrapath=/var/home/sph/.var/app/net.lutris.Lutris/data/lutris/runners/scummvm/share/scummvm --themepath=/var/home/sph/.var/app/net.lutris.Lutris/data/lutris/runners/scummvm/share/scummvm --aspect-ratio --fullscreen --gfx-mode=3x --path=/var/home/sph/Games/gog/riven-the-sequel-to-myst --language=en --filtering mohawk:riven
Start monitoring process.
/var/home/sph/.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
@jibsaramnim
Copy link

Can confirm I'm experiencing the same thing, on Fedora 38 Silverblue.

@bkilinc
Copy link

bkilinc commented Feb 1, 2024

Myst Masterpiece edition does not run because of this issue on Linux Mint 21

@mavorg
Copy link

mavorg commented Mar 4, 2024

The Curse of Monkey Island, GOG version:

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)

@cloudrac3r
Copy link

Here's a temporary workaround: Download libssh.so.4 and put it into your ~/.var/app/net.lutris.Lutris/data/lutris/runners/scummvm/lib/ folder next to the other .so files.

Or if you don't want to download executable code from my website, get the file from the Fedora packages like this:

  • Go to the libssh package
  • Click the blue link in the table next to Fedora 38
  • Click on the View Build link near the top
  • Download the x86_64 rpm package
  • Open it in an unarchiver program
  • Extract usr/lib64/libssh.so.4.9.6
  • Rename to libssh.so.4
  • Put it in ~/.var/app/net.lutris.Lutris/data/lutris/runners/scummvm/lib/ next to the other .so files.

This lets ScummVM games boot in Flatpak Lutris on my computer. Of course, it would be nice if this dependency was either removed or bundled with the official Flatpak.

@irisdominguez
Copy link

Hi! Another one wiht the same issues. Trying what @cloudrac3r got over the issue with that library, but then it failed for a different library.

While checking, I found a really weird workaround:

  1. Remove all the libraries inside the lutris scummvm runner: rm -r ~/.var/app/net.lutris.Lutris/data/lutris/runners/scummvm/lib
  2. Install scummvm in your system: sudo apt install scummvm. Not going to use it, but this way we know that the required libraries are in the system.
  3. Soft link to the system libraries: ln -s /usr/lib/x86_64-linux-gnu ~/.var/app/net.lutris.Lutris/data/lutris/runners/scummvm/lib
  4. The runner still fails from within lutris, with the same issue in the logs. But on the first line of the logs you can see the command that it is supposedly running... and it actually works from terminal!!! ~/.var/app/net.lutris.Lutris/data/lutris/runners/scummvm/bin/scummvm --extrapath=~/.var/app/net.lutris.Lutris/data/lutris/runners/scummvm/share/scummvm --themepath=~/.var/app/net.lutris.Lutris/data/lutris/runners/scummvm/share/scummvm --aspect-ratio --fullscreen --scaler=normal --scale-factor=3 --path=~/Games/beneath-a-steel-sky/ --language=es sky

I have no idea why it's running from the command and not from within Lutris. I've wasted a lot of time trying to make it work, so I'll use this for now...

@pioalpha
Copy link

Hi! Another one wiht the same issues. Trying what @cloudrac3r got over the issue with that library, but then it failed for a different library.

While checking, I found a really weird workaround:

1. Remove all the libraries inside the lutris scummvm runner: `rm -r ~/.var/app/net.lutris.Lutris/data/lutris/runners/scummvm/lib`

2. Install scummvm in your system: `sudo apt install scummvm`. Not going to use it, but this way we know that the required libraries are in the system.

3. Soft link to the system libraries: `ln -s /usr/lib/x86_64-linux-gnu ~/.var/app/net.lutris.Lutris/data/lutris/runners/scummvm/lib`

4. The runner still fails from within lutris, with the same issue in the logs. But on the first line of the logs you can see the command that it is supposedly running... and it actually works from terminal!!! `~/.var/app/net.lutris.Lutris/data/lutris/runners/scummvm/bin/scummvm --extrapath=~/.var/app/net.lutris.Lutris/data/lutris/runners/scummvm/share/scummvm --themepath=~/.var/app/net.lutris.Lutris/data/lutris/runners/scummvm/share/scummvm --aspect-ratio --fullscreen --scaler=normal --scale-factor=3 --path=~/Games/beneath-a-steel-sky/ --language=es sky`

I have no idea why it's running from the command and not from within Lutris. I've wasted a lot of time trying to make it work, so I'll use this for now...

I copied the libssh.so.4 file you discovered to the folder ~/.var/app/net.lutris.Lutris/data/lutris/runtime/Ubuntu-18.04-x86_64 and ScummVM started working in Lutris.

@misieck
Copy link

misieck commented Jul 7, 2024

This makes Lutris unusable on Steamdeck. Ver. 0.5.17.

@strycore
Copy link
Collaborator

As a quick workaround until we push a fix for the flatpak, you can use the Flatpak version of Scummvm which will work fine until we push an update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants