News for hackers. Stuff that matters.
Re:Solo – a .so loader for static Linux binaries by wmf on Tuesday August 18, 2026 @10:10PM (#49355688)
Linux loves to leave papercuts unfixed or undocumented for decades. The solution is to build against an older version of glibc but no one tells you that or how to do it.
Re:Solo – a .so loader for static Linux binaries by emidoots on Tuesday August 18, 2026 @10:30PM (#49355879)
Luckily Zig makes this quite easy to do. In Mach[0] we are able to just `zig build -Dtarget=x86_64-linux-gnu.2.28` to build GUI apps against an ~8 year old glibc version for maximum compatibility.

This is possible because Zig allows for targeting most glibc versions out of the box with its cross-compilation support.

[0] https://machengine.org

Re:Solo – a .so loader for static Linux binaries by pg83 on Tuesday August 18, 2026 @10:19PM (#49355770)
It's a pretty poor solution, to be honest.

1) Why should I limit myself to the available APIs?

2) Not just glibc. For example, if I build against the latest libstdc++, it will automatically support the more recent glibc. And pinning the old libstdc++ -well, that's just not a good idea.