glibc 2.27+ on Amazon Linux 2
There are binaries/apps which are build with newer versions of glibc 2.26 as provided by current AL2. I would like to request for newer glibc 2.27+ for AL2. Is it planned somehow already?
- Richard Hurt3 years ago
We're running AL2 and I'm trying to install NodeJS 18, which requires glibc 2.27. There doesn't seem to be a work around and AL2022 isn't yet available for production workloads.
Come on, AWS - get with the program and update your stuff!!
- John Morrison2 years ago
Has there been any update to this? I am using Sagemaker notebook instances that only provide AL2 with 2.26 and can't load pretrained models from a source that requires 2.27. Thanks
- Topics
- Compute
- Language
- English
asked 5 years ago66.7K views
- Newest
- Most votes
- Most comments
I've been trying to update GLIBC to 2.27, but kept failing. It says it's all up-to-date and GLIBC 2.26 is the latest verions.
I found this on AWS. Does this mean that I am allowed to use specific (2.26 version) GLIBC only and not allowed to update?
👁 Enter image description here
Also, I tried to launch an EC2 with "Amazon Linux 2022", but I don't see an image for AL 2022.
answered 4 years ago
- Richard Hurt3 years ago
Unfortunately, AL 2022 is still in "release candidate" mode and not yet in GA, and there doesn't seem to be a plan about when it will become available. However, you should be able to test with AL 2022. I'm not sure why you can't find an AMI for it, but they are available, at least in us-east-1.
This does not seem helpful. For example every Lambda image (at the time of this writing ex: NodeJS v16) seems to have a version of glibc v2.2.6 released on 2017-08-02. We need a way to update glibc now?
answered 4 years ago
As described in the release notes, Amazon Linux 2 comes with GCC 7.3, Glibc 2.26, and Binutils 2.29.1 (see section on C Runtime, compiler, and tools near the end of the page).
Additionally, as noted in the FAQs, AWS will maintain user-space Application Binary Interface (ABI) compatibility for a specified list of packages in core, including glibc.
Based on these compatibility commitments, it is unlikely to see a move away from glibc 2.26 for AL2. As per the Long Term Support policy, AWS will continue to provide security updates and bug fixes for all packages in core until June 30, 2023.
For applications that require newer toolchain support, please consider the recently announced Amazon Linux 2022, which is currently in preview.
Going forward, Amazon Linux will provide major versions every two years, which will include new features and security and performance features across the stack, including glibc. For more details on the release cadence, content of major and minor releases, and Long Term Support policy, please refer to the Amazon Linux 2022 User Guide.
Amazon Linux 2022 includes glibc 2.34 (see release notes).
- sportradrickerts3 years ago
When will Amazon Linux 2022 be available in the Lambda ruby 2.7 runtime? With the announcement of arm64 architecture on Gravitron2 processors, I want to run a ruby library (gem) that is precompiled with native extensions. It expects glibc >= 2.29. See https://github.com/sparklemotion/nokogiri/releases/tag/v1.14.0
I'm also in this situation. Has anyone found a solution?
answered 4 years ago
Relevant content
asked 3 years ago
