developmentseed / developmentseed/geolambda
libgdal.so: cannot open shared object file: No such file or directory
- Dominant language
- Dockerfile
- Stars
- 306
- Forks
- 84
- PR merge metrics
- No merged PRs in 30d
Description
Hello,
First of all, thank you for this awesome code that simplify this process so much !
Although, i'm pretty new with AWS Lambda and I've had trouble using it. I followed the python readme in order to build the docker (as i want to use it on eu-west-3).
For the requirements, i just need GDAL (for the use of gdalinfo and gdal_translate) and Pyproj so I removed rasterio and shapely from the example requirements.
I built the docker, run the package.sh and the python-package.sh and publish the 'deploy-layer.zip' to aws lambda.
I copied-paste the lambda handler from this repo into the lambda_funtion on the AWS Lambda Gui and linked my new layer.
But when i try to run the lambda function this message appears :
"errorMessage": "Unable to import module 'lambda_function': libgdal.so: cannot open shared object file: No such file or directory",
"errorType": "Runtime.ImportModuleError"
I tried different configuration of the requirements, dockerfiles, package.sh and python-package.sh in order to correct this but without really understanding what causes this error ..
Would you have an idea on how to help me ?
Thank you very much !!
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.