Closed jiapei100 closed 4 years ago
Likely missing ogdi and odbc library. You need to provide the full configure line you've used, but this is likely more an issue with how and which dependencies you've installed
@rouault
➜ gdal git:(master) ✗ ./configure --with-spatialite=yes --with-rasterlite2=yes --with-liblzma=yes --with-mysql=yes --with-ogdi=yes
......
GDAL is now configured for x86_64-pc-linux-gnu
Installation directory: /usr/local
C compiler: gcc -DHAVE_AVX_AT_COMPILE_TIME -DHAVE_SSSE3_AT_COMPILE_TIME -DHAVE_SSE_AT_COMPILE_TIME -g -O2
C++ compiler: g++ -DHAVE_AVX_AT_COMPILE_TIME -DHAVE_SSSE3_AT_COMPILE_TIME -DHAVE_SSE_AT_COMPILE_TIME -g -O2
C++14 support: no
LIBTOOL support: yes
LIBZ support: external
LIBLZMA support: yes
ZSTD support: yes
cryptopp support: no
crypto/openssl support: yes
GRASS support: no
CFITSIO support: external
PCRaster support: internal
LIBPNG support: external
DDS support: no
GTA support: no
LIBTIFF support: external (BigTIFF=yes)
LIBGEOTIFF support: external
LIBJPEG support: external
12 bit JPEG: no
12 bit JPEG-in-TIFF: no
LIBGIF support: external
JPEG-Lossless/CharLS: yes
OGDI support: no
HDF4 support: no
HDF5 support: yes
Kea support: no
NetCDF support: yes
NetCDF has netcdf_mem.h: yes
Kakadu support: no
JasPer support: no
OpenJPEG support: yes
ECW support: no
MrSID support: no
MrSID/MG4 Lidar support: no
JP2Lura support: no
MSG support: no
EPSILON support: no
WebP support: yes
cURL support (wms/wcs/...):yes
PostgreSQL support: yes
LERC support: yes
MySQL support: yes
Ingres support: no
Xerces-C support: yes
Expat support: yes
libxml2 support: yes
Google libkml support: yes
ODBC support: no
FGDB support: no
MDB support: no
PCIDSK support: internal
OCI support: no
GEORASTER support: no
SDE support: no
Rasdaman support: no
RDB support: no
DODS support: no
SQLite support: yes
PCRE support: yes
SpatiaLite support: yes
RasterLite2 support: yes
Teigha (DWG and DGNv8): no
INFORMIX DataBlade support:no
GEOS support: yes
SFCGAL support: no
QHull support: external
Poppler support: no
Podofo support: no
PDFium support: no
OpenCL support: no
Armadillo support: no
FreeXL support: yes
SOSI support: no
MongoDB support: no
MongoCXX v3 support: no
HDFS support: no
TileDB support: no
EXR support: yes
userfaultfd support: yes
misc. gdal formats: aaigrid adrg aigrid airsar arg blx bmp bsb cals ceos ceos2 coasp cosar ctg dimap dted e00grid elas envisat ers fit gff gsg gxf hf2 idrisi ignfheightasciigrid ilwis ingr iris iso8211 jaxapalsar jdem kmlsuperoverlay l1b leveller map mrf msgn ngsgeoid nitf northwood pds prf r raw rmf rs2 safe saga sdts sentinel2 sgi sigdem srtmhgt terragen til tsx usgsdem xpm xyz zmap rik ozi grib eeda plmosaic rda wcs wms wmts daas rasterlite mbtiles pdf
disabled gdal formats:
misc. ogr formats: aeronavfaa arcgen avc bna cad csv dgn dxf edigeo flatgeobuf geoconcept georss gml gmt gpsbabel gpx gtm htf jml mvt ntf openair openfilegdb pgdump rec s57 segukooa segy selafin shape sua svg sxf tiger vdv wasp xplane idrisi pds sdts nas ili gmlas ods xlsx amigocloud carto cloudant couchdb csw elastic ngw plscenes wfs gpkg vfk osm
disabled ogr formats:
SWIG Bindings: no
PROJ >= 6: yes
enable GNM building: yes
enable pthread support: yes
enable POSIX iconv support:yes
hide internal symbols: no
Which packages are installed for ogdi and odbc : do they include their development packages ? And each time you change the options on ./configure and/or change depending packages, make sure to run make clean, before running make again
Built ... Thank you ...
make clean
does the trick...
Trying to build gdal from source, but failed with the following ERROR messages.