Christian Ledermann
2010-06-09 15:37:20 UTC
Hi,
I have problems getting Rtree to run.
when i start up zope (with zgeo.wfs) i get the error:
---------------
...
from index import BaseIndex
File
"/home/ledermac/devel/plone4zgeo/zinstance/src/zgeo.wfs/zgeo/wfs/geocatalog/index.py", line 4, in <module>
from rtree import Rtree
File
"/home/ledermac/.buildout/eggs/Rtree-0.6.0-py2.6.egg/rtree/__init__.py",
line 8, in <module>
from index import Rtree
File
"/home/ledermac/.buildout/eggs/Rtree-0.6.0-py2.6.egg/rtree/index.py",
line 2, in <module>
import core
File
"/home/ledermac/.buildout/eggs/Rtree-0.6.0-py2.6.egg/rtree/core.py",
line 85, in <module>
rt = ctypes.CDLL(lib_name)
File
"/home/ledermac/devel/plone4zgeo/Python-2.6/lib/python2.6/ctypes/__init__.py", line 353, in __init__
self._handle = _dlopen(self._name, mode)
zope.configuration.xmlconfig.ZopeXMLConfigurationError: File
"/home/ledermac/devel/plone4zgeo/zinstance/parts/instance/etc/site.zcml", line 15.2-15.55
ZopeXMLConfigurationError: File
"/home/ledermac/devel/plone4zgeo/zinstance/parts/instance/etc/package-includes/008-zgeo.wfs-configure.zcml", line 1.0-1.52
ZopeXMLConfigurationError: File
"/home/ledermac/devel/plone4zgeo/zinstance/src/zgeo.wfs/zgeo/wfs/configure.zcml", line 9.4-13.4
OSError: libspatialindex_c.so: cannot open shared object file: No
such file or directory
-----------------------
libspatialindex_c.so is present in /usr/local/lib/
#ls -l /usr/local/lib/
total 2792
-rw-r--r-- 1 root root 1465800 2010-06-09 12:58 libspatialindex.a
-rw-r--r-- 1 root root 236400 2010-06-09 12:58 libspatialindex_c.a
-rwxr-xr-x 1 root root 1042 2010-06-09 12:58 libspatialindex_c.la
lrwxrwxrwx 1 root root 26 2010-06-09 12:58 libspatialindex_c.so
-> libspatialindex_c.so.1.0.0
lrwxrwxrwx 1 root root 26 2010-06-09 12:58 libspatialindex_c.so.1
-> libspatialindex_c.so.1.0.0
-rwxr-xr-x 1 root root 162913 2010-06-09 12:58
libspatialindex_c.so.1.0.0
-rwxr-xr-x 1 root root 985 2010-06-09 12:58 libspatialindex.la
lrwxrwxrwx 1 root root 24 2010-06-09 12:58 libspatialindex.so ->
libspatialindex.so.1.0.0
lrwxrwxrwx 1 root root 24 2010-06-09 12:58 libspatialindex.so.1
-> libspatialindex.so.1.0.0
-rwxr-xr-x 1 root root 934342 2010-06-09 12:58
libspatialindex.so.1.0.0
I installed spatialindex-src-1.5.0.tar.gz but also have an older version
in /usr/lib
the python i am using is the one from the plone 4 installer.
Any pointers?
--
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.
}<(((*>
I have problems getting Rtree to run.
when i start up zope (with zgeo.wfs) i get the error:
---------------
...
from index import BaseIndex
File
"/home/ledermac/devel/plone4zgeo/zinstance/src/zgeo.wfs/zgeo/wfs/geocatalog/index.py", line 4, in <module>
from rtree import Rtree
File
"/home/ledermac/.buildout/eggs/Rtree-0.6.0-py2.6.egg/rtree/__init__.py",
line 8, in <module>
from index import Rtree
File
"/home/ledermac/.buildout/eggs/Rtree-0.6.0-py2.6.egg/rtree/index.py",
line 2, in <module>
import core
File
"/home/ledermac/.buildout/eggs/Rtree-0.6.0-py2.6.egg/rtree/core.py",
line 85, in <module>
rt = ctypes.CDLL(lib_name)
File
"/home/ledermac/devel/plone4zgeo/Python-2.6/lib/python2.6/ctypes/__init__.py", line 353, in __init__
self._handle = _dlopen(self._name, mode)
zope.configuration.xmlconfig.ZopeXMLConfigurationError: File
"/home/ledermac/devel/plone4zgeo/zinstance/parts/instance/etc/site.zcml", line 15.2-15.55
ZopeXMLConfigurationError: File
"/home/ledermac/devel/plone4zgeo/zinstance/parts/instance/etc/package-includes/008-zgeo.wfs-configure.zcml", line 1.0-1.52
ZopeXMLConfigurationError: File
"/home/ledermac/devel/plone4zgeo/zinstance/src/zgeo.wfs/zgeo/wfs/configure.zcml", line 9.4-13.4
OSError: libspatialindex_c.so: cannot open shared object file: No
such file or directory
-----------------------
libspatialindex_c.so is present in /usr/local/lib/
#ls -l /usr/local/lib/
total 2792
-rw-r--r-- 1 root root 1465800 2010-06-09 12:58 libspatialindex.a
-rw-r--r-- 1 root root 236400 2010-06-09 12:58 libspatialindex_c.a
-rwxr-xr-x 1 root root 1042 2010-06-09 12:58 libspatialindex_c.la
lrwxrwxrwx 1 root root 26 2010-06-09 12:58 libspatialindex_c.so
-> libspatialindex_c.so.1.0.0
lrwxrwxrwx 1 root root 26 2010-06-09 12:58 libspatialindex_c.so.1
-> libspatialindex_c.so.1.0.0
-rwxr-xr-x 1 root root 162913 2010-06-09 12:58
libspatialindex_c.so.1.0.0
-rwxr-xr-x 1 root root 985 2010-06-09 12:58 libspatialindex.la
lrwxrwxrwx 1 root root 24 2010-06-09 12:58 libspatialindex.so ->
libspatialindex.so.1.0.0
lrwxrwxrwx 1 root root 24 2010-06-09 12:58 libspatialindex.so.1
-> libspatialindex.so.1.0.0
-rwxr-xr-x 1 root root 934342 2010-06-09 12:58
libspatialindex.so.1.0.0
I installed spatialindex-src-1.5.0.tar.gz but also have an older version
in /usr/lib
the python i am using is the one from the plone 4 installer.
Any pointers?
--
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.
}<(((*>