[postgis-users] Compiling Postgis from source - gdal error

Bruce Rindahl bruce.rindahl at gmail.com
Mon Dec 10 20:57:29 PST 2018


I have successfully compiled 2.5.0 from source with pg11.0, geos 2.3.2.
The ./configure message  is:
checking for gdal-config... /usr/local/bin/gdal-config
checking GDAL version... 2.3.2
checking for OGR enabled... yes
checking gdal.h usability... yes
checking gdal.h presence... yes
checking for gdal.h... yes
checking ogr_api.h usability... yes
checking ogr_api.h presence... yes
checking for ogr_api.h... yes
checking cpl_conv.h usability... yes
checking cpl_conv.h presence... yes
checking for cpl_conv.h... yes
checking for library containing GDALAllRegister... none required
checking for library containing OGRRegisterAll... none required
checking for library containing GDALFPolygonize... none required

However, with postgis-2.5.1, postgis-2.5.2-dev, and postgis-3.0-dev I get:
checking for gdal-config... /usr/local/bin/gdal-config
checking GDAL version... 2.3.2
checking for OGR enabled... yes
checking gdal.h usability... yes
checking gdal.h presence... yes
checking for gdal.h... yes
checking ogr_api.h usability... yes
checking ogr_api.h presence... yes
checking for ogr_api.h... yes
checking cpl_conv.h usability... yes
checking cpl_conv.h presence... yes
checking for cpl_conv.h... yes
checking for library containing GDALAllRegister... no
configure: error: could not find GDAL

Same installation of GDAL.  Any ideas?
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20181210/cc092768/attachment.html>


More information about the postgis-users mailing list