Help! My .NET 9 AOT Lambda Can’t Find glibc 2.38 on al2023

0
0
Asked By CuriousCoder92 On

I'm trying to deploy a .NET 9 AOT Lambda function on Amazon Linux 2023, but I'm hitting a runtime exception. The error says the bootstrapper can't locate glibc 2.38. I'm building my app via GitHub Actions using Ubuntu 24.04. Has anyone figured out how to resolve this issue?

2 Answers

Answered By DevDude42 On

Unfortunately, it looks like you're stuck with glibc 2.34 for the foreseeable future. Amazon Linux 2023 is going to be locked into that version for the next five years. I just hope they announce a new version soon that supports newer libraries, or else you might be facing a considerable limit.

Answered By TechieTinker On

I ran into something similar when moving from Node.js 18 to 20 on Amazon Linux 2. My suggestion would be to file an issue on the Amazon Linux 2023 tracker on GitHub, specifically asking for an update on glibc from 2.34 to 2.38. But bear in mind, that might come with its own set of challenges since it seems they’ve built in some temporary workarounds. By the way, they haven't officially added .NET 9 support in their main branch yet, which might be part of the problem!

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.