Opened 7 years ago
Closed 6 years ago
#3421 closed defect (fixed)
GEOS C API usage
| Reported by: | Bas Couwenberg | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 7.2.3 |
| Component: | Default | Version: | 7.2.2 |
| Keywords: | Cc: | Bas Couwenberg | |
| CPU: | Unspecified | Platform: | Linux |
Description
GRASS is claimed to be using the GEOS C API instead of the unstable C++ API according to:
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.
Attachments (1)
Change History (4)
by , 7 years ago
| Attachment: | geos-c.patch added |
|---|
follow-up: 2 comment:1 by , 7 years ago
comment:2 by , 7 years ago
Replying to mmetz:
Replying to Bas Couwenberg:
GRASS is claimed to be using the GEOS C API instead of the unstable C++ API according to:
configure.inchecks forgeos_c.h, but usesgeos-config --libsinstead ofgeos-config --clibscausing linking tolibgeos-<VERSION>.soin addition tolibgeos_c.so.The attached patch updates the
geos-configcommand to use--clibs.Thanks for the patch! Applied to trunk and relbr72 in r71544,5.
I guess the patch provided by you is working for you and it has been applied to trunk and relbr72. Closing ticket.
comment:3 by , 6 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |

Replying to Bas Couwenberg:
Thanks for the patch! Applied to trunk and relbr72 in r71544,5.