[gdal-dev] Not able to build GDAL in Ubuntu 16.04

Even Rouault even.rouault at spatialys.com
Sun Feb 24 07:09:14 PST 2019


On dimanche 24 février 2019 08:04:47 CET Totò wrote:
> Hi,
> I have downloaded gdal source from
> http://download.osgeo.org/gdal/2.4.0/gdal240.zip and than I have run these
> commands:
> 
> ./configure --prefix=${PREFIX} --without-sqlite3
> make
> 
> But I have this error
> 
> chmod a+x gdal-config
> /bin/bash /mnt/c/tmp/gdal240/gdal-2.4.0/libtool --mode=link --silent g++
> -std=c++11  gdalinfo_bin.lo  /mnt/c/tmp/gdal240/gdal-2.4.0/libgdal.la  -o
> gdalinfo
> /mnt/c/tmp/gdal240/gdal-2.4.0/.libs/libgdal.so: undefined reference to
> `sqlite3_column_origin_name'
> /mnt/c/tmp/gdal240/gdal-2.4.0/.libs/libgdal.so: undefined reference to
> `sqlite3_column_table_name'
> 
> Probably I have some sqlite3 environment problem, and I thought I could get
> over it using "--without-sqlite3" in config, but it is not so.

If you added --without-sqlite3 to the ./configure command line after a first 
build without it, you need to "make clean" before rebuilding

Even

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com


More information about the gdal-dev mailing list