GEOSFree not available in GEOS 3.1.0
|Reported by:||jpwatts||Owned by:||nobody|
|Has patch:||yes||Needs documentation:|
|Needs tests:||Patch needs improvement:|
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.