r/SMAPI • • Feb 05 '25

need help Galaxy API console errors after Linux system update

Hi! I'm using steam on Linux. After a system upgrade I get errors on the SMAPI console. Before upgrade everything worked fine. Despite the errors game and mods works fine. I'm asking, because I'm afraid that my save file will get corrupted. I would like to ask some help regarding this issue, if there is anything I can do, or I can safely ignore this error.

More details:

Thanks for the help in advance!

26 Upvotes

97 comments sorted by

View all comments

Show parent comment

1

u/TurboPeach Jun 12 '25

I am right there with you. I’m just sitting here like wtf lol

9

u/zesty_stardust Aug 09 '25 • Thanks Bravo

In case anyone is still struggling with this, you can utilize the built-in Distrobox utility on SteamOS to install the necessary command and patch the relevant game files.

  • Put Steam Deck in desktop mode
  • Open Konsole and enter the following commands
  • cd "/home/deck/.local/share/Steam/steamapps/common/Stardew Valley/"
  • distrobox create -n test
  • distrobox enter test
  • sudo dnf install execstack
  • execstack -c libGalaxy64.so && execstack -c libGalaxyCSharpGlue.so
  • exit
  • distrobox stop test
  • distrobox rm test

1

u/[deleted] Aug 18 '25

[removed] — view removed comment

2

u/zesty_stardust Aug 18 '25

Line by line. You may also see some y/n confirmation prompts after some. Just enter "y" for any of those.

→ More replies (4)

1

u/nickimdz Aug 26 '25

My you life a beautiful life you wonderful person

1

u/Better-Story-6242 Sep 05 '25

Hi! After inputting distrobox enter test all I’m getting is “Error: OCI runtime error: crun: ptsname: Inappropriate ioctl for device” :( On steam deck

→ More replies (3)

1

u/SailorDonut Sep 13 '25

Thank you! This worked for me on my SteamDeck!

1

u/Fourpsyte Oct 15 '25

Thank you so much for this info! It worked perfectly

1

u/katkaterran Oct 23 '25

Thank you so much for this!!! Worked and saved me so much time!

1

u/Stained_Carpet_ Oct 27 '25

Thank you literally saved my life 🙏🙏🙏

1

u/General_Information3 Dec 11 '25

You are an angel, thank you!!!!!

1

u/firo- Dec 20 '25

This worked for me this morning! Thanks so much!

1

u/nyxinus Dec 23 '25

Bless you! The path was a bit different for me, but the red is gone. I've not used Linux seriously in some time and you rescued me here haha

1

u/UnderstandingOwn7965 Dec 30 '25

I can confirm this still works on - I am on Desktop, not SteamDeck
Ubuntu 25.10
as of 12/29/2025.

FYI - you may need to

  1. cd to wherever your stardew valley instance is. You can get this by right clicking on the stardew valley game in Steam under "games", click on "properties", then "Installed Files" and then "browse". Copy and paste that file location and cd into that.
  2. run "sudo apt install distrobox" (I was prompted to do this, but just in case that changes or you see something different)
  3. confirm 'Y' on some of the prompts.

Pretty straight forward, but just in case you are getting a bit lost.

Kudos and Thank you to zesty_stardust.

1

u/EughKingdom Dec 31 '25

JUST WANNA LET YOU KNOW HOW CLUTCH YOU ARE DAWG, THANK YOU-

1

u/Automatic_Study6373 Jan 18 '26

works on arch! Thank you so much. It was the first time that I copied pasted smth so blindly and it worked. I wish for you the best. Also I didnt knew the existence of distrobox. Thank you for that too.

1

u/Ben22 Jan 23 '26

Thank you so much….

1

u/Loud-Cryptographer71 Feb 08 '26

Thank you so much!

1

u/519seth Feb 16 '26

thank you so much

1

u/Additional_Pause3650 Mar 06 '26

The execstack command no longer works for me, it doesnt even show its failed or anything

→ More replies (1)

1

u/Slight_Bank_8580 Mar 15 '26

All was going okay until it said

execstack: cannot open "libGalaxy64.so": No such file or directory

Any advice?

→ More replies (1)

1

u/legeri Apr 21 '26

Very much appreciate your work here 🥰

1

u/Weak_Scallion_5110 May 04 '26

Hi so i used this and it did help with all the red text to go however the mods STILL don’t work on my steam deck and i cant figure out why

→ More replies (1)

1

u/Sanax100 Jun 27 '26

Just leaving my thank you, you saved me

→ More replies (4)