Support us on Patreon to keep GamingOnLinux alive. This ensures we have no timed articles and no paywalls. Just good, fresh content! Alternatively, you can donate through PayPal, Flattr, Liberapay or Buy us a Coffee. You can also buy games using our partner links for GOG and Humble Store.
Issues Running Surviving Mars / Questions About OpenSSL
Page: 1/2»
  Go to:
Cyba.Cowboy 13 May 2020 at 5:58 am UTC

I'm trying to run "Surviving Mars" - which used to work just fine, prior to Ubuntu 20.04 LTS - but the game simply will not start... When I try to run the game via Terminal, I am told:
/./MarsGOG: error while loading shared libraries: libssl.so.1.0.0:
cannot open shared object file: No such file or directory/


A quick search online shows that this refers to OpenSSL, and I found a bug report that talks about why this was disabled in the first place:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=736687

That bug report states in no uncertain terms that OpenSSL should not be installed unless absolutely necessary...

So my questions are:
1) Is there any way around this error?
2) Is it actually safe to install OpenSSL?
3) How do I install and / or enable OpenSSL (I can see numerous users online that have had difficulty getting the OpenSSL libraries working even after installing it)?

Last edited by Cyba.Cowboy on 13 May 2020 at 6:56 am UTC

dvd 13 May 2020 at 9:30 am UTC

A lot of games need this outdated openssl library. Just copy the one from Steam runtime if you have Steam and some linux games for it, no need to install it system wide.

Liam Dawe 13 May 2020 at 9:31 am UTC

A lot of games actually require SSL, plenty of them bundle what they need with it. If the game does not, you should probably speak to GOG and get them to sort it since they're usually the ones packaging up Linux games. Steam usually sorts that itself, since it has the Steam Linux Runtime.

It's the same on Fedora FYI, you need to supply it yourself.

Last edited by Liam Dawe on 13 May 2020 at 9:32 am UTC

Cyba.Cowboy 13 May 2020 at 9:36 am UTC

dvdJust copy the one from Steam runtime if you have Steam and some linux games for it, no need to install it system wide.

I searched the ".steam" folder for "libssl"... Nothing.

Where else might I find this file and if not on my system, what package do I install for the latest version (libssl / libssl.so didn't work)?


Liam DaweIf the game does not, you should probably speak to GOG and get them to sort it since they're usually the ones packaging up Linux games.

Nevermind.

I'll see what GOG.com say first...

Last edited by Cyba.Cowboy on 13 May 2020 at 9:38 am UTC

serge 13 May 2020 at 9:38 am UTC

Hello,

I don't see why it wouldn't be safe to install OpenSSL, and it is probably already installed on your system but it is a newer version than the one you used to play Surviving Mars previously.

The game is looking for 1.0.0 and in Ubuntu 20.04 the version is 1.1.1, you could try a symlink and see if it works or download the old lib put it in the game folder and preload it.

vv221 14 May 2020 at 12:51 am UTC

For the GOG version you can use ./play.it to install the game, it automatically handles this libssl.so.1.0.0 issue.

For other versions of the game, the library ./play.it uses is publicly available from here. You can tell the game to use it with LD_LIBRARY_PATH environment variable.

Last edited by vv221 on 14 May 2020 at 12:52 am UTC

Cyba.Cowboy 14 May 2020 at 7:56 am UTC

sergeand it is probably already installed on your system but it is a newer version than the one you used to play Surviving Mars previously.

The game is looking for 1.0.0 and in Ubuntu 20.04 the version is 1.1.1, you could try a symlink and see if it works or download the old lib put it in the game folder and preload it.

You're right - I have a much newer version of OpenSSL installed that "Surviving Mars" apparently cannot "see"... I have e-mailed both GOG.com and Paradox Interactive to see if the game will be updated to address this game-breaking bug in the foreseeable future.

dvd 14 May 2020 at 3:08 pm UTC

Cyba.Cowboy
dvdJust copy the one from Steam runtime if you have Steam and some linux games for it, no need to install it system wide.

I searched the ".steam" folder for "libssl"... Nothing.

Where else might I find this file and if not on my system, what package do I install for the latest version (libssl / libssl.so didn't work)?


Liam DaweIf the game does not, you should probably speak to GOG and get them to sort it since they're usually the ones packaging up Linux games.

Nevermind.

I'll see what GOG.com say first...
The full path on my system is "~/.steam/ubuntu12_32/steam-runtime/amd64/lib/x86_64-linux-gnu/"

For games that require libssl 1.0 you will typically also need to copy the corresponding libcrypto from this same folder. A good way to find out where it searches local libraries is looking at the ldd output for non-system paths, and copy those two libs there.

Also, from my experience on debian symlinks to newer versions of ssl library won't work.

Last edited by dvd on 14 May 2020 at 3:11 pm UTC

Cyba.Cowboy 14 May 2020 at 11:23 pm UTC

dvdThe full path on my system is "~/.steam/ubuntu12_32/steam-runtime/amd64/lib/x86_64-linux-gnu/"

For games that require libssl 1.0 you will typically also need to copy the corresponding libcrypto from this same folder. A good way to find out where it searches local libraries is looking at the ldd output for non-system paths, and copy those two libs there.

Yeah, I found those two files and copied them to the parent folder for "Surviving Mars"... Strange that they didn't come up when I searched for them (might be because they're in a "hidden" folder).

I'm still going to keep pushing for GOG.com / Paradox Interactive to either update this game to include libssl.so.1.0.0, or support the latest version... Not including this and "passing the buck" is just lazy - "everyday gamers" shouldn't need to go through this hassle because they're too lazy to include this library or support the latest version.

damarrin 15 May 2020 at 2:31 am UTC

GOG hates you and your Linux computer and they’re doing what they can to get everyone to use Windows so they can fire the lone Linux person they have.

Cyba.Cowboy 15 May 2020 at 4:44 am UTC

damarrinGOG hates you and your Linux computer and they’re doing what they can to get everyone to use Windows so they can fire the lone Linux person they have.

Sad, but true.

You need to Register and Login to comment, submit articles and more.


Or login with...