Closed mycpphurts closed 1 year ago
not saying you should have to do this, but as of the current release, renaming "discord_game_sdk.so" to "libdiscord_game_sdk.so" fixes the issue.
this should be handled next release if possible.
I was gonna do a PR with the fix if my godot wanted to build the executable so I could test (which it didn't)
But pretty sure the source of the problem is mentioned on the first msg on the issue
Won't be fixed after a PR was made. Had a talk with devs, will be fixed in rewrite (diff repo)
Resolved (Thanks kerm)
Tested on Archlinux, Kernel 6.3.9-arch1-1
libdiscord-game-sdk-godot.so
causes the game to crash on Startup on the Linux build, a problem not seen in Windows. Running an LDD on the file shows it can't find thelibdiscord_game_sdk.so
dependency.Results for
ldd libdiscord-game-sdk-godot.so
:The
libdiscord-game-sdk
file seems to be searching for libdiscord_game_sdk.so, but in the discord_sdk.gdnlib files in addons/discord_game_sdk shows the dependency is nameddiscord_game_sdk.so
(View below)https://github.com/krmeet/sound-space-plus/blob/c930b2bc7cd2e5ecc02f0f243a4c1addfd3d467e/addons/discord_game_sdk/discord_sdk.gdnlib#L18
Error log: