-
Notifications
You must be signed in to change notification settings - Fork 503
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
Cryptodome in AWS lambda - Not found '_raw_ecb.cpython-311-x86_64-linux-gnu.so' #770
Comments
Dependencies should be included in a Lambda zip file using pip as explained here: https://docs.aws.amazon.com/lambda/latest/dg/python-package.html . Have you tried that? |
@Legrandin |
Your problem (as indicated by the That is the reason for the commands given in section "Working with built distributions (wheels)". More in general, it is better to build the lambda using the runtime itself. |
@Legrandin |
For me changing the build environment where |
Question
Where can I download some shared library files such as
_raw_ecb.cpython-311-x86_64-linux-gnu.so
?Info
I have an AWS lambda function which uses Crytodome with python 3.7 runtime.
It is pycryptodomex-3.8.2 installed by another developer 4 years ago.
I tried upgrading it to python 3.11 but found out that it cannot find some library files such as
_raw_ecb.cpython-311-x86_64-linux-gnu.so
. Previously installed Cryptodome Cipher folder contains these python 3.7 so files.Attempt
I have tried upgrading Cryptodome to the latest version 3.19.0 but I got the same error mesage
Error Message
Current lambda is using this image: public.ecr.aws/lambda/python:3.11-rapid-x86_64
and this is the error message
The text was updated successfully, but these errors were encountered: