| Summary: | python-Rtree fails with wrong SONAME | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Philip Rowlands <phr> |
| Component: | python-Rtree | Assignee: | Volker Fröhlich <volker27> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 19 | CC: | volker27 |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | python-Rtree-0.7.0-5.fc20 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-02-17 21:04:00 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
python-Rtree-0.7.0-5.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/python-Rtree-0.7.0-5.fc20 python-Rtree-0.7.0-5.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/python-Rtree-0.7.0-5.fc19 Sorry it took so long! Package python-Rtree-0.7.0-5.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing python-Rtree-0.7.0-5.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-2195/python-Rtree-0.7.0-5.fc20 then log in and leave karma (feedback). python-Rtree-0.7.0-5.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report. python-Rtree-0.7.0-5.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report. |
Description of problem: The rtree module provided with python-Rtree fails to load, because it's trying to dlopen the wrong file. $ rpm -q python-Rtree python-Rtree-0.7.0-2.fc19.noarch $ python -c 'import rtree' Traceback (most recent call last): File "<string>", line 1, in <module> File "/usr/lib/python2.7/site-packages/rtree/__init__.py", line 1, in <module> from index import Rtree File "/usr/lib/python2.7/site-packages/rtree/index.py", line 2, in <module> import core File "/usr/lib/python2.7/site-packages/rtree/core.py", line 85, in <module> rt = ctypes.CDLL(lib_name) File "/usr/lib64/python2.7/ctypes/__init__.py", line 360, in __init__ self._handle = _dlopen(self._name, mode) OSError: libspatialindex_c.so: cannot open shared object file: No such file or directory $ readelf -d /usr/lib64/libspatialindex_c.so.3 | grep soname 0x000000000000000e (SONAME) Library soname: [libspatialindex_c.so.3] The code in rtree/core.py should open libspatialindex_c by its SONAME (or libspatialindex should change its SONAME, don't mind which).