Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unable to run the layer using aws lambda with runtime python 3.10 #20

Open
fireburn22 opened this issue Jun 27, 2024 · 2 comments
Open

Comments

@fireburn22
Copy link

we used your build to create lambda clamav layer, this layer works well when using runtime python 3.7.
However, AWS recently retired runtime python3.7.

when using runtime 3.8/3.9/3.10/3.11, I am receiving the following errors when calling freshclam.

the error is:

/opt/bin/freshclam: error while loading shared libraries: libidn.so.11: cannot open shared object file: No such file or directory

I called in an aws support for this, they have confirmed that this is a compatibility issue with runtime, the layer needs to be rebuild for newer version of runtime. Please advise if there is a new build.sh we should use for the newer version of runtime of python.

Thank you.

@statik
Copy link
Member

statik commented Jun 27, 2024

Hi @fireburn22 , thanks for reporting this. There is no updated layer available yet, would you be up for proposing a PR to update build.sh for this?

@fireburn22
Copy link
Author

sure. I propose PR to update build.sh for this newly discovered issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants