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
> [email protected]
> http://lists.gispython.org/mailman/listinfo/community


_______________________________________________
Community mailing list
[email protected]
http://lists.gispython.org/mailman/listinfo/community

Reply via email to