On Apr 25, 2010, at 3:04 AM, Sean Gillies wrote:

> On Sun, Apr 25, 2010 at 4:37 AM, Michael P. Soulier
> <[email protected]> wrote:
>> Hi,
>> 
>> I picked up the latest source for spatialindex and Rtree.
>> 
>> After building Rtree it fails all its tests with this error:
>> 
>> File "/home/msoulier/work/Rtree/tests/z_cleanup.txt", line 1, in 
>> z_cleanup.txt
>> Failed example:
>>    from rtree import core
>> Exception raised:
>>    Traceback (most recent call last):
>>      File "/usr/lib/python2.6/doctest.py", line 1241, in __run
>>        compileflags, 1) in test.globs
>>      File "<doctest z_cleanup.txt[0]>", line 1, in <module>
>>        from rtree import core
>>      File "/home/msoulier/work/Rtree/rtree/__init__.py", line 8, in <module>
>>        from index import Rtree
>>      File "/home/msoulier/work/Rtree/rtree/index.py", line 2, in <module>
>>        import core
>>      File "/home/msoulier/work/Rtree/rtree/core.py", line 85, 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: /home/msoulier/envs/graphserver/lib/libspatialindex_c.so:
>> undefined symbol: _ZN12CountVisitorC1Ev
>> 
>> Is, perhaps, the version of spatialindex I picked up too new?

I don't think I properly did the libtool versioning as part of the 
libspatialindex release, which may be part of the issue 

Can you issue 'c++filt _ZN12CountVisitorC1Ev' on your machine?  It's possible 
the C API is missing an implementation of some virtual related to the 
CountVisitor and your gcc/g++ is sensitive to it.

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

Reply via email to