(cc F Warmerdam) On Thu, Dec 12, 2013 at 10:33 AM, Blumentrath, Stefan <[email protected]> wrote: > Hi Markus > > Thanks for your feedback. > > I had read ticket #2953 and found it a bit confusing in that sense that > Martin modified GDAL (and not the plugin). The plugin (on > http://download.osgeo.org/gdal/) was last modified 05-Aug-2007. To me it > seems that GDAL is now (with Martins fixes in place) using a mixture of GRASS > 6 and 7 libs. GDAL itself does not complain (if both GRASS versions can be > found) but raster2pgsql does (and maybe OGR would as well)...
..to my knowledge the GDAL plugin is nothing else than the source code extraction from main GDAL into a separate package. ... > Looks like both GDAL and the GRASS-GDAL plugin need some update... I think that the GDAL-GRASS plugin code should be re-extracted as a package. > Shall I add an error-report to ticket #2953? yes, please. best Markus > Cheers > Stefan > > > > -----Original Message----- > From: [email protected] [mailto:[email protected]] On Behalf Of > Markus Neteler > Sent: 11. desember 2013 15:18 > To: Blumentrath, Stefan > Cc: [email protected] > Subject: Re: [GRASS-dev] GDAL,GRASS 7 and PostGIS on Ubunutu 12.04 > > 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
