HenrikBengtsson / CBI-software

A Scientific Software Stack for HPC (CentOS oriented)
https://wynton.ucsf.edu/hpc/software/software-repositories.html
5 stars 2 forks source link

GDAL: Compile and depend on a modern SQLite version #86

Closed HenrikBengtsson closed 1 year ago

HenrikBengtsson commented 1 year ago

Have GDAL compile toward and depend on a modern SQLite version, because it's needed when installing R package rgdal, and in turn packages like sf and lwgeom.

HenrikBengtsson commented 1 year ago

Instructions for GDAL (>= 3.6.0): https://gdal.org/development/building_from_source.html

HenrikBengtsson commented 1 year ago

Installed GDAL 3.6.4 (couldn't get 3.7.0 to work).

Related: I've updated https://www.c4.ucsf.edu/howto/r.html#packages-relying-on-gdal-geos-proj-and-sqlite3, which has been verified to work with R 4.2.3 with a vanilla C4 account.