[postgis-tickets] [PostGIS] #5218: configure: error: could not find GDAL headers

PostGIS trac at osgeo.org
Tue Aug 16 01:09:34 PDT 2022


#5218: configure: error: could not find GDAL headers
-----------------------------------+---------------------------
 Reporter:  strk                   |      Owner:  strk
     Type:  defect                 |     Status:  new
 Priority:  blocker                |  Milestone:  PostGIS 3.3.0
Component:  build/upgrade/install  |    Version:  master
 Keywords:                         |
-----------------------------------+---------------------------
 After upgrading to Ubuntu 22.04 (jammy):
 {{{
 checking for gdal-config... /usr/local/bin/gdal-config
 checking GDAL version... 3.2.2
 checking for OGR enabled... yes
 checking gdal.h usability... no
 checking gdal.h presence... no
 checking for gdal.h... no
 configure: error: could not find GDAL headers
 }}}

 Dev packages are installed:
 {{{
 # dpkg -l | grep gdal
 ii  gdal-data                                                   3.4.1
 +dfsg-1build4                                                    all
 Geospatial Data Abstraction Library - Data files
 ii  libgdal-dev                                                 3.4.1
 +dfsg-1build4                                                    amd64
 Geospatial Data Abstraction Library - Development files
 ii  libgdal30                                                   3.4.1
 +dfsg-1build4                                                    amd64
 Geospatial Data Abstraction Library
 }}}

 This is with current master branch as of commit
 [7a08839fcec57b4a9a600b4da7d950589c31b548/git]
-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5218>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-tickets mailing list