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
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.
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
Set Wordpress Featured Image Using Javascript
How To Fix PHP Random Being The Same
Why no WebP Support with Wordpress
Replace Wordpress Cron With Linux Cron
Customize Yoast Canonical URL Programmatically
[Centos] Delete All Files And Folders That Contain a String