Opened 8 years ago

Closed 8 years ago

#3492 closed defect (invalid)

postgis 2.2 configure requires GEOS 3.3+ but really needs GEOS 3.5+

Reported by: rwman Owned by: pramsey
Priority: medium Milestone: PostGIS 2.2.2
Component: postgis Version: 2.2.x
Keywords: Cc:

Description

In the configure.ac file there is a rquirement of GEOS 3.3+ In fact when i tried to launch postgis 2.2 with libgeos 3.4 i got an error:

demorest=# CREATE EXTENSION postgis;
ERROR:  could not load library "/usr/lib/postgresql93/lib64/postgis-2.2.so": /usr/lib/postgresql93/lib64/postgis-2.2.so: undefined symbol: GEOSClipByRect

To resolve the issue i had to update to version 3.5 as suggested here: http://lists.osgeo.org/pipermail/postgis-users/2016-January/041098.html

Change History (1)

comment:1 by robe, 8 years ago

Resolution: invalid
Status: newclosed

PostGIS 2.2. does not require 3.5. You had to upgrade because your PostGIS was compiled with GEOS 3.5 it exposed features only available for GEOS 3.5, but you had in your system path GEOS 3.4.

If your PostGIS was compiled with GEOS 3.4, your GEOS 3.4 system install would have worked fine, though you'd be missing ST_ClipBox and ST_SubDivide functionality. If you got this from a package, then I would think the packaging would force an upgrade to newer GEOS it requires.

Note: See TracTickets for help on using tickets.