[postgis-tickets] [PostGIS] #4766: GDAL_DATA not found for windows with GDAL 3.0.4 and iconv failures and missing curl

PostGIS trac at osgeo.org
Mon Nov 23 09:04:22 PST 2020


#4766: GDAL_DATA not found for windows with GDAL 3.0.4 and iconv failures and
missing curl
------------------------------------+-------------------------------
  Reporter:  robe                   |      Owner:  robe
      Type:  defect                 |     Status:  closed
  Priority:  high                   |  Milestone:  PostGIS Packaging
 Component:  build/upgrade/install  |    Version:  3.0.x
Resolution:  fixed                  |   Keywords:  windows
------------------------------------+-------------------------------
Changes (by robe):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 I just pushed out PostGIS 3.0.4 bundle (for 11,12,13 - still need to do
 for 10 and 9.6) with GDAL 3.2.0 and Proj 7.1.1 and conv fixed.  I had to
 add an extra dialog which I plan to clean up later in 3.1.0 into a single
 screen, that offers to set the PROJ_LIB variable.  Unfortunately for the
 new env to take effect requires a PostgreSQL service restart.  At any rate
 it takes care of the GDAL DATA is not found error and prevents the crash I
 described in #4792.

 I think the logic we had to find proj for windows must be broken - I
 haven't checked the code base to see where the setting is set -- as I
 recall it was hardcoded to look in <postgresql install>/contrib/postgis
 -<minor-version>/proj.

 That in theory should have made the PROJ_LIB bit unnecessary but could be
 something in PROJ changed and GDAL to make it stop working.  Compiling
 with Proj 5.2 never resulted in this error notice.

-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4766#comment:4>
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