[gdal-dev] grass lib not found : gdal-grass plug-in (grass-7.0)

Massimo Di Stefano massimodisasha at yahoo.it
Wed Oct 14 06:02:28 EDT 2009


Hi All.

I'm tring to build the gdal-grass plug-in (i'm using gdal from svn)
on a debian sid machine,

i had this problem :


geofem at geofem:/usr/local/src/gdal/frmts/grass/gdal-grass-1.7.0$ ./ 
configure --with-gdal=/usr/local/bin/gdal-config --with-grass=/usr/ 
local/grass-7.0.svn/
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for ranlib... ranlib
checking for g++ -shared ... yes
user supplied gdal-config (/usr/local/bin/gdal-config)
using /usr/local/lib/gdalplugins as GDAL shared library autoload  
directory
checking for G_asprintf in -lgrass_gis... no
checking for G_putenv in -lgrass_gis... no
configure: error: --with-grass=/usr/local/grass-7.0.svn/ requested,  
but libraries not found!  Perhaps you need to set LD_LIBRARY_PATH to  
include /usr/local/grass-7.0.svn//lib?
geofem at geofem:/usr/local/src/gdal/frmts/grass/gdal-grass-1.7.0$ ./ 
configure --with-gdal=/usr/local/bin/gdal-config --with-grass=/usr/ 
local/grass-7.0.svn
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for ranlib... ranlib
checking for g++ -shared ... yes
user supplied gdal-config (/usr/local/bin/gdal-config)
using /usr/local/lib/gdalplugins as GDAL shared library autoload  
directory
checking for G_asprintf in -lgrass_gis... no
checking for G_putenv in -lgrass_gis... no
configure: error: --with-grass=/usr/local/grass-7.0.svn requested, but  
libraries not found!  Perhaps you need to set LD_LIBRARY_PATH to  
include /usr/local/grass-7.0.svn/lib?
geofem at geofem:/usr/local/src/gdal/frmts/grass/gdal-grass-1.7.0$

i have  :

cat /etc/ld.so.conf.d/grass.conf
/usr/local/grass-7.0.svn/lib


have you any clue on how to fix the gdal-grass build ?

thanks!

Massimo.


More information about the gdal-dev mailing list