Relax glibc version requirement
Would it be possible to relax the glibc version requirement? Currently, the environment I am in (no root access to upgrade unfortunately) runs glibc 2.28, so when I try to run the monolith binary (monolith-gnu-linux-x86_64), I get "/lib64/libm.so.6: version `GLIBC_2.29' not found". I found this issue https://github.com/Y2Z/monolith/issues/266 that seems to suggest that AARCH64 uses an older glibc version?
Thanks a lot!
Hello Cangyuan,
Thank you for letting me know about this issue. I'll look into this, believe it should be super easy to resolve.
It looks like GitHub no longer offers 18.04, only 20.04 is available as the oldest version of Ubuntu. I think I could in theory make it build in a Docker container of sorts, to target older glibc, or download and build against older glibc. Maybe I could statically link glibc into the binary... https://stackoverflow.com/questions/31770604/how-to-generate-statically-linked-executables claims that if I target musl, that C library will get embedded into the binary, I'll try that, will make it more portable.
It looks like GitHub no longer offers 18.04, only 20.04 is available as the oldest version of Ubuntu. I think I could in theory make it build in a Docker container of sorts, to target older glibc, or download and build against older glibc. Maybe I could statically link glibc into the binary... https://stackoverflow.com/questions/31770604/how-to-generate-statically-linked-executables claims that if I target musl, that C library will get embedded into the binary, I'll try that, will make it more portable.
Thanks for all your help!