Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#12450 closed (fixed)

GEOSFree not available in GEOS 3.1.0

Reported by: Joel Watts Owned by: nobody
Component: GIS Version: dev
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

I'm using GEOS 3.1.0 on Ubuntu Server 9.10 (amd64) and after r11979, I can no longer import django.contrib.gis.geos or anything that depends on it:

>> from django.contrib.gis.db import models
AttributeError: /usr/lib/libgeos_c.so.1: undefined symbol: GEOSFree

According to the GEOS changelog, GEOSFree was added in their r2506 (2009-05-13) while 3.1.0 was released around r2271 (2009-03-10), so it looks like the number in the version check in django.contrib.gis.geos.prototypes.errcheck should be bumped up to 3.1.1 (released 2009-06-15) or replaced with a try/except block.

Attachments (1)

geosfree.diff (1.2 KB ) - added by Joel Watts 14 years ago.
Replace explicit check for 3.1.0 with a try/except block

Download all attachments as: .zip

Change History (3)

by Joel Watts, 14 years ago

Attachment: geosfree.diff added

Replace explicit check for 3.1.0 with a try/except block

comment:1 by jbronn, 14 years ago

Resolution: fixed
Status: newclosed

(In [12004]) Fixed #12450 -- GEOSFree was really added in GEOS 3.1.1, not 3.1.0. Thanks, jpwatts for the bug report.

comment:2 by jbronn, 14 years ago

(In [12005]) [1.1.X] Fixed #12450 -- GEOSFree was really added in GEOS 3.1.1, not 3.1.0. Thanks, jpwatts for the bug report.

Backport or r12004 from trunk.

Note: See TracTickets for help on using tickets.
Back to Top