Bug 1900661
| Summary: | RuntimeError: Unable to load library libROOTPythonizations3_9 | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | nvwarr |
| Component: | root | Assignee: | Mattias Ellert <mattias.ellert> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 33 | CC: | mattias.ellert |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | root-6.22.06-1.fc32 root-6.22.06-1.fc33 root-6.22.06-1.el7 root-6.22.06-1.el8 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-11-27 12:30:33 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: | |
| Embargoed: | |||
Just noticed that /usr/share/root/lib is actually a workaround on my system for another issue. It is just a symbolic link to /usr/lib64/root. FEDORA-2020-cd261089aa has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2020-cd261089aa FEDORA-2020-026af8e98e has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-026af8e98e FEDORA-2020-026af8e98e has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-026af8e98e FEDORA-EPEL-2020-9badca21dd has been submitted as an update to Fedora EPEL 8. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2020-9badca21dd FEDORA-EPEL-2020-1022859854 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2020-1022859854 FEDORA-2020-cd261089aa has been pushed to the Fedora 33 testing repository. In short time you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-cd261089aa` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-cd261089aa See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2020-026af8e98e has been pushed to the Fedora 32 testing repository. In short time you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-026af8e98e` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-026af8e98e See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-EPEL-2020-1022859854 has been pushed to the Fedora EPEL 7 testing repository. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2020-1022859854 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-EPEL-2020-9badca21dd has been pushed to the Fedora EPEL 8 testing repository. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2020-9badca21dd See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. Yes, that fixes it. Thanks for fixing it so quickly. Great work! FEDORA-2020-cd261089aa has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2020-cd261089aa FEDORA-2020-026af8e98e has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-026af8e98e FEDORA-EPEL-2020-9badca21dd has been submitted as an update to Fedora EPEL 8. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2020-9badca21dd FEDORA-EPEL-2020-1022859854 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2020-1022859854 FEDORA-2020-026af8e98e has been pushed to the Fedora 32 testing repository. In short time you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-026af8e98e` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-026af8e98e See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-EPEL-2020-9badca21dd has been pushed to the Fedora EPEL 8 testing repository. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2020-9badca21dd See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-EPEL-2020-1022859854 has been pushed to the Fedora EPEL 7 testing repository. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2020-1022859854 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2020-cd261089aa has been pushed to the Fedora 33 testing repository. In short time you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-cd261089aa` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-cd261089aa See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2020-026af8e98e has been pushed to the Fedora 32 stable repository. If problem still persists, please make note of it in this bug report. FEDORA-2020-cd261089aa has been pushed to the Fedora 33 stable repository. If problem still persists, please make note of it in this bug report. FEDORA-EPEL-2020-1022859854 has been pushed to the Fedora EPEL 7 stable repository. If problem still persists, please make note of it in this bug report. FEDORA-EPEL-2020-9badca21dd has been pushed to the Fedora EPEL 8 stable repository. If problem still persists, please make note of it in this bug report. |
Description of problem: python3-root doesn't find the .so library libROOTPythonizations Version-Release number of selected component (if applicable): python3-root-6.22.04-1.fc33.x86_64 (from updates-testing) How reproducible: Always Steps to Reproduce: 1. Start python3 2. import ROOT 3. disp = ROOT.TPyDispatcher Actual results: Error in <TUnixSystem::FindDynamicLibrary>: libROOTPythonizations3_9[.so | .dll | .dylib | .sl | .dl | .a] does not exist in .:/usr/lib64/root::/usr/lib64 Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib64/python3.9/site-packages/ROOT/_facade.py", line 295, in TPyDispatcher load_library('libROOTPythonizations{}_{}'.format(major, minor)) File "/usr/lib64/python3.9/site-packages/cppyy/__init__.py", line 206, in load_library raise RuntimeError("Unable to load library "+name) RuntimeError: Unable to load library libROOTPythonizations3_9 Expected results: It should load /usr/lib64/python3.9/site-packages/libROOTPythonizations3_9.cpython-39-x86_64-linux-gnu.so but it is looking for the wrong filename in the wrong directory Additional info: A piece of our in-house software uses TPyDispatcher and this was broken in root 6.22/00 and 6.22/02, but, according to upstream, fixed in 6.22/04. With the first two versions I get "Failed to get attribute TPyDispatcher from ROOT". That is why I was testing the version from updates-testing. The version from updates-testing (6.22/04) almost works and I have a simple workaround to make it work completely. The remaining problem (without my workaround) is that it doesn't find the libROOTPythonizations file. Firstly, it is looking for libROOTPythonizations3_9.so not libROOTPythonizations3_9.cpython-39-x86_64-linux-gnu.so and secondly it is not looking in the right directory. The workaround is just: cd /usr/share/root/lib ; sudo ln -s /usr/lib64/python3.9/site-packages/libROOTPythonizations3_9.cpython-39-x86_64-linux-gnu.so libROOTPythonizations3_9.so and then everything works fine.