Can't load .so file in AWS

Hello everyone

I try to upload lambda function using serverless, and call it.
In the function, A so file is loaded, but it didn’t work correctly,
The .so file is downloaded from S3, and saved in tmp.

Error message is follow:

/tmp/ /tmp/ ELF load command past end of
file: java.lang.UnsatisfiedLinkError
java.lang.UnsatisfiedLinkError: /tmp/ /tmp/
ELF load command past end of file

I want to know reason of error, and way to remove it.

Best regards,


Can you share what’s the output of file when you run it locally?