aws / aws/aws-lambda-base-images
Bug: ImportError: libc.musl-x86_64.so.1 after latest AWS Lambda Python 3.9 release
- Dominant language
- No language data
- Stars
- 777
- Forks
- 118
- PR merge metrics
- No merged PRs in 30d
Description
### Description:
After the latest AWS Lambda runtime release for Python 3.9 (based on the `amazon/aws-lambda-python:3.9` base image), our Lambda function fails to run and immediately raises an `ImportError` related to a missing shared object:
`ImportError: libc.musl-x86_64.so.1: cannot open shared object file: No such file or directory
`
This issue was **not present** in the previous version.
### Steps to reproduce:
1. Use the latest AWS Lambda runtime for Python 3.9 (based on `amazon/aws-lambda-python:3.9`).
2. Deploy a previously functioning Lambda function.
3. Invoke the function.
4. Observe the runtime failure.
### Observed result:
ImportError: libc.musl-x86_64.so.1: cannot open shared object file: No such file or directory
### Expected result:
The function should execute normally without failing due to missing system dependencies.
Contributor guide
Assessment
This issue has not been assessed yet.