Comments (4)
The culprit is /var/lang/lib/libsqlite3.so.0
bash-4.2# ldd /opt/lib/libgdal.so | grep sqlite
libsqlite3.so.0 => /var/lang/lib/libsqlite3.so.0 (0x00007f33c6e5f000)
edit:
Actually I don't think that's the case, all this cmake stuff really goes over my head.
Appears to be dynamically being set at runtime. You can fix it by setting LD_PRELOAD or even LD_LIBRARY_PATH works. Would be better if this worked without that though, since the only viable option in lambda is LD_PRELOAD. Isn't this the reasoning behind doing the rpath stuff, so this doesn't happen?
from docker-lambda.
after a couple of false starts adding
RUN patchelf --force-rpath --set-rpath '$ORIGIN' $PREFIX/lib/libgdal.so
to the docker build seems to do the trick.
PR here: #74
from docker-lambda.
confirmed
docker run --platform=linux/amd64 --entrypoint bash --rm ghcr.io/lambgeo/lambda-gdal:3.8 ldd /opt/lib/libgdal.so | grep "sql"
libsqlite3.so.0 => /lib64/libsqlite3.so.0 (0x0000004006e28000)
from docker-lambda.
@jasongi really appreciate your effort here, I have myself spends days on similar issues 😭
Sadly, as noted in your PR I think there is a bigger issue (see proj lib). I'm not sure I have enough free time at the moment to work on this but I'll try
from docker-lambda.
Related Issues (20)
- GDAL 3.2.2 is out HOT 1
- GDAL branch change to `main` HOT 1
- Can we get DXF vector drivers? HOT 4
- Need support for python3.9 HOT 2
- PROJ_DATA to replace PROJ_LIB environment variable HOT 1
- Trouble using lambda layers (python 3.9 / gdal 3.5) HOT 3
- Geopandas and Fiona success!
- zip not found in the docker image HOT 1
- Release a version for GDAL 3.6 HOT 1
- "RUN yum install -y gcc gcc-c++" adds 500MB to image but is unused at runtime HOT 2
- ERROR 1: PROJ: SQLite3 version is 3.7.17, whereas at least 3.11 should be used HOT 8
- Is latest 3.6 compiled with parquet / arrow enabled? HOT 4
- GDAL 3.7 HOT 4
- Invoking lambda always throws "No module named 'osgeo' " HOT 1
- LAMBDA_TASK_ROOT instead of PACKAGE_PREFIX? HOT 2
- Lambda container images HOT 1
- Image publication for other linux 2 containers
- RPATH modification rationale? HOT 1
- Failed building wheel for GDAL - missing `gcc` when building docker for Py3.11 + GDAL 3.6 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-lambda.