Opened 14 years ago
Closed 14 years ago
#3750 closed defect (worksforme)
Possible unexpected GEOS version dependency
Reported by: | warmerdam | Owned by: | warmerdam |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | OGR_SF | Version: | unspecified |
Severity: | normal | Keywords: | geos |
Cc: |
Description
A user reports:
I cleared out the FWTools from my install and downloaded the latest GDAL (1.7.2RC3). The gdal make eventually produces an error with libgdal.so - undefined reference to 'GEOSFree'. I currently have Geos-2.2.3 installed. Is that too old to work with the current version of GDAL?
I'm concerned that GDAL depends on features of newer GEOS' without proper checking.
Change History (2)
comment:1 by , 14 years ago
comment:2 by , 14 years ago
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Excellent, thanks for looking into this. The user just mentioned it in passing, so I think I'll close the ticket.
Note:
See TracTickets
for help on using tickets.
This shouldn't happen. The use of GEOSFree is protected by :
#else
#endif
But for GEOS 2.2.3, we have GEOS_CAPI_VERSION_MAJOR == 1 and GEOS_CAPI_VERSION_MINOR == 1, so we should just use free().
What I suspect is a mismatch of headers on the user system...