-
Notifications
You must be signed in to change notification settings - Fork 174
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
Magicka 2 Linux x86-64 crashes on start with error messages involving libssl_conf.so #6014
Comments
Humorously enough, I found the solution to this via another Paradox Interactive Linux game failing to start correctly at: |
#4837 contains a comment about this very problem also. I'm linking from that bug report to this one also. |
Hello @nipsy, for sanity sake, please also try |
@kisak-valve I've added that CLI output to the original gist above. Seems to fail in exactly the same way. I also had looked previously to see if Debian even provides a libssl_conf.so still, but I didn't find any reference to it via |
I don't think this is a problem with the steam client or the steam runtime unfortunately, but an issue with Magicka 2. libssl_conf.so appears to be a module that was part of older libssl distributions, that is no longer available in more recent libssl versions. It was probably never meant to be used directly by client programs. A quick google search seems to support this. steam runtime never distributed it, and when Magicka 2 worked it must have been by implicitly relying on it being present on the host OS. This needs to be taken up with the Magicka 2 developers to be properly addressed. I realize compiling updated binaries isn't necessarily practical in a released title, but this may be a simple matter of recompiling using the docker runtime environment from https://github.com/ValveSoftware/steam-runtime/ If there is something else we can do please comment on this issue and we will re-open it. |
Afterthought - I suppose wrapping the legacy binary in a shell script with the adequate workaround could be a cheap way to fix this. |
After further investigation, we think this is happening because the libssl library in the runtime is picking up configuration items from the host's |
Some research into this: libssl_conf.so never actually existed on disk. OpenSSL has a complicated approach to configuration, in which Since 1.1.0 (commit 59b1696c), there is a In Debian, since 1.1.1 (August 2018, if we don't count experimental), I'm not sure yet how this avoids breaking the libssl 1.0.2 that is still also available in Debian unstable. |
@nipsy: If you remove any other workarounds, and run the game with |
@smcv Sure enough:
works great! |
Thanks, that's very useful feedback (and probably a better short term workaround too). |
Please could someone with appropriate privileges retitle this?
The root cause isn't a missing library symlink - it's valid and correct that libssl_conf.so doesn't exist. The problem is that /etc/ssl/openssl.cnf in Debian buster was written for OpenSSL >= 1.1.0, and is incompatible with the OpenSSL 1.0.0 in the Steam Runtime. I think the solution is to patch the Steam Runtime's libssl so it doesn't load /etc/ssl/openssl.cnf by default. |
This works, and the updated packages should go out in the next Steam Runtime update. |
This is fixed in the latest steam beta runtime. |
Your system information
Please describe your issue in as much detail as possible:
Trying to start Magicka 2 for Linux (64-bit version on a 64-bit distribution) fails. While most of the necessary files/symlinks are present in ~/.steam/ubuntu12_32/steam-runtime/amd64/... there seems to be a critical one missing. I expected a natively available Linux game to start without needing to do anything extra.
I've also included a run from the CLI using the necessary Steam runtime wrapper showing the actual reason for the crash (missing libssl_conf.so) at:
https://gist.github.com/nipsy/b3b4e2d315e3300445410919ff800080
Steps for reproducing this issue:
Steps for fixing
A temporary solution if Valve cannot fix this is:
which will create a link in a location that will fix the problem at least. Running from the CLI or using the Play button via the Steam UI both work correctly after doing this.
Ideally, an additional symlink would be created in ~/.steam/ubuntu12_32/steam-runtime/amd64/lib/x86_64-linux-gnu, but I'm unsure if this would negatively impact other games.
The text was updated successfully, but these errors were encountered: