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:
- Use the latest AWS Lambda runtime for Python 3.9 (based on
amazon/aws-lambda-python:3.9).
- Deploy a previously functioning Lambda function.
- Invoke the function.
- 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.