I'm running into issues installing Rtree. I've installed spatialindex-1.4.0 on Ubuntu 9.04 and created the libraries libspatialindex.so, libspatialindex.so.1, and libspatialindex.so.1.0.0. It appears Rtree is looking for libspatialindex_c.so, therefore when i enter the line "from rtree import core" i get the following message:
... Python 2.6.2 (release26-maint, Apr 19 2009, 01:56:41) [GCC 4.3.3] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> from rtree import core Traceback (most recent call last): File "<stdin>", line 1, in <module> File "rtree/__init__.py", line 8, in <module> from index import Rtree File "rtree/index.py", line 2, in <module> import core File "rtree/core.py", line 94, in <module> rt = ctypes.CDLL(lib_name) File "/usr/lib/python2.6/ctypes/__ init__.py", line 353, in __init__ self._handle = _dlopen(self._name, mode) OSError: libspatialindex_c.so: cannot open shared object file: No such file or directory I've tried changing the libspatialindex_c.so reference in core.py to libspatialindex.so, but i then recieve an error stating: OSError: /usr/local/lib/libspatialindex.so: undefined symbol: _ZTVN10__cxxabiv121__vmi_class_type_infoE Any suggestions would be greatly appreciated. Thanks, Ryan
_______________________________________________ Community mailing list [email protected] http://lists.gispython.org/mailman/listinfo/community
