[Community] Rtree 0.5 libsidx.so import error
Nino Walker
nino at urbanmapping.com
Thu Aug 6 21:54:38 EEST 2009
Hi all,
Thanks for the new 0.5 release. I found, running for the first time on Debian/Py2.6, the new release fails to find libsidx.so; e.g.:
File "/usr/local/lib/python2.6/site-packages/Rtree-0.5.0-py2.6-linux-i686.egg/rtree/core.py", line 97, in <module>
rt = ctypes.CDLL(lib_name)
File "/usr/local/lib/python2.6/ctypes/__init__.py", line 353, in __init__
self._handle = _dlopen(self._name, mode)
OSError: libsidx.so: cannot open shared object file: No such file or directory
I solved this with the following, which is less than optimal:
export LD_LIBRARY_PATH=/usr/local/lib/python2.6/site-packages/Rtree-0.5.0-py2.6-linux-i686.egg
Thoughts?
Cheers,
Nino
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gispython.org/pipermail/community/attachments/20090806/8138d619/attachment.htm>
More information about the Community
mailing list