-
Notifications
You must be signed in to change notification settings - Fork 1
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
MadMax libssl and libcurl workaround #1
Comments
Since steam-runtime has libcurl.so.4 another approach will be needed. Without access to runt he game it's hard to see exactly why and from where the error is coming. |
If the gears guy is right and it works when running direct maybe better to alter the startup script to nuke LD_PRELOAD entirely so it uses all system libs except for any it forcefully include with rpath I am going to guess based on ldd output. On that note, force to run without steam-runtime by removing preload. diff --git a/madmax.sh b/madmax.sh
index d0d9213..5b1fc60 100644
--- a/madmax.sh
+++ b/madmax.sh
@@ -151,6 +151,8 @@ fi
# Add our additionals and the old preload back
LD_PRELOAD="${LD_PRELOAD_ADDITIONS}:${SYSTEM_LD_PRELOAD}"
export LD_PRELOAD
+unset LD_PRELOAD
+unset LD_LIBRARY_PATH
# ====================================================================
# Run the game Perhaps someone can test. |
Here's my homemade change to the launch script. It allows for the steam overlay to work after nuking LD_PRELOAD. (In my case, I deleted the part of their script where they set it, but unset works too) I used exec because I did not see any use in having a dangling bash process waiting for the game to terminate. I've played through most of the game using this script, with no issues. |
It seems this is related to https://bugzilla.opensuse.org/show_bug.cgi?id=1032151. I believe I fixed in e5815a9 and 71f4ec6. Perhaps someone could compile a list of all Feral games effected by this fix can be applied to all. The latest steamtricks and steamtricks-data packages are available with the fix from https://build.opensuse.org/project/show/home:boombatower:steamtricks. |
Tomb Raider contains:
If all such games have those that may be the way to go. |
Neither XCOM: Enemy Unknown nor Middle-earth: Shadow of Mordor seem to need this fix. |
Company of Heroes 2 needs this fix to launch |
Total War Warhammer also ships a local libcurl which needs to be deleted to allow the game to start
|
The upstream bug FeralInteractive/ferallinuxscripts#2 They keep promising a fix but it's never published. It's like their released games are practically abandoned after release. |
Issue:
As documented a workaround:
ldd output:
It seems like the best potential workaround would be to remove the libcurl.so.4 shipped with MadMax as I tested my local libcurl.so.4 against steam-runtime libssl.so.1.0.0 and it worked fine.
My test script
output
If so presumably, just remove
lib/x86_64/libcurl.so.4
in234140-Mad_Max/00-remove
. I do not own the game, so I need others to test fix. Thanks to mfoxdogg for the help.The text was updated successfully, but these errors were encountered: