[GRASS-dev] [GRASS GIS] #3421: GEOS C API usage

GRASS GIS trac at osgeo.org
Fri Oct 6 04:42:24 PDT 2017


#3421: GEOS C API usage
----------------------------+-------------------------
 Reporter:  Bas Couwenberg  |      Owner:  grass-dev@…
     Type:  defect          |     Status:  new
 Priority:  normal          |  Milestone:  7.2.3
Component:  Default         |    Version:  7.2.2
 Keywords:                  |        CPU:  Unspecified
 Platform:  Linux           |
----------------------------+-------------------------
 GRASS is claimed to be using the GEOS C API instead of the unstable C++
 API according to:

  https://trac.osgeo.org/geos/wiki/Applications

 `configure.in` checks for `geos_c.h`, but uses `geos-config --libs`
 instead of `geos-config --clibs` causing linking to `libgeos-<VERSION>.so`
 in addition to `libgeos_c.so`.

 The attached patch updates the `geos-config` command to use `--clibs`.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3421>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list