[gdal-dev] cannot build gdal-grass

Maciej Sieczka tutey at o2.pl
Sun Jun 22 11:32:02 EDT 2008


Hi

gdal-grass 1.4.3 refuses to build against GDAL 1.5.2 r14751 and GRASS 
6.4 r31801.

Details:

$ $ cat /etc/ld.so.conf.d/libc.conf
# libc default configuration
/usr/local/lib
/usr/local/grass-6.4.svn/lib
/usr/local/qgis/lib

$ sudo ldconfig

$ ./configure --prefix=/usr/local --with-grass=/usr/local/grass-6.4.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
checking for 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
configure: error: --with-grass=/usr/local/grass-6.4.svn requested, but
libraries not found! Perhaps you need to set LD_LIBRARY_PATH to include
/usr/local/grass-6.4.svn/lib



That's strange, because:

$ cd /usr/local/grass-6.4.svn/lib

$ nm libgrass_gis.so | grep G_asprintf
0000000000013da0 T G_asprintf

and

$ cat /etc/ld.so.conf.d/libc.conf
# libc default configuration
/usr/local/lib
/usr/local/grass-6.4.svn/lib
/usr/local/qgis/lib

What could be wrong? This used to work couple of days ago.

Debian testing amd64.

Maciek

-- 
Maciej Sieczka
www.sieczka.org


More information about the gdal-dev mailing list