[gdal-dev] GDAL 2.1 Beta and GRASS 7.0.4
Blumentrath, Stefan
Stefan.Blumentrath at nina.no
Mon Apr 11 00:13:06 PDT 2016
Hi again,
One more question:
Before I installed GDAL 2.1 with GRASS 7.0.4svn support I ran GDAL 1.11 compiled against GRASS 7.0.2.
Now I get on every GDAL command this: error message:
ERROR 1: libgrass_gis.7.0.2svn.so: cannot open shared object file: No such file or directory
ERROR 1: libgrass_gis.7.0.2svn.so: cannot open shared object file: No such file or directory
ERROR 1: libgrass_raster.7.0.2svn.so: cannot open shared object file: No such file or directory
ERROR 1: libgrass_raster.7.0.2svn.so: cannot open shared object file: No such file or directory
Warning 1: GRASS warning: GISBASE environment variable was not set, using:
/usr/local/grass-7.0.4svn
Driver: GRASS/GRASS Rasters (5.7+)
Looks like GDAL somehow tries to find the link to my old GRASS installation...
gdalinfo --version says: GDAL 2.1.0beta1, released 2016/04/01
gdal-config --dep-libs points to: (...) -L/usr/local/grass-7.0.4svn/lib -lgrass_vector (...)
GDAL does read GRASS rasters despite the error message.
So my question is: How can I get rid of this annoying clutter and what did I wrong when I compiled from source?
Thanks in advance for any hint...
Kind regards,
Stefan
-----Original Message-----
From: gdal-dev [mailto:gdal-dev-bounces at lists.osgeo.org] On Behalf Of Blumentrath, Stefan
Sent: 4. april 2016 16:50
To: Even Rouault <even.rouault at spatialys.com>
Cc: gdal-dev at lists.osgeo.org
Subject: Re: [gdal-dev] GDAL 2.1 Beta and GRASS 7.0.4
Cool! Thanks for the info!
-----Original Message-----
From: Even Rouault [mailto:even.rouault at spatialys.com]
Sent: 4. april 2016 16:48
To: Blumentrath, Stefan <Stefan.Blumentrath at nina.no>
Cc: gdal-dev at lists.osgeo.org
Subject: Re: [gdal-dev] GDAL 2.1 Beta and GRASS 7.0.4
Le lundi 04 avril 2016 16:40:36, Blumentrath, Stefan a écrit :
> Hi Even,
>
> Many thanks for the quick fix!
>
> Works fine now!
>
> BTW, are there any plans for a GDAL-GRASS-plugin in GDAL 2.x?
There is already the following for GDAL 2.0.X http://download.osgeo.org/gdal/2.0.0/gdal-grass-2.0.0.tar.gz
And for GDAL 2.1, a new snapshot from trunk with the above fix will be done.
You can already build the plugin snapshot by yourself from the GDAL source tree :
- cd frmts/grass
- make dist
And this will generate gdal-grass-2.1.0.tar.gz
>
> Cheers
> Stefan
>
>
> -----Original Message-----
> From: Even Rouault [mailto:even.rouault at spatialys.com]
> Sent: 4. april 2016 16:11
> To: gdal-dev at lists.osgeo.org
> Cc: Blumentrath, Stefan <Stefan.Blumentrath at nina.no>
> Subject: Re: [gdal-dev] GDAL 2.1 Beta and GRASS 7.0.4
>
> Le lundi 04 avril 2016 15:45:48, Blumentrath, Stefan a écrit :
> > Hi,
> >
> > I try to build GDAL 2.1 with GRASS (7.0.4svn) support.
> >
> > As far as I can see there is no GRASS-plugin for GDAL 2.x..., so I do:
> > 1) build GDAL, 2) build GRASS, 3) rebuild GDAL --with-grass.
>
> > Unfortunately, I get the following error:
> Stefan
>
> thanks for the report. I've committed in trunk r33893 a changeset that
> should hopefully fix the compilation error, however I don't have a
> setup to test, so I'd appreciate your feedback. So for the final 2.1,
> we will have to provide an updated snapshot of the gdal- grass plugin sources.
>
> Even
>
> --
> Spatialys - Geospatial professional services http://www.spatialys.com
--
Spatialys - Geospatial professional services http://www.spatialys.com _______________________________________________
gdal-dev mailing list
gdal-dev at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev
More information about the gdal-dev
mailing list