aws / aws/aws-lambda-base-images

Bug: ImportError: libc.musl-x86_64.so.1 after latest AWS Lambda Python 3.9 release

Open
#297 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.