Linux No supported version of libssl was found (Ubuntu 22.04)

Jolyone

Newcomer
I tried to run the GOG version of the game on Ubuntu 22.04 (which I have previously gotten to work on Ubuntu 20.04).
It installs fine, but when I try to run it, it says no supported version of libssl was found. Has anyone gotten the game to work on Ubuntu 22.04 or have a solution to this error?
 
I think Ubuntu 22.04 runs a bumped version of libssl (v3), and I’d hazard a guess that Stardew may be looking for an older version? I don’t have Ubuntu 22.04, sorry.
I’d consider reaching out to CA (he seems responsive on twitter, but perhaps someone else can advise better what’s the best place to reach).
 

Yen

Newcomer
I tried to run the GOG version of the game on Ubuntu 22.04 (which I have previously gotten to work on Ubuntu 20.04).
It installs fine, but when I try to run it, it says no supported version of libssl was found. Has anyone gotten the game to work on Ubuntu 22.04 or have a solution to this error?
Hello!
Same problem, I'm follow a guide then after I can play SV on Ubuntu 22.04.

To install libssl1 follow the below steps.

echo "deb http://security.ubuntu.com/ubuntu impish-security main" | sudo tee /etc/apt/sources.list.d/impish-security.list
sudo apt update
sudo apt install libssl1.1

Source: https://www.cloudbooklet.com/how-to-install-mongodb-on-ubuntu-22-04/

I hope it's can help you. Sorry for my bad English.
 

Geekley

Cowpoke
This above seems to have worked for me, except using focal-security (20.04LTS) instead of impish-security.
This solved apt 404 "no Release file" error, which apparently is because impish (21.10) is no longer supported.

Still this is bug that should be patched though, because I ran v1.5.4 today and it did not have this issue until I updated to v1.5.6.
 

Geekley

Cowpoke
Same Problem with Linux Mint. The missing package can be downloaded from here (without altering sources.list):
Installing this deb directly without changing sources.list is a VERY BAD idea. SSL is an important security component and if you don't receive security updates for this package, you'll be making your system vulnerable. So you really should do something like this:

Bash:
echo "deb http://security.ubuntu.com/ubuntu focal-security main # 20.04LTS Main Security Updates" |
sudo tee /etc/apt/sources.list.d/focal-security.list
sudo apt update
sudo apt install libssl1.1
Now, if the intention is to avoid accidentally installing other packages available only in 20.04, that might be achievable with an additional step (with apt "pinning") but this is probably unlikely to be an issue, so I wouldn't even bother; I think it's enough to just do the above and not worry.
 
Last edited:

rekkisomo

Greenhorn
Installing this deb directly without changing sources.list is a VERY BAD idea. SSL is an important security component and if you don't receive security updates for this package, you'll be making your system vulnerable.
I get where you're coming from, however installing an old, deprecated version of libssl when you're on an much more recent version is already a horrible idea to begin with. Mixing those versions together won't bode well.

I'd advise, and it's what I'm going to do as well, is to just spin up a VM to play on a version of ubuntu that was shipping with libssl1.1, using something like GNOME Boxes. it doesn't have to be super powerful. Hoping to see if they're planning to support ^libssl3, shouldn't be too hard(?)
 

Quirinea

Farmer
OK, it was not only me and my shiny new -puter... Now I was directed to this thread.
Someone knew the game would be updated to NET.6 and thus also for newer libraries, but...
 

ssh-mitm

Newcomer
Installing the mentioned packages can break your system!
Those packages are not intended to be installed on a recent system.
This guide has more steps, but does not require installing incompatible packages to your system, which can cause serious problems.

The recommended way to use libssl1.1 is to unpack them to the game directory and modify the library search path with LD_LIBRARY_PATH.

Following steps are required to get stardew valley working on Ubuntu 20.10 (those steps should also work on other ubuntu/debian installaitons)

Go to the game data directory. The default path is: $HOME/GOG Games/Stardew Valley/game

Bash:
cd "$HOME/GOG Games/Stardew Valley/game"
Download the udeb packages for libssl1.1 and libcrypto1.1:
Info about udeb: https://wiki.debian.org/udeb

Code:
wget http://mirrors.edge.kernel.org/ubuntu/pool/main/o/openssl/libssl1.1-udeb_1.1.0g-2ubuntu4_amd64.udeb
wget http://mirrors.edge.kernel.org/ubuntu/pool/main/o/openssl/libcrypto1.1-udeb_1.1.0g-2ubuntu4_amd64.udeb
After you have downloaded the udeb packages, the libraries must be extracted:

Code:
dpkg-deb -x libcrypto1.1-udeb_1.1.0g-2ubuntu4_amd64.udeb .
dpkg-deb -x libssl1.1-udeb_1.1.0g-2ubuntu4_amd64.udeb .
Edit the StardewValley file, which is located in the game directory.

Bash:
gnome-text-editor StardewValley
Insert following line AFTER #!/bin/bash

Bash:
#!/bin/bash
export LD_LIBRARY_PATH="$HOME/GOG Games/Stardew Valley/game/usr/lib"
Save the file and close the editor.

After this steps, Stardew Valley should start.
 
Last edited:

cobalt_ss

Newcomer
This worked for me (it looks like the HTML didn't copy right):


Nov 6, 2022 #6
cammelt said:


Same Problem with Linux Mint. The missing package can be downloaded from here (without altering sources.list):

Installing this deb directly without changing sources.list is a VERY BAD idea. SSL is an important security component and if you don't receive security updates for this package, you'll be making your system vulnerable. So you really should do something like this:


Bash:

echo "deb http://security.ubuntu.com/ubuntu focal-security main # 20.04LTS Main Security Updates" |
sudo tee /etc/apt/sources.list.d/focal-security.list
sudo apt update
sudo apt install libssl1.1

Now, if the intention is to avoid accidentally installing other packages available only in 20.04, that might be achievable with an additional step (with apt "pinning") but this is probably unlikely to be an issue, so I wouldn't even bother; I think it's enough to just do the above and not worry.
 

HazelNuts

Newcomer
The previously mentioned solutions should work well.

But I personally:

1. Didn't want an outdated version of libssl to be used on my system
2. I use the flatpack version of heroic what might lead to some issues there

Well... I just used wine. This might seem silly, but it is soooo incredibly stable and didn't require any time what so ever to set up. It just worked.
It worked with Wine-GE-Proton-8-17.

So here is your simple but ugly solution.
 
Top