[GH-ISSUE #4149] [Bug]: Valheim bepinex: ERROR: ld.so: object 'libdoorstop_x64.so' from LD_PRELOAD cannot be preloaded #2639

Closed
opened 2026-02-27 03:04:15 +03:00 by kerem · 47 comments
Owner

Originally created by @Ren108 on GitHub (Mar 25, 2023).
Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/4149

User story

Just want to start the server with bepinex installed by lgsm.

Game

Valheim

Linux distro

Ubuntu 22.04

Command

command: start, command: mods-install

Further information

Just switched from manual installed bepinex to lgsm installed bepinex (first removed all files from manual copy to serverfiles directory and then issued mi bepinexvh).
With manual install everthing was ok but now if i launch the server i get the message
ERROR: ld.so: object 'libdoorstop_x64.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.

a couple of times in console and then the server is starting correctly. Its not showing up in logs.

Relevant log output

Mono path[0] = '/home/vhserver/serverfiles/valheim_server_Data/Managed'
Mono config path = '/home/vhserver/serverfiles/valheim_server_Data/MonoBleedingEdge/etc'
Preloaded 'libsteam_api.so'
Unable to preload the following plugins:
	libparty.so
Initialize engine version: 2020.3.33f1 (915a7af8b0d5)
[Subsystems] Discovering subsystems at path /home/vhserver/serverfiles/valheim_server_Data/UnitySubsystems
Forcing GfxDevice: Null
GfxDevice: creating device client; threaded=0
NullGfxDevice:
    Version:  NULL 1.0 [1.0]
    Renderer: Null Device
    Vendor:   Unity Technologies
Begin MonoManager ReloadAssembly
- Completed reload, in  0.171 seconds
ERROR: Shader Sprites/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
ERROR: Shader Sprites/Mask shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
ERROR: Shader GUI/Text Shader shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
UnloadTime: 1.505674 ms
03/25/2023 11:38:40: Starting to load scene:start
ERROR: Shader UI/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
Couldn't create a Convex Mesh from source mesh "default" within the maximum polygons limit (256). The partial hull will be used. Consider simplifying your mesh.
Couldn't create a Convex Mesh from source mesh "default" within the maximum polygons limit (256). The partial hull will be used. Consider simplifying your mesh.
ERROR: Shader Legacy Shaders/VertexLit shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
WARNING: Shader Unsupported: 'Standard (Specular setup)' - All subshaders removed
WARNING: Shader Did you use #pragma only_renderers and omit this platform?
WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
ERROR: Shader Standard (Specular setup) shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
WARNING: Shader Unsupported: 'Standard (Specular setup)' - All subshaders removed
WARNING: Shader Did you use #pragma only_renderers and omit this platform?
WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
WARNING: Shader Unsupported: 'Standard' - All subshaders removed
WARNING: Shader Did you use #pragma only_renderers and omit this platform?
WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
ERROR: Shader Standard shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
WARNING: Shader Unsupported: 'Standard' - All subshaders removed
WARNING: Shader Did you use #pragma only_renderers and omit this platform?
WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
WARNING: Shader Unsupported: 'Autodesk Interactive' - All subshaders removed
WARNING: Shader Did you use #pragma only_renderers and omit this platform?
WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
ERROR: Shader Autodesk Interactive shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
WARNING: Shader Unsupported: 'Autodesk Interactive' - All subshaders removed
WARNING: Shader Did you use #pragma only_renderers and omit this platform?
WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
ERROR: Shader Legacy Shaders/Particles/Additive shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
ERROR: Shader Legacy Shaders/Particles/Alpha Blended shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
ERROR: Shader Legacy Shaders/Particles/Alpha Blended Premultiply shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
ERROR: Shader Unlit/Color shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
ERROR: Shader Lux Lit Particles/ Bumped shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
Shader 'Lux Lit Particles/ Tess Bumped': fallback shader 'Lux Lit Particles/ Bumped Smoke' not found
WARNING: Shader Unsupported: 'Lux Lit Particles/ Tess Bumped' - All subshaders removed
WARNING: Shader Did you use #pragma only_renderers and omit this platform?
WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
ERROR: Shader Lux Lit Particles/ Tess Bumped shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
WARNING: Shader Unsupported: 'Lux Lit Particles/ Tess Bumped' - All subshaders removed
WARNING: Shader Did you use #pragma only_renderers and omit this platform?
WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
ERROR: Shader TextMeshPro/Mobile/Distance Field shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
WARNING: Shader Unsupported: 'TextMeshPro/Distance Field' - All subshaders removed
WARNING: Shader Did you use #pragma only_renderers and omit this platform?
WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
ERROR: Shader TextMeshPro/Distance Field shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
WARNING: Shader Unsupported: 'TextMeshPro/Distance Field' - All subshaders removed
WARNING: Shader Did you use #pragma only_renderers and omit this platform?
WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
Unloading 6 Unused Serialized files (Serialized files now loaded: 0)
UnloadTime: 13.282248 ms
Only custom filters can be played. Please add a custom filter or an audioclip to the audiosource (Amb_MainMenu).
HDR Render Texture not supported, disabling HDR on reflection probe.
03/25/2023 11:38:45: Setting -savedir to: /home/vhserver/.config/unity3d/IronGate/Valheim
03/25/2023 11:38:45: Setting -logfile to: 
03/25/2023 11:38:45: Get create world Dedicated
03/25/2023 11:38:45: Using environment steamid 892970
03/25/2023 11:38:45: Using steam APPID:892970
[S_API] SteamAPI_Init(): Loaded local 'steamclient.so' OK.
CAppInfoCacheReadFromDiskThread took 15 milliseconds to initialize
Setting breakpad minidump AppID = 892970
[S_API FAIL] Tried to access Steam interface SteamNetworkingUtils003 before SteamAPI_Init succeeded.
03/25/2023 11:38:45: Server ID 90071992547409920
03/25/2023 11:38:45: Authentication:k_ESteamNetworkingAvailability_Waiting
03/25/2023 11:38:45: Steam game server initialized
03/25/2023 11:38:45: Using default prefs
03/25/2023 11:38:45: Valheim version:0.214.2
03/25/2023 11:38:45: Worldgenerator version setup:2
ERROR: Shader TextMeshPro/Sprite shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
03/25/2023 11:38:45: Render threading mode:SingleThreaded
03/25/2023 11:38:45: Missing audio clip in music respawn
03/25/2023 11:38:45: Builder started
03/25/2023 11:38:47: Loaded localization file #0 - 'localization' language: 'English'
03/25/2023 11:38:47: Loaded localization file #1 - 'localization_extra' language: 'English'
03/25/2023 11:38:47: Sending PlayFab login request (attempt 1)
03/25/2023 11:38:47: Login postponed until ID has been set.
Fallback handler could not load library /home/vhserver/serverfiles/valheim_server_Data/Mono/libparty
Fallback handler could not load library /home/vhserver/serverfiles/valheim_server_Data/Mono/libparty.so
Fallback handler could not load library /home/vhserver/serverfiles/valheim_server_Data/Mono/party
Fallback handler could not load library /home/vhserver/serverfiles/valheim_server_Data/Mono/libparty
Fallback handler could not load library /home/vhserver/serverfiles/valheim_server_Data/Mono/libparty.so
Fallback handler could not load library /home/vhserver/serverfiles/valheim_server_Data/Mono/libparty
Fallback handler could not load library /home/vhserver/serverfiles/valheim_server_Data/Mono/libparty
Fallback handler could not load library /home/vhserver/serverfiles/valheim_server_Data/Mono/libparty.so
Fallback handler could not load library /home/vhserver/serverfiles/valheim_server_Data/Mono/party
Fallback handler could not load library /home/vhserver/serverfiles/valheim_server_Data/Mono/libparty
Fallback handler could not load library /home/vhserver/serverfiles/valheim_server_Data/Mono/libparty.so
Fallback handler could not load library /home/vhserver/serverfiles/valheim_server_Data/Mono/libparty
DllNotFoundException: party
  at (wrapper managed-to-native) PartyCSharpSDK.Interop.PFPInterop.PartyInitialize(byte[],PartyCSharpSDK.Interop.PARTY_HANDLE&)
  at PartyCSharpSDK.SDK.PartyInitialize (System.String titleId, PartyCSharpSDK.PARTY_HANDLE& handle) [0x00006] in <2a1ef85868414a97a033eac3f475139e>:0 
  at PlayFab.Party.PlayFabMultiplayerManager.InitializeImpl () [0x000be] in <2a1ef85868414a97a033eac3f475139e>:0 
  at PlayFab.Party.PlayFabMultiplayerManager._Initialize () [0x0000a] in <2a1ef85868414a97a033eac3f475139e>:0 
  at PlayFab.Party.PlayFabMultiplayerManager.Start () [0x00000] in <2a1ef85868414a97a033eac3f475139e>:0 

The shader Hidden/Dof/DepthOfFieldHdr (UnityEngine.Shader) on effect Main Camera (UnityStandardAssets.ImageEffects.DepthOfField) is not supported on this platform!
The image effect Main Camera (UnityStandardAssets.ImageEffects.DepthOfField) has been disabled as it's not supported on the current platform.
The shader Hidden/SunShaftsComposite (UnityEngine.Shader) on effect Main Camera (UnityStandardAssets.ImageEffects.SunShafts) is not supported on this platform!
The shader Hidden/SimpleClear (UnityEngine.Shader) on effect Main Camera (UnityStandardAssets.ImageEffects.SunShafts) is not supported on this platform!
The image effect Main Camera (UnityStandardAssets.ImageEffects.SunShafts) has been disabled as it's not supported on the current platform.
03/25/2023 11:38:47: Game server connected
03/25/2023 11:38:47: Starting music menu
03/25/2023 11:38:47: UI Group status changed Menu = True

Unloading 17 unused Assets to reduce memory usage. Loaded Objects now: 137997.
Total: 188.591038 ms (FindLiveObjects: 19.637297 ms CreateObjectMapping: 27.701873 ms MarkObjects: 140.168145 ms  DeleteObjects: 1.082386 ms)

Unloading 6 Unused Serialized files (Serialized files now loaded: 0)
UnloadTime: 25.300692 ms
HDR Render Texture not supported, disabling HDR on reflection probe.
HDR Render Texture not supported, disabling HDR on reflection probe.
03/25/2023 11:38:48: Using default prefs
03/25/2023 11:38:48: isModded: False
03/25/2023 11:38:48: Zonesystem Awake 799
03/25/2023 11:38:48: DungeonDB Awake 799
03/25/2023 11:38:48: Registering lobby
03/25/2023 11:38:48: Worldgenerator version setup:1
03/25/2023 11:38:52: Audioman already exist, destroying self

Unloading 100 unused Assets to reduce memory usage. Loaded Objects now: 142130.
Total: 248.436992 ms (FindLiveObjects: 21.424465 ms CreateObjectMapping: 32.486761 ms MarkObjects: 192.463444 ms  DeleteObjects: 2.060609 ms)

03/25/2023 11:39:05: Zonesystem Start 799
03/25/2023 11:39:06: Added 3 locations, 0 vegetations, 0 environments, 0 biome env-setups, 0 clutter  from locations_cp1
03/25/2023 11:39:06: Added 1 locations, 0 vegetations, 1 environments, 0 biome env-setups, 0 clutter  from locations_mountaincaves
03/25/2023 11:39:06: Added 27 locations, 25 vegetations, 5 environments, 1 biome env-setups, 3 clutter  from locations_mistlands
03/25/2023 11:39:06: DungeonDB Start 799
03/25/2023 11:39:07: ZRpc timeout set to 30s 
03/25/2023 11:39:07: Load world: Dedicated (Dedicated)
03/25/2023 11:39:07: Loading 727720 zdos , my id -178926771 data version:29
03/25/2023 11:39:14: Loaded 100000 dead zdos
03/25/2023 11:39:14: Removed 0 OLD generated ZDOS
03/25/2023 11:39:14: Loaded 9927 locations
03/25/2023 11:39:14: Unloading unused assets
Unloading 10 Unused Serialized files (Serialized files now loaded: 0)
The shader Hidden/Dof/DepthOfFieldHdr (UnityEngine.Shader) on effect Main Camera (UnityStandardAssets.ImageEffects.DepthOfField) is not supported on this platform!
The image effect Main Camera (UnityStandardAssets.ImageEffects.DepthOfField) has been disabled as it's not supported on the current platform.
The shader Hidden/SunShaftsComposite (UnityEngine.Shader) on effect Main Camera (UnityStandardAssets.ImageEffects.SunShafts) is not supported on this platform!
The shader Hidden/SimpleClear (UnityEngine.Shader) on effect Main Camera (UnityStandardAssets.ImageEffects.SunShafts) is not supported on this platform!
The image effect Main Camera (UnityStandardAssets.ImageEffects.SunShafts) has been disabled as it's not supported on the current platform.

Steps to reproduce

No response

Originally created by @Ren108 on GitHub (Mar 25, 2023). Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/4149 ### User story Just want to start the server with bepinex installed by lgsm. ### Game Valheim ### Linux distro Ubuntu 22.04 ### Command command: start, command: mods-install ### Further information Just switched from manual installed bepinex to lgsm installed bepinex (first removed all files from manual copy to serverfiles directory and then issued mi bepinexvh). With manual install everthing was ok but now if i launch the server i get the message ERROR: ld.so: object 'libdoorstop_x64.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored. a couple of times in console and then the server is starting correctly. Its not showing up in logs. ### Relevant log output ```shell Mono path[0] = '/home/vhserver/serverfiles/valheim_server_Data/Managed' Mono config path = '/home/vhserver/serverfiles/valheim_server_Data/MonoBleedingEdge/etc' Preloaded 'libsteam_api.so' Unable to preload the following plugins: libparty.so Initialize engine version: 2020.3.33f1 (915a7af8b0d5) [Subsystems] Discovering subsystems at path /home/vhserver/serverfiles/valheim_server_Data/UnitySubsystems Forcing GfxDevice: Null GfxDevice: creating device client; threaded=0 NullGfxDevice: Version: NULL 1.0 [1.0] Renderer: Null Device Vendor: Unity Technologies Begin MonoManager ReloadAssembly - Completed reload, in 0.171 seconds ERROR: Shader Sprites/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable) ERROR: Shader Sprites/Mask shader is not supported on this GPU (none of subshaders/fallbacks are suitable) ERROR: Shader GUI/Text Shader shader is not supported on this GPU (none of subshaders/fallbacks are suitable) UnloadTime: 1.505674 ms 03/25/2023 11:38:40: Starting to load scene:start ERROR: Shader UI/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable) Couldn't create a Convex Mesh from source mesh "default" within the maximum polygons limit (256). The partial hull will be used. Consider simplifying your mesh. Couldn't create a Convex Mesh from source mesh "default" within the maximum polygons limit (256). The partial hull will be used. Consider simplifying your mesh. ERROR: Shader Legacy Shaders/VertexLit shader is not supported on this GPU (none of subshaders/fallbacks are suitable) WARNING: Shader Unsupported: 'Standard (Specular setup)' - All subshaders removed WARNING: Shader Did you use #pragma only_renderers and omit this platform? WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off? ERROR: Shader Standard (Specular setup) shader is not supported on this GPU (none of subshaders/fallbacks are suitable) WARNING: Shader Unsupported: 'Standard (Specular setup)' - All subshaders removed WARNING: Shader Did you use #pragma only_renderers and omit this platform? WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off? WARNING: Shader Unsupported: 'Standard' - All subshaders removed WARNING: Shader Did you use #pragma only_renderers and omit this platform? WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off? ERROR: Shader Standard shader is not supported on this GPU (none of subshaders/fallbacks are suitable) WARNING: Shader Unsupported: 'Standard' - All subshaders removed WARNING: Shader Did you use #pragma only_renderers and omit this platform? WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off? WARNING: Shader Unsupported: 'Autodesk Interactive' - All subshaders removed WARNING: Shader Did you use #pragma only_renderers and omit this platform? WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off? ERROR: Shader Autodesk Interactive shader is not supported on this GPU (none of subshaders/fallbacks are suitable) WARNING: Shader Unsupported: 'Autodesk Interactive' - All subshaders removed WARNING: Shader Did you use #pragma only_renderers and omit this platform? WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off? ERROR: Shader Legacy Shaders/Particles/Additive shader is not supported on this GPU (none of subshaders/fallbacks are suitable) ERROR: Shader Legacy Shaders/Particles/Alpha Blended shader is not supported on this GPU (none of subshaders/fallbacks are suitable) ERROR: Shader Legacy Shaders/Particles/Alpha Blended Premultiply shader is not supported on this GPU (none of subshaders/fallbacks are suitable) ERROR: Shader Unlit/Color shader is not supported on this GPU (none of subshaders/fallbacks are suitable) ERROR: Shader Lux Lit Particles/ Bumped shader is not supported on this GPU (none of subshaders/fallbacks are suitable) Shader 'Lux Lit Particles/ Tess Bumped': fallback shader 'Lux Lit Particles/ Bumped Smoke' not found WARNING: Shader Unsupported: 'Lux Lit Particles/ Tess Bumped' - All subshaders removed WARNING: Shader Did you use #pragma only_renderers and omit this platform? WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off? ERROR: Shader Lux Lit Particles/ Tess Bumped shader is not supported on this GPU (none of subshaders/fallbacks are suitable) WARNING: Shader Unsupported: 'Lux Lit Particles/ Tess Bumped' - All subshaders removed WARNING: Shader Did you use #pragma only_renderers and omit this platform? WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off? ERROR: Shader TextMeshPro/Mobile/Distance Field shader is not supported on this GPU (none of subshaders/fallbacks are suitable) WARNING: Shader Unsupported: 'TextMeshPro/Distance Field' - All subshaders removed WARNING: Shader Did you use #pragma only_renderers and omit this platform? WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off? ERROR: Shader TextMeshPro/Distance Field shader is not supported on this GPU (none of subshaders/fallbacks are suitable) WARNING: Shader Unsupported: 'TextMeshPro/Distance Field' - All subshaders removed WARNING: Shader Did you use #pragma only_renderers and omit this platform? WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off? Unloading 6 Unused Serialized files (Serialized files now loaded: 0) UnloadTime: 13.282248 ms Only custom filters can be played. Please add a custom filter or an audioclip to the audiosource (Amb_MainMenu). HDR Render Texture not supported, disabling HDR on reflection probe. 03/25/2023 11:38:45: Setting -savedir to: /home/vhserver/.config/unity3d/IronGate/Valheim 03/25/2023 11:38:45: Setting -logfile to: 03/25/2023 11:38:45: Get create world Dedicated 03/25/2023 11:38:45: Using environment steamid 892970 03/25/2023 11:38:45: Using steam APPID:892970 [S_API] SteamAPI_Init(): Loaded local 'steamclient.so' OK. CAppInfoCacheReadFromDiskThread took 15 milliseconds to initialize Setting breakpad minidump AppID = 892970 [S_API FAIL] Tried to access Steam interface SteamNetworkingUtils003 before SteamAPI_Init succeeded. 03/25/2023 11:38:45: Server ID 90071992547409920 03/25/2023 11:38:45: Authentication:k_ESteamNetworkingAvailability_Waiting 03/25/2023 11:38:45: Steam game server initialized 03/25/2023 11:38:45: Using default prefs 03/25/2023 11:38:45: Valheim version:0.214.2 03/25/2023 11:38:45: Worldgenerator version setup:2 ERROR: Shader TextMeshPro/Sprite shader is not supported on this GPU (none of subshaders/fallbacks are suitable) 03/25/2023 11:38:45: Render threading mode:SingleThreaded 03/25/2023 11:38:45: Missing audio clip in music respawn 03/25/2023 11:38:45: Builder started 03/25/2023 11:38:47: Loaded localization file #0 - 'localization' language: 'English' 03/25/2023 11:38:47: Loaded localization file #1 - 'localization_extra' language: 'English' 03/25/2023 11:38:47: Sending PlayFab login request (attempt 1) 03/25/2023 11:38:47: Login postponed until ID has been set. Fallback handler could not load library /home/vhserver/serverfiles/valheim_server_Data/Mono/libparty Fallback handler could not load library /home/vhserver/serverfiles/valheim_server_Data/Mono/libparty.so Fallback handler could not load library /home/vhserver/serverfiles/valheim_server_Data/Mono/party Fallback handler could not load library /home/vhserver/serverfiles/valheim_server_Data/Mono/libparty Fallback handler could not load library /home/vhserver/serverfiles/valheim_server_Data/Mono/libparty.so Fallback handler could not load library /home/vhserver/serverfiles/valheim_server_Data/Mono/libparty Fallback handler could not load library /home/vhserver/serverfiles/valheim_server_Data/Mono/libparty Fallback handler could not load library /home/vhserver/serverfiles/valheim_server_Data/Mono/libparty.so Fallback handler could not load library /home/vhserver/serverfiles/valheim_server_Data/Mono/party Fallback handler could not load library /home/vhserver/serverfiles/valheim_server_Data/Mono/libparty Fallback handler could not load library /home/vhserver/serverfiles/valheim_server_Data/Mono/libparty.so Fallback handler could not load library /home/vhserver/serverfiles/valheim_server_Data/Mono/libparty DllNotFoundException: party at (wrapper managed-to-native) PartyCSharpSDK.Interop.PFPInterop.PartyInitialize(byte[],PartyCSharpSDK.Interop.PARTY_HANDLE&) at PartyCSharpSDK.SDK.PartyInitialize (System.String titleId, PartyCSharpSDK.PARTY_HANDLE& handle) [0x00006] in <2a1ef85868414a97a033eac3f475139e>:0 at PlayFab.Party.PlayFabMultiplayerManager.InitializeImpl () [0x000be] in <2a1ef85868414a97a033eac3f475139e>:0 at PlayFab.Party.PlayFabMultiplayerManager._Initialize () [0x0000a] in <2a1ef85868414a97a033eac3f475139e>:0 at PlayFab.Party.PlayFabMultiplayerManager.Start () [0x00000] in <2a1ef85868414a97a033eac3f475139e>:0 The shader Hidden/Dof/DepthOfFieldHdr (UnityEngine.Shader) on effect Main Camera (UnityStandardAssets.ImageEffects.DepthOfField) is not supported on this platform! The image effect Main Camera (UnityStandardAssets.ImageEffects.DepthOfField) has been disabled as it's not supported on the current platform. The shader Hidden/SunShaftsComposite (UnityEngine.Shader) on effect Main Camera (UnityStandardAssets.ImageEffects.SunShafts) is not supported on this platform! The shader Hidden/SimpleClear (UnityEngine.Shader) on effect Main Camera (UnityStandardAssets.ImageEffects.SunShafts) is not supported on this platform! The image effect Main Camera (UnityStandardAssets.ImageEffects.SunShafts) has been disabled as it's not supported on the current platform. 03/25/2023 11:38:47: Game server connected 03/25/2023 11:38:47: Starting music menu 03/25/2023 11:38:47: UI Group status changed Menu = True Unloading 17 unused Assets to reduce memory usage. Loaded Objects now: 137997. Total: 188.591038 ms (FindLiveObjects: 19.637297 ms CreateObjectMapping: 27.701873 ms MarkObjects: 140.168145 ms DeleteObjects: 1.082386 ms) Unloading 6 Unused Serialized files (Serialized files now loaded: 0) UnloadTime: 25.300692 ms HDR Render Texture not supported, disabling HDR on reflection probe. HDR Render Texture not supported, disabling HDR on reflection probe. 03/25/2023 11:38:48: Using default prefs 03/25/2023 11:38:48: isModded: False 03/25/2023 11:38:48: Zonesystem Awake 799 03/25/2023 11:38:48: DungeonDB Awake 799 03/25/2023 11:38:48: Registering lobby 03/25/2023 11:38:48: Worldgenerator version setup:1 03/25/2023 11:38:52: Audioman already exist, destroying self Unloading 100 unused Assets to reduce memory usage. Loaded Objects now: 142130. Total: 248.436992 ms (FindLiveObjects: 21.424465 ms CreateObjectMapping: 32.486761 ms MarkObjects: 192.463444 ms DeleteObjects: 2.060609 ms) 03/25/2023 11:39:05: Zonesystem Start 799 03/25/2023 11:39:06: Added 3 locations, 0 vegetations, 0 environments, 0 biome env-setups, 0 clutter from locations_cp1 03/25/2023 11:39:06: Added 1 locations, 0 vegetations, 1 environments, 0 biome env-setups, 0 clutter from locations_mountaincaves 03/25/2023 11:39:06: Added 27 locations, 25 vegetations, 5 environments, 1 biome env-setups, 3 clutter from locations_mistlands 03/25/2023 11:39:06: DungeonDB Start 799 03/25/2023 11:39:07: ZRpc timeout set to 30s 03/25/2023 11:39:07: Load world: Dedicated (Dedicated) 03/25/2023 11:39:07: Loading 727720 zdos , my id -178926771 data version:29 03/25/2023 11:39:14: Loaded 100000 dead zdos 03/25/2023 11:39:14: Removed 0 OLD generated ZDOS 03/25/2023 11:39:14: Loaded 9927 locations 03/25/2023 11:39:14: Unloading unused assets Unloading 10 Unused Serialized files (Serialized files now loaded: 0) The shader Hidden/Dof/DepthOfFieldHdr (UnityEngine.Shader) on effect Main Camera (UnityStandardAssets.ImageEffects.DepthOfField) is not supported on this platform! The image effect Main Camera (UnityStandardAssets.ImageEffects.DepthOfField) has been disabled as it's not supported on the current platform. The shader Hidden/SunShaftsComposite (UnityEngine.Shader) on effect Main Camera (UnityStandardAssets.ImageEffects.SunShafts) is not supported on this platform! The shader Hidden/SimpleClear (UnityEngine.Shader) on effect Main Camera (UnityStandardAssets.ImageEffects.SunShafts) is not supported on this platform! The image effect Main Camera (UnityStandardAssets.ImageEffects.SunShafts) has been disabled as it's not supported on the current platform. ``` ### Steps to reproduce _No response_
Author
Owner

@Ren108 commented on GitHub (Mar 25, 2023):

tag game: Ark: Survival Evolved could be removed :D

<!-- gh-comment-id:1483811945 --> @Ren108 commented on GitHub (Mar 25, 2023): tag game: Ark: Survival Evolved could be removed :D
Author
Owner

@ghstwhl commented on GitHub (Mar 26, 2023):

I am also experiencing this error, with a fresh install of LinuxGSM, Valheim, and the bepinexvh mod.

<!-- gh-comment-id:1483968650 --> @ghstwhl commented on GitHub (Mar 26, 2023): I am also experiencing this error, with a fresh install of LinuxGSM, Valheim, and the bepinexvh mod.
Author
Owner

@ghstwhl commented on GitHub (Mar 26, 2023):

I was able to clear this message by editing ./lgsm/functions/fix_vh.sh and updating LD_LIBRARY_PATH to include the path to the instance's copy of doorstop_libs

<!-- gh-comment-id:1483970289 --> @ghstwhl commented on GitHub (Mar 26, 2023): I was able to clear this message by editing `./lgsm/functions/fix_vh.sh` and updating LD_LIBRARY_PATH to include the path to the instance's copy of doorstop_libs
Author
Owner

@dgibbs64 commented on GitHub (Mar 26, 2023):

@ghstwhl could you paste your code changes please. I am currently looking at a fix

<!-- gh-comment-id:1484281038 --> @dgibbs64 commented on GitHub (Mar 26, 2023): @ghstwhl could you paste your code changes please. I am currently looking at a fix
Author
Owner

@ghstwhl commented on GitHub (Mar 27, 2023):

I just forked the repo so I could submit a proper PR. :)

<!-- gh-comment-id:1484281389 --> @ghstwhl commented on GitHub (Mar 27, 2023): I just forked the repo so I could submit a proper PR. :)
Author
Owner

@ghstwhl commented on GitHub (Mar 27, 2023):

@dgibbs64
Erk... I started a PR, but there are a lot of steps in the process I don't have time to complete before my lunch is over. Here's my corrected line 9 in lgsm/functions/fix_vh.sh

export LD_LIBRARY_PATH="$(pwd)/serverfiles/BepInExPack_Valheim/doorstop_libs:$(pwd)/serverfiles/linux64:./linux64:${LD_LIBRARY_PATH}"

This gets rid of the warning, but my server isn't starting at the moment so I can't confirm it's a complete fix.

<!-- gh-comment-id:1484289686 --> @ghstwhl commented on GitHub (Mar 27, 2023): @dgibbs64 Erk... I started a PR, but there are a lot of steps in the process I don't have time to complete before my lunch is over. Here's my corrected line 9 in lgsm/functions/fix_vh.sh `export LD_LIBRARY_PATH="$(pwd)/serverfiles/BepInExPack_Valheim/doorstop_libs:$(pwd)/serverfiles/linux64:./linux64:${LD_LIBRARY_PATH}"` This gets rid of the warning, but my server isn't starting at the moment so I can't confirm it's a complete fix.
Author
Owner

@Zeekin commented on GitHub (Apr 23, 2023):

+1 to this issue, experiencing the exact same thing.

The issue doesn't prevent the server from starting up, however it does mean mod injection is not happening; most mods being client side mean I can mostly get by without a fix, though it does break functionality of a few like epic-loot that would be good to get this working for.

I tried @ghstwhl fix however that just resulted in a different error:

[ INFO ] Starting vhserver: BepInEx install detected, applying start exports
readlink: symbol lookup error: /home/vhserver/serverfiles/BepInExPack_Valheim/doorstop_libs/libdoorstop_x64.so: undefined symbol: dlopen
basename: symbol lookup error: /home/vhserver/serverfiles/BepInExPack_Valheim/doorstop_libs/libdoorstop_x64.so: undefined symbol: dlopen
rm: symbol lookup error: /home/vhserver/serverfiles/BepInExPack_Valheim/doorstop_libs/libdoorstop_x64.so: undefined symbol: dlopen
cat: symbol lookup error: /home/vhserver/serverfiles/BepInExPack_Valheim/doorstop_libs/libdoorstop_x64.so: undefined symbol: dlopen
readlink: symbol lookup error: /home/vhserver/serverfiles/BepInExPack_Valheim/doorstop_libs/libdoorstop_x64.so: undefined symbol: dlopen
basename: symbol lookup error: /home/vhserver/serverfiles/BepInExPack_Valheim/doorstop_libs/libdoorstop_x64.so: undefined symbol: dlopen
readlink: symbol lookup error: /home/vhserver/serverfiles/BepInExPack_Valheim/doorstop_libs/libdoorstop_x64.so: undefined symbol: dlopen
basename: symbol lookup error: /home/vhserver/serverfiles/BepInExPack_Valheim/doorstop_libs/libdoorstop_x64.so: undefined symbol: dlopen
wc: symbol lookup error: /home/vhserver/serverfiles/BepInExPack_Valheim/doorstop_libs/libdoorstop_x64.so: undefined symbol: dlopen
/home/vhserver/lgsm/functions/core_logs.sh: line 30: [: : integer expression expected
[ .... ] Starting vhserver: Ben and Ed suckssleep: symbol lookup error: /home/vhserver/serverfiles/BepInExPack_Valheim/doorstop_libs/libdoorstop_x64.so: undefined symbol:
dlopen
date: symbol lookup error: /home/vhserver/serverfiles/BepInExPack_Valheim/doorstop_libs/libdoorstop_x64.so: undefined symbol: dlopen
Failed to hook dlsym, ignoring it. Error: no such function: dlsym
Failed to hook dlsym, ignoring it. Error: no such function: dlsym
date: symbol lookup error: /home/vhserver/serverfiles/BepInExPack_Valheim/doorstop_libs/libdoorstop_x64.so: undefined symbol: dlopen
Failed to hook dlsym, ignoring it. Error: no such function: dlsym
Failed to hook dlsym, ignoring it. Error: no such function: dlsym
Failed to hook dlsym, ignoring it. Error: no such function: dlsym
Failed to hook dlsym, ignoring it. Error: no such function: dlsym
Failed to hook dlsym, ignoring it. Error: no such function: dlsym

Might have to look into manual install or something

<!-- gh-comment-id:1519199290 --> @Zeekin commented on GitHub (Apr 23, 2023): +1 to this issue, experiencing the exact same thing. The issue doesn't prevent the server from starting up, however it does mean mod injection is not happening; most mods being client side mean I can mostly get by without a fix, though it does break functionality of a few like epic-loot that would be good to get this working for. I tried @ghstwhl fix however that just resulted in a different error: > [ INFO ] Starting vhserver: BepInEx install detected, applying start exports readlink: symbol lookup error: /home/vhserver/serverfiles/BepInExPack_Valheim/doorstop_libs/libdoorstop_x64.so: undefined symbol: dlopen basename: symbol lookup error: /home/vhserver/serverfiles/BepInExPack_Valheim/doorstop_libs/libdoorstop_x64.so: undefined symbol: dlopen rm: symbol lookup error: /home/vhserver/serverfiles/BepInExPack_Valheim/doorstop_libs/libdoorstop_x64.so: undefined symbol: dlopen cat: symbol lookup error: /home/vhserver/serverfiles/BepInExPack_Valheim/doorstop_libs/libdoorstop_x64.so: undefined symbol: dlopen readlink: symbol lookup error: /home/vhserver/serverfiles/BepInExPack_Valheim/doorstop_libs/libdoorstop_x64.so: undefined symbol: dlopen basename: symbol lookup error: /home/vhserver/serverfiles/BepInExPack_Valheim/doorstop_libs/libdoorstop_x64.so: undefined symbol: dlopen readlink: symbol lookup error: /home/vhserver/serverfiles/BepInExPack_Valheim/doorstop_libs/libdoorstop_x64.so: undefined symbol: dlopen basename: symbol lookup error: /home/vhserver/serverfiles/BepInExPack_Valheim/doorstop_libs/libdoorstop_x64.so: undefined symbol: dlopen wc: symbol lookup error: /home/vhserver/serverfiles/BepInExPack_Valheim/doorstop_libs/libdoorstop_x64.so: undefined symbol: dlopen /home/vhserver/lgsm/functions/core_logs.sh: line 30: [: : integer expression expected [ .... ] Starting vhserver: Ben and Ed suckssleep: symbol lookup error: /home/vhserver/serverfiles/BepInExPack_Valheim/doorstop_libs/libdoorstop_x64.so: undefined symbol: dlopen date: symbol lookup error: /home/vhserver/serverfiles/BepInExPack_Valheim/doorstop_libs/libdoorstop_x64.so: undefined symbol: dlopen Failed to hook dlsym, ignoring it. Error: no such function: dlsym Failed to hook dlsym, ignoring it. Error: no such function: dlsym date: symbol lookup error: /home/vhserver/serverfiles/BepInExPack_Valheim/doorstop_libs/libdoorstop_x64.so: undefined symbol: dlopen Failed to hook dlsym, ignoring it. Error: no such function: dlsym Failed to hook dlsym, ignoring it. Error: no such function: dlsym Failed to hook dlsym, ignoring it. Error: no such function: dlsym Failed to hook dlsym, ignoring it. Error: no such function: dlsym Failed to hook dlsym, ignoring it. Error: no such function: dlsym Might have to look into manual install or something
Author
Owner

@Ilotoxy commented on GitHub (Jul 6, 2023):

Hi, any update on this? Tried with a fresh install on Ubuntu 22.04. Installing the bepinexvh mod is just currently broken and does not work. I've tried modifying the fix_vh.sh import without success.

[ INFO ] Starting vhserver: BepInEx install detected, applying start exports
Failed to hook dlsym, ignoring it. Error: no such function: dlsym
/home/vhserver/lgsm/modules/core_logs.sh: line 30: [: Failed to hook dlsym, ignoring it. Error: no such function: dlsym
1: integer expression expected
[ .... ] Starting vhserver: ServerFailed to hook dlsym, ignoring it. Error: no such function: dlsym
Failed to hook dlsym, ignoring it. Error: no such function: dlsym
Failed to hook dlsym, ignoring it. Error: no such function: dlsym
Failed to hook dlsym, ignoring it. Error: no such function: dlsym
Failed to hook dlsym, ignoring it. Error: no such function: dlsym
Failed to hook dlsym, ignoring it. Error: no such function: dlsym
Failed to hook dlsym, ignoring it. Error: no such function: dlsym
Failed to hook dlsym, ignoring it. Error: no such function: dlsym
./vhserver: line 475: to: command not found
./vhserver: line 476: -name 'Server' -password 12345 -port 2456 -world World -public 0 -savedir '/home/vhserver/.config/unity3d/IronGate/Valheim' -logFile '' -saveinterval 1800 -backups 4 -backupshort 7200 -backuplong 43200 : No such file or directory
Failed to hook dlsym, ignoring it. Error: no such function: dlsym
Failed to hook dlsym, ignoring it. Error: no such function: dlsym
Failed to hook dlsym, ignoring it. Error: no such function: dlsym
Failed to hook dlsym, ignoring it. Error: no such function: dlsym
Failed to hook dlsym, ignoring it. Error: no such function: dlsym
Failed to hook dlsym, ignoring it. Error: no such function: dlsym
Failed to hook dlsym, ignoring it. Error: no such function: dlsym
Failed to hook dlsym, ignoring it. Error: no such function: dlsym
Failed to hook dlsym, ignoring it. Error: no such function: dlsym
Failed to hook dlsym, ignoring it. Error: no such function: dlsym
Found UnityPlayer, hooking into it instead
Found UnityPlayer, hooking into it instead
Found UnityPlayer, hooking into it instead
no server running on /tmp/tmux-1000/default
Found UnityPlayer, hooking into it instead
<!-- gh-comment-id:1623725852 --> @Ilotoxy commented on GitHub (Jul 6, 2023): Hi, any update on this? Tried with a fresh install on Ubuntu 22.04. Installing the bepinexvh mod is just currently broken and does not work. I've tried modifying the fix_vh.sh import without success. ``` [ INFO ] Starting vhserver: BepInEx install detected, applying start exports Failed to hook dlsym, ignoring it. Error: no such function: dlsym /home/vhserver/lgsm/modules/core_logs.sh: line 30: [: Failed to hook dlsym, ignoring it. Error: no such function: dlsym 1: integer expression expected [ .... ] Starting vhserver: ServerFailed to hook dlsym, ignoring it. Error: no such function: dlsym Failed to hook dlsym, ignoring it. Error: no such function: dlsym Failed to hook dlsym, ignoring it. Error: no such function: dlsym Failed to hook dlsym, ignoring it. Error: no such function: dlsym Failed to hook dlsym, ignoring it. Error: no such function: dlsym Failed to hook dlsym, ignoring it. Error: no such function: dlsym Failed to hook dlsym, ignoring it. Error: no such function: dlsym Failed to hook dlsym, ignoring it. Error: no such function: dlsym ./vhserver: line 475: to: command not found ./vhserver: line 476: -name 'Server' -password 12345 -port 2456 -world World -public 0 -savedir '/home/vhserver/.config/unity3d/IronGate/Valheim' -logFile '' -saveinterval 1800 -backups 4 -backupshort 7200 -backuplong 43200 : No such file or directory Failed to hook dlsym, ignoring it. Error: no such function: dlsym Failed to hook dlsym, ignoring it. Error: no such function: dlsym Failed to hook dlsym, ignoring it. Error: no such function: dlsym Failed to hook dlsym, ignoring it. Error: no such function: dlsym Failed to hook dlsym, ignoring it. Error: no such function: dlsym Failed to hook dlsym, ignoring it. Error: no such function: dlsym Failed to hook dlsym, ignoring it. Error: no such function: dlsym Failed to hook dlsym, ignoring it. Error: no such function: dlsym Failed to hook dlsym, ignoring it. Error: no such function: dlsym Failed to hook dlsym, ignoring it. Error: no such function: dlsym Found UnityPlayer, hooking into it instead Found UnityPlayer, hooking into it instead Found UnityPlayer, hooking into it instead no server running on /tmp/tmux-1000/default Found UnityPlayer, hooking into it instead ```
Author
Owner

@m33ts4k0z commented on GitHub (Jul 12, 2023):

Hello.

This is still an issue. The mod doesn't work at all at the moment.

<!-- gh-comment-id:1632036427 --> @m33ts4k0z commented on GitHub (Jul 12, 2023): Hello. This is still an issue. The mod doesn't work at all at the moment.
Author
Owner

@dgibbs64 commented on GitHub (Aug 31, 2023):

Reading the docs it appears that the downloads should come from github now. I think this needs to bew reviewed

<!-- gh-comment-id:1701136471 --> @dgibbs64 commented on GitHub (Aug 31, 2023): Reading the docs it appears that the downloads should come from github now. I think this needs to bew reviewed
Author
Owner

@natrius commented on GitHub (Sep 24, 2023):

You mean reading https://docs.bepinex.dev/articles/user_guide/installation/index.html?tabs=tabid-nix and downloading the latest *nix from https://github.com/BepInEx/BepInEx/releases directly?

Installed it right now through linuxgsm and run into this error.

<!-- gh-comment-id:1732580629 --> @natrius commented on GitHub (Sep 24, 2023): You mean reading https://docs.bepinex.dev/articles/user_guide/installation/index.html?tabs=tabid-nix and downloading the latest *nix from https://github.com/BepInEx/BepInEx/releases directly? Installed it right now through linuxgsm and run into this error.
Author
Owner

@ghstwhl commented on GitHub (Sep 24, 2023):

You mean reading https://docs.bepinex.dev/articles/user_guide/installation/index.html?tabs=tabid-nix and downloading the latest *nix from https://github.com/BepInEx/BepInEx/releases directly?

Installed it right now through linuxgsm and run into this error.

Unfortunately, Valheim doesn't work out of the box with the github BepInEx package. You need it bundled with unstripped Unity DLLs.

https://valheim.thunderstore.io/package/denikson/BepInExPack_Valheim/

<!-- gh-comment-id:1732670109 --> @ghstwhl commented on GitHub (Sep 24, 2023): > You mean reading https://docs.bepinex.dev/articles/user_guide/installation/index.html?tabs=tabid-nix and downloading the latest *nix from https://github.com/BepInEx/BepInEx/releases directly? > > Installed it right now through linuxgsm and run into this error. Unfortunately, Valheim doesn't work out of the box with the github BepInEx package. You need it bundled with unstripped Unity DLLs. https://valheim.thunderstore.io/package/denikson/BepInExPack_Valheim/
Author
Owner

@axe312ger commented on GitHub (Oct 24, 2023):

Also have no luck getting it working on my debian VM. Adjusted the paths in LD_LIBRARY_PATH - it can find the lib now.. but goes crazy on on dlopen and dlsym:

Screenshot 2023-10-24 at 12 25 58

Any ideas? :(

Edit:

Got it working manually on the very same (virtual) machine:

  1. More or less follow https://gist.github.com/mmercedes/64428eac49d970d6bcac99718a0066a3
  2. Install https://valheim.thunderstore.io/package/denikson/BepInExPack_Valheim/
  3. Adjust configs

Server runs fine, could add my mods, could connect with my modded client.

Retried it in LGSM environment, but still running into these strange errors from above

<!-- gh-comment-id:1776939000 --> @axe312ger commented on GitHub (Oct 24, 2023): Also have no luck getting it working on my debian VM. Adjusted the paths in LD_LIBRARY_PATH - it can find the lib now.. but goes crazy on on dlopen and dlsym: <img width="431" alt="Screenshot 2023-10-24 at 12 25 58" src="https://github.com/GameServerManagers/LinuxGSM/assets/1737026/aa6b4e81-52b5-4970-b1f1-dc6e81290067"> Any ideas? :( Edit: Got it working manually on the very same (virtual) machine: 1. More or less follow https://gist.github.com/mmercedes/64428eac49d970d6bcac99718a0066a3 2. Install https://valheim.thunderstore.io/package/denikson/BepInExPack_Valheim/ 3. Adjust configs Server runs fine, could add my mods, could connect with my modded client. Retried it in LGSM environment, but still running into these strange errors from above
Author
Owner

@GrubbyZebra commented on GitHub (Oct 27, 2023):

Also have no luck getting it working on my debian VM. Adjusted the paths in LD_LIBRARY_PATH - it can find the lib now.. but goes crazy on on dlopen and dlsym:

Screenshot 2023-10-24 at 12 25 58 Any ideas? :(

Edit:

Got it working manually on the very same (virtual) machine:

  1. More or less follow https://gist.github.com/mmercedes/64428eac49d970d6bcac99718a0066a3
  2. Install https://valheim.thunderstore.io/package/denikson/BepInExPack_Valheim/
  3. Adjust configs

Server runs fine, could add my mods, could connect with my modded client.

Retried it in LGSM environment, but still running into these strange errors from above

Having the same issue, going to give this a try....

<!-- gh-comment-id:1783063645 --> @GrubbyZebra commented on GitHub (Oct 27, 2023): > Also have no luck getting it working on my debian VM. Adjusted the paths in LD_LIBRARY_PATH - it can find the lib now.. but goes crazy on on dlopen and dlsym: > > <img alt="Screenshot 2023-10-24 at 12 25 58" width="431" src="https://user-images.githubusercontent.com/1737026/277629320-aa6b4e81-52b5-4970-b1f1-dc6e81290067.png"> > Any ideas? :( > > Edit: > > Got it working manually on the very same (virtual) machine: > > 1. More or less follow https://gist.github.com/mmercedes/64428eac49d970d6bcac99718a0066a3 > 2. Install https://valheim.thunderstore.io/package/denikson/BepInExPack_Valheim/ > 3. Adjust configs > > Server runs fine, could add my mods, could connect with my modded client. > > Retried it in LGSM environment, but still running into these strange errors from above Having the same issue, going to give this a try....
Author
Owner

@smietanka commented on GitHub (Nov 1, 2023):

Any update? Unfortunetly I have the same errors.. Can't play with mods because of this. I tried two different VPS machines and on both the same behavior :|

<!-- gh-comment-id:1788793657 --> @smietanka commented on GitHub (Nov 1, 2023): Any update? Unfortunetly I have the same errors.. Can't play with mods because of this. I tried two different VPS machines and on both the same behavior :|
Author
Owner

@gOOvER commented on GitHub (Nov 1, 2023):

thats a problem with the libs

<!-- gh-comment-id:1788803419 --> @gOOvER commented on GitHub (Nov 1, 2023): thats a problem with the libs
Author
Owner

@admontminy commented on GitHub (Nov 4, 2023):

Also have no luck getting it working on my debian VM. Adjusted the paths in LD_LIBRARY_PATH - it can find the lib now.. but goes crazy on on dlopen and dlsym:

Screenshot 2023-10-24 at 12 25 58 Any ideas? :(

Edit:

Got it working manually on the very same (virtual) machine:

  1. More or less follow https://gist.github.com/mmercedes/64428eac49d970d6bcac99718a0066a3
  2. Install https://valheim.thunderstore.io/package/denikson/BepInExPack_Valheim/
  3. Adjust configs

Server runs fine, could add my mods, could connect with my modded client.

Retried it in LGSM environment, but still running into these strange errors from above

I tried this and still am having issues. I unzip the zip file and copy all the contents in BepInExPack_Valheim to /home/steam/Valheim. I edited the paths and start command to match the existing one and still received errrors. Could you post what your directory looks like a well we as your start_server_bepinex.sh script looks like?

<!-- gh-comment-id:1793378548 --> @admontminy commented on GitHub (Nov 4, 2023): > Also have no luck getting it working on my debian VM. Adjusted the paths in LD_LIBRARY_PATH - it can find the lib now.. but goes crazy on on dlopen and dlsym: > > <img alt="Screenshot 2023-10-24 at 12 25 58" width="431" src="https://user-images.githubusercontent.com/1737026/277629320-aa6b4e81-52b5-4970-b1f1-dc6e81290067.png"> > Any ideas? :( > > Edit: > > Got it working manually on the very same (virtual) machine: > > 1. More or less follow https://gist.github.com/mmercedes/64428eac49d970d6bcac99718a0066a3 > 2. Install https://valheim.thunderstore.io/package/denikson/BepInExPack_Valheim/ > 3. Adjust configs > > Server runs fine, could add my mods, could connect with my modded client. > > Retried it in LGSM environment, but still running into these strange errors from above I tried this and still am having issues. I unzip the zip file and copy all the contents in BepInExPack_Valheim to /home/steam/Valheim. I edited the paths and start command to match the existing one and still received errrors. Could you post what your directory looks like a well we as your start_server_bepinex.sh script looks like?
Author
Owner

@DSDV commented on GitHub (Nov 5, 2023):

i have a fresh install where i encountered the same error.

but i used the ./vhserver mods-install command to install valheim plus and assumed i needed bepinex as well?
or is it enough to only install valheim plus since it comes with its own bepinex?

<!-- gh-comment-id:1793709140 --> @DSDV commented on GitHub (Nov 5, 2023): i have a fresh install where i encountered the same error. but i used the `./vhserver mods-install` command to install valheim plus and assumed i needed bepinex as well? or is it enough to only install valheim plus since it comes with its own bepinex?
Author
Owner

@gOOvER commented on GitHub (Nov 5, 2023):

please read this:

As of Valheim 0.217.24, There is no longer a need for the unstripped corlibs to be shipped with BepInEx.
This version removes the corlibs and instructs doorstop not to include them.
For modders, this is important, as you'll want to make sure you are referencing Unity from the Game Folder now.

Startup must be rewritten ;)

<!-- gh-comment-id:1793710006 --> @gOOvER commented on GitHub (Nov 5, 2023): please read this: ``` As of Valheim 0.217.24, There is no longer a need for the unstripped corlibs to be shipped with BepInEx. This version removes the corlibs and instructs doorstop not to include them. For modders, this is important, as you'll want to make sure you are referencing Unity from the Game Folder now. ``` Startup must be rewritten ;)
Author
Owner

@DSDV commented on GitHub (Nov 5, 2023):

how does one do it?
sorry i am no dev :/
is it ok to just install v+ when you have other mods which require bepinex?

<!-- gh-comment-id:1793710610 --> @DSDV commented on GitHub (Nov 5, 2023): how does one do it? sorry i am no dev :/ is it ok to just install v+ when you have other mods which require bepinex?
Author
Owner

@gOOvER commented on GitHub (Nov 5, 2023):

how does one do it? sorry i am no dev :/ is it ok to just install v+ when you have other mods which require bepinex?

v+ is dead. Search for the fork

<!-- gh-comment-id:1793711855 --> @gOOvER commented on GitHub (Nov 5, 2023): > how does one do it? sorry i am no dev :/ is it ok to just install v+ when you have other mods which require bepinex? v+ is dead. Search for the fork
Author
Owner

@DSDV commented on GitHub (Nov 5, 2023):

https://www.nexusmods.com/valheim/mods/2323 this one?
Does it work with lgsm and do i need to install beinex seperatly to use it for xportal?
is there a tutorial somewhere how to use it with lgsm? (sorry i am just a user not a dev ^^)

<!-- gh-comment-id:1793714317 --> @DSDV commented on GitHub (Nov 5, 2023): https://www.nexusmods.com/valheim/mods/2323 this one? Does it work with lgsm and do i need to install beinex seperatly to use it for xportal? is there a tutorial somewhere how to use it with lgsm? (sorry i am just a user not a dev ^^)
Author
Owner

@DSDV commented on GitHub (Nov 5, 2023):

apparently you have to:
If you are using [LGSM](https://linuxgsm.com/), go inside your instance config file and change executable to ./start_server_bepinex.sh to load the mod and your server arguments. More on LGSM config files can be found on [their homepage](https://docs.linuxgsm.com/configuration/linuxgsm-config).

but the /lgsm/config-lgsm/vhserver/vhserver.cfg is empty and i have no clue how to put ./start_server_bepinex.sh into there

<!-- gh-comment-id:1793747018 --> @DSDV commented on GitHub (Nov 5, 2023): apparently you have to: ``` If you are using [LGSM](https://linuxgsm.com/), go inside your instance config file and change executable to ./start_server_bepinex.sh to load the mod and your server arguments. More on LGSM config files can be found on [their homepage](https://docs.linuxgsm.com/configuration/linuxgsm-config). ``` but the /lgsm/config-lgsm/vhserver/vhserver.cfg is empty and i have no clue how to put `./start_server_bepinex.sh` into there
Author
Owner

@dgibbs64 commented on GitHub (Nov 7, 2023):

Can someone who has a bit of understanding on this give me some guidance on what we need to do to fix this. I have zero knowledge about VH mods so any help would be welcome.

<!-- gh-comment-id:1799268932 --> @dgibbs64 commented on GitHub (Nov 7, 2023): Can someone who has a bit of understanding on this give me some guidance on what we need to do to fix this. I have zero knowledge about VH mods so any help would be welcome.
Author
Owner

@DSDV commented on GitHub (Nov 7, 2023):

From what i understand https://github.com/Grantapher/ValheimPlus is the new fork.
With the update from today that broke due to an old BepInEx version.

But the game needs to be started with a modified startscript.

i added this to the lgsm/config-lgsm/vhserver/vhserver.cfg
executable="./start_server_bepinex.sh"

that worked yesterday but the lgsm script gave an error that the server pw was not set even tho it was in the script.
(also i did not yet figure out how to change server parameters like listing the server etc).

Sadly today the game update broke sth: https://github.com/Grantapher/ValheimPlus/issues/36
i still trying to figure out if the workaround works on the server side

<!-- gh-comment-id:1799580315 --> @DSDV commented on GitHub (Nov 7, 2023): From what i understand https://github.com/Grantapher/ValheimPlus is the new fork. With the update from today that broke due to an old BepInEx version. But the game needs to be started with a modified startscript. i added this to the lgsm/config-lgsm/vhserver/vhserver.cfg `executable="./start_server_bepinex.sh"` that worked yesterday but the lgsm script gave an error that the server pw was not set even tho it was in the script. (also i did not yet figure out how to change server parameters like listing the server etc). Sadly today the game update broke sth: https://github.com/Grantapher/ValheimPlus/issues/36 i still trying to figure out if the workaround works on the server side
Author
Owner

@chris3081 commented on GitHub (Nov 7, 2023):

I've been meaning to put a pull request in to fix this for the last week and I will try to in the next couple of days (just hadn't had time to test fully) . In the mean time this should fix the issue

  1. look in lgsm/modules for a file called mods-list.sh, if it doesn't exist run ./vhserver mods-install which will copy it down, but ctrl+c out instead of installing valheim-plus

  2. now find the file and edit it replacing the old repo "https://github.com/valheimPlus/ValheimPlus" with "https://github.com/Grantapher/ValheimPlus.git"

mod_info_valheimplus=(MOD "valheimplus" "Valheim PLUS" "${valeimpluslatestlink}" "ValheimPlus.tar.gz" "0" "LowercaseOff" "${systemdir}" "OVERWRITE" "ENGINES" "Valheim;" "NOTGAMES" "https://github.com/valheimPlus/ValheimPlus" "Mod to improve Valheim gameplay")

  1. rerun vhserver mods-install and install the mod

I've got this far before work, I'l try find some time tonight to test it a bit better. I don't believe there are any other changes required.

<!-- gh-comment-id:1800233728 --> @chris3081 commented on GitHub (Nov 7, 2023): I've been meaning to put a pull request in to fix this for the last week and I will try to in the next couple of days (just hadn't had time to test fully) . In the mean time this should fix the issue 1. look in lgsm/modules for a file called mods-list.sh, if it doesn't exist run ./vhserver mods-install which will copy it down, but ctrl+c out instead of installing valheim-plus 2. now find the file and edit it replacing the old repo "https://github.com/valheimPlus/ValheimPlus" with "https://github.com/Grantapher/ValheimPlus.git" mod_info_valheimplus=(MOD "valheimplus" "Valheim PLUS" "${valeimpluslatestlink}" "ValheimPlus.tar.gz" "0" "LowercaseOff" "${systemdir}" "OVERWRITE" "ENGINES" "Valheim;" "NOTGAMES" "https://github.com/valheimPlus/ValheimPlus" "Mod to improve Valheim gameplay") 3. rerun vhserver mods-install and install the mod I've got this far before work, I'l try find some time tonight to test it a bit better. I don't believe there are any other changes required.
Author
Owner

@DSDV commented on GitHub (Nov 7, 2023):

no rush (:
sleep/health recovery is more important than a mod fix (:

i got our server running the manual way again (:
today's valheim update requires a bepinex update to the latest version (not currently shipped with V+).
there alternativly ther is a workaorund: https://github.com/Grantapher/ValheimPlus/issues/36#issuecomment-1798683440

maybe its a good idea to wait for V+ to release an updated version?

<!-- gh-comment-id:1800301910 --> @DSDV commented on GitHub (Nov 7, 2023): no rush (: sleep/health recovery is more important than a mod fix (: i got our server running the manual way again (: today's valheim update requires a bepinex update to the latest version (not currently shipped with V+). there alternativly ther is a workaorund: https://github.com/Grantapher/ValheimPlus/issues/36#issuecomment-1798683440 maybe its a good idea to wait for V+ to release an updated version?
Author
Owner

@chris3081 commented on GitHub (Nov 8, 2023):

Ahh thanks I will add that to the fix_vh.sh file

<!-- gh-comment-id:1800865360 --> @chris3081 commented on GitHub (Nov 8, 2023): Ahh thanks I will add that to the fix_vh.sh file
Author
Owner

@chris3081 commented on GitHub (Nov 8, 2023):

Normally I would agree, but given its an open source project with no fixed deadlines, the new version isn't really set in stone. I'm thinking we can fix it today and when we understand what the new release looks like we will know if there are any issues then and we can raise a new issue if required.

<!-- gh-comment-id:1801715981 --> @chris3081 commented on GitHub (Nov 8, 2023): Normally I would agree, but given its an open source project with no fixed deadlines, the new version isn't really set in stone. I'm thinking we can fix it today and when we understand what the new release looks like we will know if there are any issues then and we can raise a new issue if required.
Author
Owner

@DSDV commented on GitHub (Nov 12, 2023):

https://github.com/Grantapher/ValheimPlus/issues/36#issuecomment-1806933410
An update got released by Grantapher <3
Here is the release: https://github.com/Grantapher/ValheimPlus/releases
It should even include an up to date BeInEx version (:

<!-- gh-comment-id:1807128517 --> @DSDV commented on GitHub (Nov 12, 2023): https://github.com/Grantapher/ValheimPlus/issues/36#issuecomment-1806933410 An update got released by Grantapher <3 Here is the release: https://github.com/Grantapher/ValheimPlus/releases It should even include an up to date BeInEx version (:
Author
Owner

@Xruptor commented on GitHub (Nov 14, 2023):

I've been meaning to put a pull request in to fix this for the last week and I will try to in the next couple of days (just hadn't had time to test fully) . In the mean time this should fix the issue

  1. look in lgsm/modules for a file called mods-list.sh, if it doesn't exist run ./vhserver mods-install which will copy it down, but ctrl+c out instead of installing valheim-plus
  2. now find the file and edit it replacing the old repo "https://github.com/valheimPlus/ValheimPlus" with "https://github.com/Grantapher/ValheimPlus.git"

mod_info_valheimplus=(MOD "valheimplus" "Valheim PLUS" "${valeimpluslatestlink}" "ValheimPlus.tar.gz" "0" "LowercaseOff" "${systemdir}" "OVERWRITE" "ENGINES" "Valheim;" "NOTGAMES" "https://github.com/valheimPlus/ValheimPlus" "Mod to improve Valheim gameplay")

  1. rerun vhserver mods-install and install the mod

I've got this far before work, I'l try find some time tonight to test it a bit better. I don't believe there are any other changes required.

You need to update the following line as well, otherwise it will just pull the old repo:

valeimpluslatestlink=$(curl --connect-timeout 10 -sL https://api.github.com/repos/valheimPlus/ValheimPlus/releases/latest | jq -r '.assets[]|select(.browser_download_url | contains("UnixServer.tar.gz")) | .browser_download_url')

it should be

valeimpluslatestlink=$(curl --connect-timeout 10 -sL https://api.github.com/repos/Grantapher/ValheimPlus/releases/latest | jq -r '.assets[]|select(.browser_download_url | contains("UnixServer.tar.gz")) | .browser_download_url')

<!-- gh-comment-id:1810247560 --> @Xruptor commented on GitHub (Nov 14, 2023): > I've been meaning to put a pull request in to fix this for the last week and I will try to in the next couple of days (just hadn't had time to test fully) . In the mean time this should fix the issue > > 1. look in lgsm/modules for a file called mods-list.sh, if it doesn't exist run ./vhserver mods-install which will copy it down, but ctrl+c out instead of installing valheim-plus > 2. now find the file and edit it replacing the old repo "https://github.com/valheimPlus/ValheimPlus" with "https://github.com/Grantapher/ValheimPlus.git" > > mod_info_valheimplus=(MOD "valheimplus" "Valheim PLUS" "${valeimpluslatestlink}" "ValheimPlus.tar.gz" "0" "LowercaseOff" "${systemdir}" "OVERWRITE" "ENGINES" "Valheim;" "NOTGAMES" "https://github.com/valheimPlus/ValheimPlus" "Mod to improve Valheim gameplay") > > 3. rerun vhserver mods-install and install the mod > > I've got this far before work, I'l try find some time tonight to test it a bit better. I don't believe there are any other changes required. You need to update the following line as well, otherwise it will just pull the old repo: `valeimpluslatestlink=$(curl --connect-timeout 10 -sL https://api.github.com/repos/valheimPlus/ValheimPlus/releases/latest | jq -r '.assets[]|select(.browser_download_url | contains("UnixServer.tar.gz")) | .browser_download_url') ` it should be ``` valeimpluslatestlink=$(curl --connect-timeout 10 -sL https://api.github.com/repos/Grantapher/ValheimPlus/releases/latest | jq -r '.assets[]|select(.browser_download_url | contains("UnixServer.tar.gz")) | .browser_download_url') ```
Author
Owner

@gigafunk commented on GitHub (Nov 19, 2023):

just fyi, val+ got all the attention here but the original issue this was opened for still exists.

this fix did not affect the mods-install of bepinexvh launching, it is still broken in the same way. bepinexvh is the base mod package install for valheim plus, and in affected in the same way, not launching and injecting mods because of this same error that might have just been fixed with val+

valheim plus is a mod pack which was supported first, and bepinexvh is the api framework mod that all mods are made within, and it looks like the the lgsm crew added support for a blank install of this(for custom mod mixes) when Val+ was unmaintained.

anyhow, thanks for everyone that works on this, i feel like an ass posting, but i feel like its an easy thing now while its fresh! its the same fix for val+ i think(minus the url change, bepinexvh installs just fine)

<!-- gh-comment-id:1817964607 --> @gigafunk commented on GitHub (Nov 19, 2023): just fyi, val+ got all the attention here but the original issue this was opened for still exists. this fix did not affect the mods-install of bepinexvh launching, it is still broken in the same way. bepinexvh is the base mod package install for valheim plus, and in affected in the same way, not launching and injecting mods because of this same error that might have just been fixed with val+ valheim plus is a mod pack which was supported first, and bepinexvh is the api framework mod that all mods are made within, and it looks like the the lgsm crew added support for a blank install of this(for custom mod mixes) when Val+ was unmaintained. anyhow, thanks for everyone that works on this, i feel like an ass posting, but i feel like its an easy thing now while its fresh! its the same fix for val+ i think(minus the url change, bepinexvh installs just fine)
Author
Owner

@DSDV commented on GitHub (Nov 19, 2023):

V+ got the fix integrated later since the fix was an updated version of BepInEx ;)
Or to say it the other way around the BepInEX update enabled a fixed version of V+

Also V+ (original) is deprecated and only a fork is updated since than (:

if you need a fix just copy paste & replace your server files with the latest bepinex version (:

<!-- gh-comment-id:1817986324 --> @DSDV commented on GitHub (Nov 19, 2023): V+ got the fix integrated later since the fix was an updated version of BepInEx ;) Or to say it the other way around the BepInEX update enabled a fixed version of V+ Also V+ (original) is deprecated and only a fork is updated since than (: if you need a fix just copy paste & replace your server files with the latest bepinex version (:
Author
Owner

@gigafunk commented on GitHub (Nov 19, 2023):

The bepinex for v+ was fixed, but the non v+ bepinex install did not get the bepinex fix that the v+ install just got. I am just calling attention to the fact there is another fix needed for the NON V+ bepinexvh installed with ./vhserver mods-install bepinexvh.

The version of bepinex installed with mods-install bepinexvh is current and works, its just the vhserver start does not start bepinex correctly, it fails in the way this original issue was opened for. When i move the files into the right places, i am able to start manually with the lgsm bepinexvh provided script (start_bepinex_server.sh or something).

<!-- gh-comment-id:1817999144 --> @gigafunk commented on GitHub (Nov 19, 2023): The bepinex for v+ was fixed, but the non v+ bepinex install did not get the bepinex fix that the v+ install just got. I am just calling attention to the fact there is another fix needed for the NON V+ bepinexvh installed with ./vhserver mods-install bepinexvh. The version of bepinex installed with mods-install bepinexvh is current and works, its just the vhserver start does not start bepinex correctly, it fails in the way this original issue was opened for. When i move the files into the right places, i am able to start manually with the lgsm bepinexvh provided script (start_bepinex_server.sh or something).
Author
Owner

@chris3081 commented on GitHub (Nov 20, 2023):

No worries, I shall have a look into that over the next few days unless someone beats me to it.

<!-- gh-comment-id:1818109597 --> @chris3081 commented on GitHub (Nov 20, 2023): No worries, I shall have a look into that over the next few days unless someone beats me to it.
Author
Owner

@carlosgvaso commented on GitHub (Feb 7, 2024):

@chris3081, was this issue resolved? I can still see the error "ERROR: ld.so: object 'libdoorstop_x64.so' from LD_PRELOAD cannot be preloaded" when using the bepinexvh mod version. The server starts, but none of the mods for BepInEx are working.

<!-- gh-comment-id:1932434127 --> @carlosgvaso commented on GitHub (Feb 7, 2024): @chris3081, was this issue resolved? I can still see the error "ERROR: ld.so: object 'libdoorstop_x64.so' from LD_PRELOAD cannot be preloaded" when using the bepinexvh mod version. The server starts, but none of the mods for BepInEx are working.
Author
Owner

@carlosgvaso commented on GitHub (Feb 7, 2024):

The bepinex for v+ was fixed, but the non v+ bepinex install did not get the bepinex fix that the v+ install just got. I am just calling attention to the fact there is another fix needed for the NON V+ bepinexvh installed with ./vhserver mods-install bepinexvh.

The version of bepinex installed with mods-install bepinexvh is current and works, its just the vhserver start does not start bepinex correctly, it fails in the way this original issue was opened for. When i move the files into the right places, i am able to start manually with the lgsm bepinexvh provided script (start_bepinex_server.sh or something).

@gigafunk , I'm running into the same issue. What files do I need to move to the right places? Could you explain what you did to get it running? Thanks in advance!

<!-- gh-comment-id:1932439966 --> @carlosgvaso commented on GitHub (Feb 7, 2024): > The bepinex for v+ was fixed, but the non v+ bepinex install did not get the bepinex fix that the v+ install just got. I am just calling attention to the fact there is another fix needed for the NON V+ bepinexvh installed with ./vhserver mods-install bepinexvh. > > The version of bepinex installed with mods-install bepinexvh is current and works, its just the vhserver start does not start bepinex correctly, it fails in the way this original issue was opened for. When i move the files into the right places, i am able to start manually with the lgsm bepinexvh provided script (start_bepinex_server.sh or something). @gigafunk , I'm running into the same issue. What files do I need to move to the right places? Could you explain what you did to get it running? Thanks in advance!
Author
Owner

@DSDV commented on GitHub (Feb 7, 2024):

V+ got updates
https://github.com/Grantapher/ValheimPlus/releases
maybe some update broke compatibility

<!-- gh-comment-id:1932618879 --> @DSDV commented on GitHub (Feb 7, 2024): V+ got updates https://github.com/Grantapher/ValheimPlus/releases maybe some update broke compatibility
Author
Owner

@gigafunk commented on GitHub (Feb 7, 2024):

apologies, but i forget, i was running without lgsm and moved to it, so I had a known good filesystem to copy the structure of. Now its on pause until the new land update.

i think what happens is the lgsm contributors update bepinex on the val+ version, and close the ticket and everyone thinks its done , until people with the custom mod version make new tickets and someone gets time to circle back and affect the change in the custom mod version. The amazing contributors dont know all the games they fix the lgsm for and they dont know bepinex needs to be updated in two places for valheim, due to the val+ support and generic mod support options.

<!-- gh-comment-id:1933035717 --> @gigafunk commented on GitHub (Feb 7, 2024): apologies, but i forget, i was running without lgsm and moved to it, so I had a known good filesystem to copy the structure of. Now its on pause until the new land update. i think what happens is the lgsm contributors update bepinex on the val+ version, and close the ticket and everyone thinks its done , until people with the custom mod version make new tickets and someone gets time to circle back and affect the change in the custom mod version. The amazing contributors dont know all the games they fix the lgsm for and they dont know bepinex needs to be updated in two places for valheim, due to the val+ support and generic mod support options.
Author
Owner

@joshschools commented on GitHub (Apr 28, 2024):

Does anyone have the fix for this even if it is manual? @gigafunk

<!-- gh-comment-id:2081263188 --> @joshschools commented on GitHub (Apr 28, 2024): Does anyone have the fix for this even if it is manual? @gigafunk
Author
Owner

@VisMotrix commented on GitHub (May 27, 2024):

Hi, quick update if some ppl have the same issue again (at least I did have problems)

  1. Update the 'libdoorstop_x64.so'
    1.1 Go to https://github.com/BepInEx/BepInEx - releases - downland newest BepInEx_linux_x64_XXX.zip
    1.2 Replace /home/gameuser/gameserver/serverfiles/BepInExPack_Valheim/doorstop_libs/libdoorstop_x64.so - with the downloaded libdoorstop.so (name it back to libdoorstop_x64.so!)

2 Fix the fix_vh.sh
2.1 Navigate to /home/gameuser/gameserver/lgsm/modules/fix_vh.sh
2.2 replace line 9

export LD_LIBRARY_PATH=./linux64:$LD_LIBRARY_PATH

with

export LD_LIBRARY_PATH="$(pwd)/serverfiles/BepInExPack_Valheim/doorstop_libs:$(pwd)/serverfiles/linux64:./linux64:${LD_LIBRARY_PATH}"
export LD_PRELOAD="$(pwd)/serverfiles/BepInExPack_Valheim/doorstop_libs/libdoorstop_x64.so:${LD_PRELOAD}"

[opt Restart your server]
Hope this works for you

<!-- gh-comment-id:2133938687 --> @VisMotrix commented on GitHub (May 27, 2024): Hi, quick update if some ppl have the same issue again (at least I did have problems) 1. Update the 'libdoorstop_x64.so' 1.1 Go to https://github.com/BepInEx/BepInEx - releases - downland newest BepInEx_linux_x64_XXX.zip 1.2 Replace /home/*gameuser*/gameserver/serverfiles/BepInExPack_Valheim/doorstop_libs/libdoorstop_x64.so - with the downloaded libdoorstop.so (name it back to libdoorstop_x64.so!) 2 Fix the fix_vh.sh 2.1 Navigate to /home/*gameuser*/gameserver/lgsm/modules/fix_vh.sh 2.2 replace line 9 ```sh export LD_LIBRARY_PATH=./linux64:$LD_LIBRARY_PATH ``` with ```sh export LD_LIBRARY_PATH="$(pwd)/serverfiles/BepInExPack_Valheim/doorstop_libs:$(pwd)/serverfiles/linux64:./linux64:${LD_LIBRARY_PATH}" export LD_PRELOAD="$(pwd)/serverfiles/BepInExPack_Valheim/doorstop_libs/libdoorstop_x64.so:${LD_PRELOAD}" ``` [opt Restart your server] Hope this works for you
Author
Owner

@Melidane commented on GitHub (Jun 1, 2024):

VisMotrix your fix resolve a previous error that give me a segmentation fault but and prevent the server to starting, but the first error "ERROR: ld.so: object [..]" still and my server loading without mods (but with BepInEx enable it seem).

<!-- gh-comment-id:2143465306 --> @Melidane commented on GitHub (Jun 1, 2024): [VisMotrix](https://github.com/VisMotrix) your fix resolve a previous error that give me a segmentation fault but and prevent the server to starting, but the first error "ERROR: ld.so: object [..]" still and my server loading without mods (but with BepInEx enable it seem).
Author
Owner

@mikencyber commented on GitHub (Dec 16, 2024):

Is there any fix for this in standalone BepInEx? Tried setting up a fresh LGSM Valheim server, initially installed bepinex via ./vhserver mods-install and got a bunch of "ERROR: ld.so: object 'libdoorstop_x64.so' from LD_PRELOAD cannot be preloaded"

Fixes shared by @VisMotrix unfortunately didn't work in my case, ended up doubling the errors received

<!-- gh-comment-id:2545859156 --> @mikencyber commented on GitHub (Dec 16, 2024): Is there any fix for this in standalone BepInEx? Tried setting up a fresh LGSM Valheim server, initially installed bepinex via ./vhserver mods-install and got a bunch of "ERROR: ld.so: object 'libdoorstop_x64.so' from LD_PRELOAD cannot be preloaded" Fixes shared by @VisMotrix unfortunately didn't work in my case, ended up doubling the errors received
Author
Owner

@seriosbrad commented on GitHub (Feb 13, 2025):

Is there any fix for this in standalone BepInEx? Tried setting up a fresh LGSM Valheim server, initially installed bepinex via ./vhserver mods-install and got a bunch of "ERROR: ld.so: object 'libdoorstop_x64.so' from LD_PRELOAD cannot be preloaded"

Fixes shared by @VisMotrix unfortunately didn't work in my case, ended up doubling the errors received

Did you make any progress fixing this? Same issues as you .

<!-- gh-comment-id:2657802795 --> @seriosbrad commented on GitHub (Feb 13, 2025): > Is there any fix for this in standalone BepInEx? Tried setting up a fresh LGSM Valheim server, initially installed bepinex via ./vhserver mods-install and got a bunch of "ERROR: ld.so: object 'libdoorstop_x64.so' from LD_PRELOAD cannot be preloaded" > > Fixes shared by [@VisMotrix](https://github.com/VisMotrix) unfortunately didn't work in my case, ended up doubling the errors received Did you make any progress fixing this? Same issues as you .
Author
Owner

@Kovakin commented on GitHub (Mar 7, 2025):

On attempting this fix for the Valheim client, modifying it somewhat to update the r2modman profiles with the manually updated BepInEx version, I continue to crash with no error reported in the console, but I do get these .blob files to generate.
There are three listed here in this directory.
https://gofile.io/d/hitVAO

<!-- gh-comment-id:2705496111 --> @Kovakin commented on GitHub (Mar 7, 2025): On attempting this fix for the Valheim client, modifying it somewhat to update the r2modman profiles with the manually updated BepInEx version, I continue to crash with no error reported in the console, but I do get these .blob files to generate. There are three listed here in this directory. https://gofile.io/d/hitVAO
Author
Owner

@smietanka commented on GitHub (Mar 7, 2025):

@seriosbrad @Kovakin @mikencyber
This repo is dead.. guys..

https://www.nexusmods.com/valheim/mods/2323
https://github.com/Grantapher/ValheimPlus/tree/main
There is a fork from grantapher, where everything works perfectly

<!-- gh-comment-id:2705588489 --> @smietanka commented on GitHub (Mar 7, 2025): @seriosbrad @Kovakin @mikencyber This repo is dead.. guys.. https://www.nexusmods.com/valheim/mods/2323 https://github.com/Grantapher/ValheimPlus/tree/main There is a fork from grantapher, where everything works perfectly
Author
Owner

@triuk commented on GitHub (Sep 16, 2025):

LGSM mod handling is unreliable. A more effective method for setting up and maintaining a Valheim server with mods (as of September 2025) is available here: https://github.com/triuk/Valheim-Mod-Manager/tree/main

<!-- gh-comment-id:3299478337 --> @triuk commented on GitHub (Sep 16, 2025): LGSM mod handling is unreliable. A more effective method for setting up and maintaining a Valheim server with mods (as of September 2025) is available here: https://github.com/triuk/Valheim-Mod-Manager/tree/main
Sign in to join this conversation.
No labels
Atomic
Epic
cannot reproduce
command: backup
command: console
command: debug
command: details
command: fast-dl
command: install
command: mods
command: monitor
command: post-details
command: restart
command: send
command: start
command: stop
command: update
command: update-lgsm
command: validate
command: wipe
distro: AlmaLinux
distro: Arch Linux
distro: CentOS
distro: Debian
distro: Fedora
distro: RedHat
distro: Rocky Linux
distro: Ubuntu
distro: openSUSE
engine: goldsrc
engine: source
game: 7 Days to Die
game: ARMA 3
game: Ark: Survival Evolved
game: Assetto Corsa
game: Avorion
game: BATTALION: Legacy
game: Barotrauma
game: Battalion 1944
game: Battlefield 1942
game: Black Mesa: Deathmatch
game: Blade Symphony
game: Call of Duty 2
game: Call of Duty 4
game: Call of Duty: United Offensive
game: Counter-Strike 1.6
game: Counter-Strike 2
game: Counter-Strike: Global Offensive
game: Counter-Strike: Source
game: Day of Infamy
game: Dayz
game: Death Match Classic
game: Don't Starve Together
game: ET: Legacy
game: Eco
game: Factorio
game: Factorio
game: Garry's Mod
game: Half-Life
game: Hurtword
game: Insurgecy
game: Insurgecy
game: Insurgency: Sandstorm
game: Just Cause 3
game: Killing Floor
game: Killing Floor 2
game: Left 4 Dead 2
game: Minecraft
game: Minecraft Bedrock
game: Mordhau
game: Multi Theft Auto
game: Mumble
game: Natural Selection 2
game: No More Room in Hell
game: Pavlov VR
game: Post Scriptum
game: Project Zomboid
game: Quake 3
game: QuakeWorld
game: Red Orchestra: Ostfront 41-45
game: Return to Castle Wolfenstein
game: Rising World
game: Rust
game: San Andreas Multiplayer
game: Satisfactory
game: Soldat
game: Soldier of Fortune 2
game: Squad
game: Squad 44
game: Starbound
game: Stationeers
game: Sven Co-op
game: Team Fortress 2
game: Teamspeak 3
game: Teeworlds
game: Terraria
game: The Front
game: Unreal Tournament 2004
game: Unreal Tournament 3
game: Unreal Tournament 99
game: Unturned
game: Valheim
game: Wurm Unlimited
game: Zombie Master Reborn
game: label missing
good first issue
help wanted
info: alerts
info: dependency
info: docker
info: docs
info: email
info: query
info: steamcmd
info: systemd
info: tmux
info: website
info: website
needs more info
outcome: duplicate
outcome: issue resolved
outcome: issue resolved
outcome: issue unresolved
outcome: pr accepted
outcome: pr rejected
outcome: unconfirmed
outcome: wontfix
outcome: wrong forum
potential-duplicate
priority
pull-request
type: bug
type: feature
type: feature
type: feature request
type: game server request
type: refactor
waiting response
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/LinuxGSM#2639
No description provided.