5 | | And the related GDAL-GRASS change: |
| 5 | This removes the need to `ld.so.conf snippets. |
| 6 | |
| 7 | The libgdal-grass package was not updated correctly for 8.2.0: |
| 8 | {{{ |
| 9 | g++ -shared -Wl,-Bsymbolic-functions -flto=auto -ffat-lto-objects -flto=auto -Wl,-z,relro |
| 10 | -Wl,-z,now -Wl,--no-as-needed grass.o \ |
| 11 | -L/usr/lib/grass82/lib -lgrass_vector -lgrass_dig2 -lgrass_dgl -lgrass_rtree \ |
| 12 | -lgrass_linkm -lgrass_dbmiclient -lgrass_dbmibase -lgrass_raster \ |
| 13 | -lgrass_imagery -lgrass_gproj -lgrass_gmath -lgrass_gis \ |
| 14 | -lgrass_datetime -lgrass_btree2 -lgrass_ccmath \ |
| 15 | -L/usr/lib -lgdal -o gdal_GRASS.so -Wl,-rpath,/usr/lib/grass80/lib |
| 16 | g++ -shared -Wl,-Bsymbolic-functions -flto=auto -ffat-lto-objects -flto=auto -Wl,-z,relro \ |
| 17 | -Wl,-z,now -Wl,--no-as-needed ogrgrassdriver.o ogrgrassdatasource.o ogrgrasslayer.o \ |
| 18 | -L/usr/lib/grass82/lib -lgrass_vector -lgrass_dig2 -lgrass_dgl -lgrass_rtree \ |
| 19 | -lgrass_linkm -lgrass_dbmiclient -lgrass_dbmibase -lgrass_raster \ |
| 20 | -lgrass_imagery -lgrass_gproj -lgrass_gmath -lgrass_gis \ |
| 21 | -lgrass_datetime -lgrass_btree2 -lgrass_ccmath \ |
| 22 | -L/usr/lib -lgdal -o ogr_GRASS.so -Wl,-rpath,/usr/lib/grass80/lib |
| 23 | }}} |
| 24 | It still uses the RUNPATH for GRASS 8.0.x. |
| 25 | |
| 26 | The `rpath` patch needs to be updated too, see the packaging changes in Debian for 8.2.0: |
| 27 | |
| 28 | https://salsa.debian.org/debian-gis-team/gdal-grass/-/commit/4a84adb0830faef4d0ae3f1efa9d09ea9b58de7c |
| 29 | |
| 30 | libgdal-grass (1:1.0.0-1~exp1) dropped this patch because it's included upstream: |