Bug 480125
Summary: | hamlib-python: _Hamlib.so is installed in bad place | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Pavel Stárek (CZ) <pavel.starek> | ||||
Component: | hamlib | Assignee: | Denis Leroy <denis> | ||||
Status: | CLOSED NEXTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | low | ||||||
Version: | 10 | CC: | bob, denis, fedora, pavel.starek, randyn3lrx, sindrepb | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | i386 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | 1.2.8-3.fc10 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2009-04-06 20:32:18 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Pavel Stárek (CZ)
2009-01-15 09:35:13 UTC
Correction: Manually copying the file /usr/lib/_Hamlib.so to directory /usr/lib/python2.5/site-packages can be done Hamlib import command. Do the _Hamlib.so file need to be at both places? Can this be solved by a symlink? (In reply to comment #2) > Do the _Hamlib.so file need to be at both places? Can this be solved by a > symlink? No, not required on both places. This file should be placed only in /usr/lib/python2.5/site-packages . So, i perform some research today, and creating a symlink is now the best way how to correct this. While this is not the best solution, but for the right solution (as I think) it is necessary to carry out some research/hack of the Makefiles. I have a myself edited spec file which adds a python package postinstall and postuninstall things to create/delete symlink, and patch for original one is in attachment. Created attachment 334931 [details]
patch for hamlib spec file
This file adds post and postun oneliners for creating/removing symbolic link of _Hamlib.so file into Python's site-packages dir.
hamlib-1.2.8-3.fc10 has been submitted as an update for Fedora 10. http://admin.fedoraproject.org/updates/hamlib-1.2.8-3.fc10 hamlib-1.2.8-3.fc10 has been pushed to the Fedora 10 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update hamlib'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F10/FEDORA-2009-3239 hamlib-1.2.8-3.fc10 has been pushed to the Fedora 10 stable repository. If problems still persist, please make note of it in this bug report. |