Linux Galaxy API not loading with glibc 2.41

JanUwU42

Greenhorn
Could someone write up a step by step guide to fix the so files that can be done in the steam deck desktop mode?
You can try the following:
(Sadly I don't have my Steam Deck on me right now so I cant try it, but thats how it worked on Arch (And SteamOS is based on Arch))

1. Switch to Desktop Mode

2. Open Konsole

3. Install `execstack` from AUR
Bash:
git clone https://aur.archlinux.org/execstack.git
cd execstack
makepkg -sirc
4. CD into your Stardew Valley folder
(You can find it by going to your Steam Library on Stardew and then Press the settings Button > Manage > Browse local files)
If you have the Flatpack Version of Steam it probably looks similar to this
Bash:
cd ~/.var/app/com.valvesoftware.Steam/.steam/steam/steamapps/common/Stardew\ Valley/
5. Run `execstack` to fix the problem
Bash:
execstack -c libGalaxy64.so && execstack -c libGalaxyCSharpGlue.so
 

jen1337

Newcomer
Is it 2026. Is there no non-hack solution to this?
A workaround for the moment is to clear the GNU_STACK program header using patchelf since execstack isn't available on Debian anymore.
While in the Stardew Valley install directory:
Code:
patchelf --clear-execstack libGalaxy64.so libGalaxyCSharpGlue.so
Confirmed working in Ubuntu 25.10 with this fix.
 

Dyno8man

Greenhorn
There are a lot of replies here, and I can't follow them all...

I'm having a similar problem. Playing with mods on Steam Deck, can't play multiplayer. Switching compatibility to Proton 9.0-4 allows base SDV multiplayer to work, but completely breaks SMAPI - won't launch at all. I would much rather not go without mods over such a stupid bug. If any of the solutions above fixes this, can someone tell me, or quote it in a reply? I'd be mad appreciative, cus I'm at my wit's end. Please and thank you.
 
Top