[GRASS-dev] compiling GRASS fails at configure, unable to locate GDAL library

Paulo van Breugel p.vanbreugel at gmail.com
Thu Oct 29 02:49:27 PDT 2015


Hi, I am trying to make a fresh install of GRASS master, something I do 
routinely about every week (on Ubuntu 14.04). This time however, when 
running .configure (see below), I get the error message that the gdal 
library cannot be found. However, it is there, and in fact nothing 
changed since the last successful install of GRASS. Any ideas?

> ./configure --prefix=/usr/local/grass7 --enable-64bit 
> --with-libs=/lib64 --with-sqlite --with-odbc --with-cairo --with-geos 
> --with-cxx=yes --with-gdal=/usr/local/bin/ --with-python=yes 
> --with-wxwidgets=/usr/bin/wx-config --with-readline --with-freetype 
> --with-freetype-includes=/usr/include/freetype2 --enable-largefile 
> --with-motif --with-motif-includes=/usr/include 
> --with-proj-share=/usr/share/proj --with-postgres 
> --with-postgres-libs=/usr/include/postgresql/libpq 
> --with-postgres-includes=/usr/include/postgresql --with-lapack 
> --with-blas --with-opencl --with-pthread 


Gives me

> checking for gdal-config... /usr/local/bin/gdal-config
> configure: error: *** Unable to locate GDAL library.
> ...
> ...
> ...
> checking for gdal-config... /usr/local/bin/gdal-config
> configure: error: *** Unable to locate GDAL library.




More information about the grass-dev mailing list