On Wed, Dec 11, 2013 at 12:26 PM, Blumentrath, Stefan <[email protected]> wrote: > Dear all, > > Do not know if this post belongs here or to PostGIS: > I compiled GDAL (rev 26701) with support for GRASS 7 (not the plugin but > recompiled GDAL with GRASS support after building GRASS 7 from source (rev > 58438)).
I don't think that GDAL is already compliant with GRASS 7: See http://trac.osgeo.org/gdal/ticket/2953 > /usr/local/grass-7.0.svn/lib > /usr/local/grass-6.4.4svn/lib > In /etc/ld.so.conf (in that order). I guess the order should be reverse. > gdal_translate gives a warning message: > > Warning 1: GRASS warning: GISBASE enviroment variable was not set, using: > /usr/local/grass-7.0.svn > > However, it takes GRASS raster gladly, so that works. ... for me surprising :-) > Then I build PostGIS 2.1.2 against the compiled GDAL version with GRASS > support. > Unfortunately raster2pgsql gives error messages when I try to feed GRASS > raster: > "Segmentation fault (core dumped)" > > After I removed the link to GRASS 6.4.4svn/lib in /etc/ld.so.conf the > errormessage changes to: > ERROR 1: libgrass_I.so: cannot open shared object file: No such file or > directory > *** glibc detected *** raster2pgsql: corrupted double-linked list: > 0x00000000012e59f0 *** > > Any Ideas? IMHO the GDAL ticket should be fixed. Best Markus _______________________________________________ grass-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-dev
