Re: [gdal-dev] Building GDAL with rtree support

2025-05-15 Thread Jon Morris via gdal-dev
Confirming that installing sqlite to /usr/local instead of /usr/local/install-sqlite-trusted-schema-off and just overwriting the system sqlite fixes the problem. Jon e: jon.mor...@jbarisk.com d:+44 (0)1756 587229 t: +44 (0)1756 799919 www.jbarisk.com All JBA Risk Management's email messages co

Re: [gdal-dev] Building GDAL with rtree support

2025-05-15 Thread Jon Morris via gdal-dev
Hi Jukka, If I just run sqlite3 on the command line (/usr/local/bin/sqlite3) then ENABLE_RTREE is not there, but if I run the version I compiled, /usr/local/install-sqlite-trusted-schema-off/bin/sqlite3, then it is. I suspect one of the downstream dependencies is using the wrong version of sql

Re: [gdal-dev] Building GDAL with rtree support

2025-05-15 Thread Rahkonen Jukka via gdal-dev
Hi, If you suppose that rtree is missing, compile only SQLite and then run this in SQLite pragma compile_options; It should show "ENABLE_RTREE". If that is ok then the error happens in some other place. -Jukka- Lähettäjä: gdal-dev käyttäjän Jon Morris

[gdal-dev] Building GDAL with rtree support

2025-05-15 Thread Jon Morris via gdal-dev
Hello all, I'm trying to build GDAL python wheels and am having some autotest fails that is preventing the build. I think most if not all of these fails are due to rtree not being available in sqlite. AFAIK I've done everything needed but the build recipe must be missing something. The dockerf