when i start zope with collective.geos.* products i get:
---------------------
File
"/home/iwlearn3/webapps/plone_devel/zeocluster/src/collective.geo.contentlocations/collective/geo/contentlocations/browser/geoshapeform.py",
line 24, in <module>
from shapely.geos import ReadingError
File
"/home/iwlearn3/webapps/plone_devel/buildout-cache/eggs/Shapely-1.2.2-py2.6.egg/shapely/geos.py",
line 110, in <module>
prototype(_lgeos, geos_c_version)
File
"/home/iwlearn3/webapps/plone_devel/buildout-cache/eggs/Shapely-1.2.2-py2.6.egg/shapely/ctypes_declarations.py",
line 170, in prototype
lgeos.GEOSisValidReason.restype = allocated_c_char_p
File
"/home/iwlearn3/webapps/plone_devel/Python-2.6/lib/python2.6/ctypes/__init__.py",
line 366, in __getattr__
func = self.__getitem__(name)
File
"/home/iwlearn3/webapps/plone_devel/Python-2.6/lib/python2.6/ctypes/__init__.py",
line 371, in __getitem__
func = self._FuncPtr((name_or_ordinal, self))
zope.configuration.xmlconfig.ZopeXMLConfigurationError: File
"/home/iwlearn3/webapps/plone_devel/zeocluster/parts/client1/etc/site.zcml",
line 15.2-15.55
ZopeXMLConfigurationError: File
"/home/iwlearn3/webapps/plone_devel/zeocluster/parts/client1/etc/package-includes/003-collective.geo.contentlocations-configure.zcml",
line 1.0-1.75
ZopeXMLConfigurationError: File
"/home/iwlearn3/webapps/plone_devel/zeocluster/src/collective.geo.contentlocations/collective/geo/contentlocations/configure.zcml",
line 12.2-12.32
ZopeXMLConfigurationError: File
"/home/iwlearn3/webapps/plone_devel/zeocluster/src/collective.geo.contentlocations/collective/geo/contentlocations/browser/configure.zcml",
line 12.2-16.47
AttributeError: /usr/local/lib/libgeos_c.so.1: undefined symbol:
GEOSisValidReason
-------------------
the documentation on http://trac.gispython.org/lab/wiki/Shapely says:
libgeos_c (2.2.3 or 3.0.0+)
(on my machine, where it works, i have libgeos 3.1.0-1 installed, and
i have also the development version liggeos-dev installed)
comparing the versions:
my machine:
-rw-r--r-- 1 root root 1296240 2009-04-30 14:19 /usr/lib/libgeos-3.1.0.so
-rw-r--r-- 1 root root 3563672 2009-04-30 14:19 /usr/lib/libgeos.a
-rw-r--r-- 1 root root 98856 2009-04-30 14:19 /usr/lib/libgeos_c.a
-rw-r--r-- 1 root root 820 2009-04-30 14:19 /usr/lib/libgeos_c.la
lrwxrwxrwx 1 root root 18 2010-06-09 12:04 /usr/lib/libgeos_c.so
-> libgeos_c.so.1.5.0
lrwxrwxrwx 1 root root 18 2010-05-31 12:41
/usr/lib/libgeos_c.so.1 -> libgeos_c.so.1.5.0
-rw-r--r-- 1 root root 87836 2009-04-30 14:19 /usr/lib/libgeos_c.so.1.5.0
-rw-r--r-- 1 root root 794 2009-04-30 14:19 /usr/lib/libgeos.la
lrwxrwxrwx 1 root root 16 2010-06-09 12:04 /usr/lib/libgeos.so ->
libgeos-3.1.0.so
production server:
-rwxr-xr-x 1 root root 12216154 Apr 30 2009 /usr/local/lib/libgeos-3.0.2.so
-rw-r--r-- 1 root root 3353526 Apr 30 2009 /usr/local/lib/libgeos.a
-rw-r--r-- 1 root root 74574 Apr 30 2009 /usr/local/lib/libgeos_c.a
-rwxr-xr-x 1 root root 832 Apr 30 2009 /usr/local/lib/libgeos_c.la
lrwxrwxrwx 1 root root 18 Feb 16 2010
/usr/local/lib/libgeos_c.so -> libgeos_c.so.1.4.2
lrwxrwxrwx 1 root root 18 Feb 16 2010
/usr/local/lib/libgeos_c.so.1 -> libgeos_c.so.1.4.2
-rwxr-xr-x 1 root root 283588 Apr 30 2009 /usr/local/lib/libgeos_c.so.1.4.2
-rwxr-xr-x 1 root root 800 Apr 30 2009 /usr/local/lib/libgeos.la
lrwxrwxrwx 1 root root 16 Feb 16 2010 /usr/local/lib/libgeos.so
-> libgeos-3.0.2.so
which version of geos is required by the current shapely?
--
Best Regards,
Christian Ledermann
Nairobi - Kenya
Mobile : +254 729495789
<*)))>{
If you save the living environment, the biodiversity that we have left,
you will also automatically save the physical environment, too. But If
you only save the physical environment, you will ultimately lose both.
}<(((*>
_______________________________________________
Community mailing list
[email protected]
http://lists.gispython.org/mailman/listinfo/community