glibc 2.27+ on Amazon Linux 2

8

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?

  • 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!!

JARVIS
질문됨 2년 전41372회 조회
5개 답변
2

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.

DavidL
답변함 일 년 전
profile pictureAWS
전문가
검토됨 10달 전
  • 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.

2

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?

답변함 2년 전
1

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).

AWS
답변함 2년 전
profile picture
지원 엔지니어
검토됨 2년 전
1

I'm also in this situation. Has anyone found a solution?

답변함 2년 전
1

Did not solve it too with AL2. Consider switching to Amazon Linux 2023 that has a newer version:

ldd --version
ldd (GNU libc) 2.34
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper.

Hope this helps.

profile picture
답변함 일 년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠