Ticket #3507 (new bug)
built-in spatialindex conflicts with external libspatialindex
| Reported by: | rustychris | Owned by: | borysiasty |
|---|---|---|---|
| Priority: | major: does not work as expected | Milestone: | Version 1.7.0 |
| Component: | Python plugins and bindings | Version: | 1.6.0 |
| Keywords: | spatialindex | Cc: | |
| Platform Version: | Kubuntu 10.10 | Platform: | Debian |
| Must Fix for Release: | No | Awaiting user input: | no |
Description
libspatialindex is used by the python rtree module, but when this module is loaded from within a QGIS python plugin, the symbols from the builtin copy of spatialindex collide and render the python rtree module inoperable.
How to reproduce: install the rtree python module. Start QGIS and open a python console:
>>> import rtree >>> p = rtree.index.Property() >>> p.set_storage(0) True >>> p.get_storage() 1 >>>
Stepping through in gdb shows that libspatialindex.so:Tools::PropertySet::getProperty is shadowed by a function of the same name in libqgis_core.so.
Change History
Note: See
TracTickets for help on using
tickets.