[GRASS-dev] r.external and GDAL linking
William Kyngesburye
woklist at kyngchaos.com
Wed Sep 8 16:03:41 EDT 2010
I just tried r.external for the first time, and while r.external successfully created the link raster, any attempt to access the raster data results in the error "Unable to load GDAL library".
Looking at where that error comes from, I find lib/gis/gdal.c, where it's trying to dynamically load the GDAL library. Looks like it's hardwired that way in the lib/gis makefile:
GDAL_DYNAMIC = 1
Is it safe to override this, so that libgis static-links GDAL? It looks like the makefile and gdal.c are setup to toggle such static linking. Shouldn't there be a configure option for this (assuming it works)?
-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/
Earth: "Mostly harmless"
- revised entry in the HitchHiker's Guide to the Galaxy
More information about the grass-dev
mailing list