Re:Building Outer Wonders for Linux
by jiehong on Saturday May 22, 2021 @05:29AM
(#27244957)
Couldn’t they also have solved the glibc requirement by bundling it as well, just like the SDL library?
[ Parent
| on HN ]
I made an attempt to compile glibc myself when I ran into the same issue when playing Nebukadnezzar on steam. But that is no easy task. I think it's directly tied into the rest of Linux. Targeting an older version of glibc is much easier.
(Nebukadnezzar recommended using Proton, which worked fine.)
glibc makes this extremely difficult, and has a tendency to break in unexpected ways when you try.
But... They could have used a different libc, like musl which is designed for static linking.
In general this is not a good idea, as glibc is tightly coupled to the kernel it's compiled for.
https://stackoverflow.com/questions/57476533/why-is-statical...