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

Raúl Marín Rodríguez rmrodriguez at carto.com
Tue Dec 11 14:06:40 PST 2018


> Same installation of GDAL.  Any ideas?

Can you check config.log? It should have both the compiler command
used to try to link with gdal and the error message; that should be
helpful.
On Tue, Dec 11, 2018 at 5:57 AM 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



-- 
Raúl Marín Rodríguez
carto.com


More information about the postgis-users mailing list