[Community] Rtree 0.5 libsidx.so import error
Sean Gillies
sean.gillies at gmail.com
Thu Aug 6 23:27:09 EEST 2009
Hi Nino,
Confirmed. Your workaround is pretty much what we do for Shapely on
win32. I'll do something like this for Rtree, get a fix out this
weekend, and we'll work on getting libsidx installed in a more
standard way in a future release.
Sean
On Aug 6, 2009, at 8:54 PM, Nino Walker wrote:
> 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
> _______________________________________________
> Community mailing list
> Community at lists.gispython.org
> http://lists.gispython.org/mailman/listinfo/community
More information about the Community
mailing list