[Community] Rtree installation errors
Sean Gillies
sean.gillies at gmail.com
Sat Sep 12 21:49:04 EEST 2009
Rtree 0.5, I presume? It seems that the released code was broken. See
also
http://lists.gispython.org/pipermail/community/2009-August/
002162.html
Please revert to 0.4.3. I'm going to propose that we pull 0.5, do a
review, more testing and then make a new release.
Sean
On Sep 12, 2009, at 3:18 PM, Ryan Miller wrote:
> 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
> Community at lists.gispython.org
> http://lists.gispython.org/mailman/listinfo/community
--
Sean Gillies
Programmer
Institute for the Study of the Ancient World
New York University
More information about the Community
mailing list