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

Paul Ramsey pramsey at cleverelephant.ca
Tue Dec 11 08:17:47 PST 2018


Well, first “is it plugged in” question… before running ./configure if you run “which gdal-config” what do you see?

P

> On Dec 10, 2018, at 8:57 PM, Bruce Rindahl <bruce.rindahl at gmail.com> wrote:
> 
> 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
> 
> _______________________________________________
> postgis-users mailing list
> postgis-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/postgis-users



More information about the postgis-users mailing list