[GRASS-dev] compiling gdal-grass plugin with GRASS 7.0

Paulo van Breugel p.vanbreugel at gmail.com
Tue Apr 24 05:14:16 EDT 2012


Hi,

I am trying to compile the gdal-grass plugin with GRASS 7.0, using:

./configure --with-gdal=/usr/local/gdal1.9/bin/gdal-config 
--with-grass=/usr/local/grass7/grass-7.0.svn

However, I am getting the error message that

"configure: error: --with-grass=/usr/local/grass7/grass-7.0.svn 
requested, but libraries not found!  Perhaps you need to set 
LD_LIBRARY_PATH to include /usr/local/grass7/grass-7.0.svn/lib?"

I have set the library path though, using the below

echo "/usr/local/grass7/grass-7.0.svn/lib" > grass7.conf
sudo mv grass7.conf /etc/ld.so.conf.d
cd /etc/ld.so.conf.d
sudo ldconfig

Also, when configuring with grass6.4:

./configure --with-gdal=/usr/local/gdal1.9/bin/gdal-config 
--with-grass=/usr/local/grass6.4/grass-6.4.2svn

the gdal-grass plugin compiles without problems.

Rgds,

Paulo


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-dev/attachments/20120424/8e0e1a86/attachment.html


More information about the grass-dev mailing list