Fixed by hobu this morning, I think. On Aug 7, 2009, at 12:05 AM, Brent Pedersen wrote:
> hi sean. if i only take the changes to rtree/core.py it works. if i > also svn up the setup.py and __init__.py changes, the tests run, but > importing gives: > > OSError: /usr/local/lib/python2.6/dist-packages/Rtree-0.5.0- > py2.6.egg/libsidx.so: > cannot open shared object file: No such file or directory > > because the .so is never copied to the .egg folder. > > -b > > > On Thu, Aug 6, 2009 at 2:44 PM, Sean Gillies<sean.gill...@gmail.com> > wrote: >> Changes in r1383 let me run the tests on OS X. Anybody want to >> confirm >> that we have a fix? >> >> 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@lists.gispython.org >>> http://lists.gispython.org/mailman/listinfo/community >> >> >> _______________________________________________ >> Community mailing list >> Community@lists.gispython.org >> http://lists.gispython.org/mailman/listinfo/community >> > _______________________________________________ > Community mailing list > Community@lists.gispython.org > http://lists.gispython.org/mailman/listinfo/community -- Sean Gillies Programmer Institute for the Study of the Ancient World New York University _______________________________________________ Community mailing list Community@lists.gispython.org http://lists.gispython.org/mailman/listinfo/community