Afternoon everyone,
I'm having some problems getting the gdal-grass 1.11.2 plugin to compile with grass 7.0.0 installed on Arch Linux 64bit.
I've compiled GDAL 1.11.2 --without-grass, then compiled grass 7.0.0 from the tar archive.
Next tried to compile gdal-grass plugin but it complains:
configure: error: --with-grass=/opt/grass requested, but libraries not found! Perhaps you need to set LD_LIBRARY_PATH to include /opt/grass/lib?
GRASS installed a grass.conf into /etc/ld.so.conf.d/ with the contents /opt/grass/lib and then I ran "sudo ldconfig" but still get same error.
The config.log for gdal-grass has a part in it that says:
"/usr/bin/ld: cannot find -lgrass_gis.7.0.svn
/usr/bin/ld: cannot find -lgrass_raster.7.0.svn
/usr/bin/ld: cannot find -lgrass_gmath.7.0.svn
/usr/bin/ld: cannot find -lgrass_gis.7.0.svn
/usr/bin/ld: cannot find -lgrass_datetime.7.0.svn
/usr/bin/ld: cannot find -lgrass_gproj.7.0.svn
/usr/bin/ld: cannot find -lgrass_vector.7.0.svn
/usr/bin/ld: cannot find -lgrass_dbmibase.7.0.svn
/usr/bin/ld: cannot find -lgrass_dbmiclient.7.0.svn
/usr/bin/ld: cannot find -lgrass_dgl.7.0.svn
/usr/bin/ld: cannot find -lgrass_dig2.7.0.svn
/usr/bin/ld: cannot find -lgrass_rtree.7.0.svn
/usr/bin/ld: cannot find -lgrass_linkm.7.0.svn
/usr/bin/ld: cannot find -lgrass_btree2.7.0.svn
/usr/bin/ld: cannot find -lgrass_ccmath.7.0.svn"
But /opt/grass/lib has files with a full version number like libgrass_gis.7.0.0.so instead of libgrass_gis.7.0.svn.so
And those are symlinks like "libgrass_gis.7.0.0.so -> libgrass_gis.so"
Any help would be greatly appreciated or if anyone needs more info, feel free to ask.
Donovan
Looks like gdal-grass is a GDAL product so I'll forward this issue to the GDAL mailing lists.
Sorry for the noise =)
Donovan
On 10/03/15 03:06 PM, Donovan Cameron wrote:
Afternoon everyone,
I'm having some problems getting the gdal-grass 1.11.2 plugin to compile with grass 7.0.0 installed on Arch Linux 64bit.
I've compiled GDAL 1.11.2 --without-grass, then compiled grass 7.0.0 from the tar archive.
Next tried to compile gdal-grass plugin but it complains:
configure: error: --with-grass=/opt/grass requested, but libraries not found! Perhaps you need to set LD_LIBRARY_PATH to include /opt/grass/lib?
GRASS installed a grass.conf into /etc/ld.so.conf.d/ with the contents /opt/grass/lib and then I ran "sudo ldconfig" but still get same error.
The config.log for gdal-grass has a part in it that says:
"/usr/bin/ld: cannot find -lgrass_gis.7.0.svn
/usr/bin/ld: cannot find -lgrass_raster.7.0.svn
/usr/bin/ld: cannot find -lgrass_gmath.7.0.svn
/usr/bin/ld: cannot find -lgrass_gis.7.0.svn
/usr/bin/ld: cannot find -lgrass_datetime.7.0.svn
/usr/bin/ld: cannot find -lgrass_gproj.7.0.svn
/usr/bin/ld: cannot find -lgrass_vector.7.0.svn
/usr/bin/ld: cannot find -lgrass_dbmibase.7.0.svn
/usr/bin/ld: cannot find -lgrass_dbmiclient.7.0.svn
/usr/bin/ld: cannot find -lgrass_dgl.7.0.svn
/usr/bin/ld: cannot find -lgrass_dig2.7.0.svn
/usr/bin/ld: cannot find -lgrass_rtree.7.0.svn
/usr/bin/ld: cannot find -lgrass_linkm.7.0.svn
/usr/bin/ld: cannot find -lgrass_btree2.7.0.svn
/usr/bin/ld: cannot find -lgrass_ccmath.7.0.svn"
But /opt/grass/lib has files with a full version number like libgrass_gis.7.0.0.so instead of libgrass_gis.7.0.svn.so
And those are symlinks like "libgrass_gis.7.0.0.so -> libgrass_gis.so"
Any help would be greatly appreciated or if anyone needs more info, feel free to ask.
Donovan
2015-03-11 0:26 GMT+01:00 Donovan Cameron <sault.don@gmail.com>:
Looks like gdal-grass is a GDAL product so I'll forward this issue to the
GDAL mailing lists.
I have recently fixed this issue for upcoming 1.11.3 [1]. I can send
you updated tarball if needed. Martin
[1] http://trac.osgeo.org/gdal/ticket/5852#comment:17
--
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa