From 7cb295ba8f1300c14def9cbb3cb7b2c5de7e6ca7 Mon Sep 17 00:00:00 2001 From: Felix Willenborg Date: Fri, 13 Jun 2025 17:57:54 +0200 Subject: [PATCH] fix(mods): BepInEx_Valheim prevents startup on systems with newer glibc Load the libdoorstop_x64.so solely for the dedicated server executable and not for the whole startup routine, which causes errors in startup or not loading the mods at all. (see #4149 and #4491) --- lgsm/modules/fix_vh.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lgsm/modules/fix_vh.sh b/lgsm/modules/fix_vh.sh index 7c1455443..1672e9d06 100644 --- a/lgsm/modules/fix_vh.sh +++ b/lgsm/modules/fix_vh.sh @@ -34,7 +34,7 @@ if [ -f "${modsinstalledlistfullpath}" ]; then export DOORSTOP_CORLIB_OVERRIDE_PATH=./unstripped_corlib export LD_LIBRARY_PATH="./doorstop_libs:${LD_LIBRARY_PATH}" - export LD_PRELOAD="libdoorstop_x64.so:${LD_PRELOAD}" + preexecutable="LD_PRELOAD=\"libdoorstop_x64.so:${LD_PRELOAD}\" ${preexecutable}" export SteamAppId=892970 fi