From c75045f7768a840da668e4341e017f569c32021a Mon Sep 17 00:00:00 2001 From: Noah Snelson Date: Thu, 7 Mar 2024 15:49:01 -0800 Subject: [PATCH] Clear `X509_free` symbol version info from `.runner-unwrapped` (#59) This change allows the 64-bit 1.6 beta to launch by clearing the `OPENSSL_1.0.0` version requirement on linked OpenSSL functions. --- AM2RLauncher/AM2RLauncher/MainForm/MainForm.UI.cs | 2 +- AM2RLauncher/AM2RLauncherLib/Profile.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/AM2RLauncher/AM2RLauncher/MainForm/MainForm.UI.cs b/AM2RLauncher/AM2RLauncher/MainForm/MainForm.UI.cs index b375231..a769c8c 100644 --- a/AM2RLauncher/AM2RLauncher/MainForm/MainForm.UI.cs +++ b/AM2RLauncher/AM2RLauncher/MainForm/MainForm.UI.cs @@ -712,4 +712,4 @@ public partial class MainForm : Form private readonly ProgressBar progressBar; #endregion -} \ No newline at end of file +} diff --git a/AM2RLauncher/AM2RLauncherLib/Profile.cs b/AM2RLauncher/AM2RLauncherLib/Profile.cs index e0e0643..fc116d8 100644 --- a/AM2RLauncher/AM2RLauncherLib/Profile.cs +++ b/AM2RLauncher/AM2RLauncherLib/Profile.cs @@ -490,7 +490,7 @@ public static class Profile UseShellExecute = false, WorkingDirectory = tempPath, FileName = "patchelf", - Arguments = $"\"{tempPath}/{exe}\" --replace-needed \"libcrypto.so.1.0.0\" \"libcurl.so\" --replace-needed \"libssl.so.1.0.0\" \"libcurl.so\"" + Arguments = $"\"{tempPath}/{exe}\" --replace-needed \"libcrypto.so.1.0.0\" \"libcurl.so\" --replace-needed \"libssl.so.1.0.0\" \"libcurl.so\" --clear-symbol-version X509_free" }; patchLibcryptoProcess.StartInfo = patchLibcryptoStartInfo;