Description of problem: $ transmission-gtk transmission-gtk: error while loading shared libraries: libnatpmp.so.1: Version-Release number of selected component (if applicable): $ rpm -q transmission-gtk transmission-gtk-2.90-1.fc23.x86_64 How reproducible: run transmission-gtk Steps to Reproduce: 1. dnf install transmission-gtk 2. run transmission-gtk 3. Actual results: transmission-gtk did not start Expected results: Additional info: # workaround dnf install libnatpmp
*** Bug 1376647 has been marked as a duplicate of this bug. ***
This message is a reminder that Fedora 23 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 23. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '23'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 23 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete.
Exactly the same problem on a freshly installed Fedora 25 Workstation: [user@f25-desktop Downloads]$ cat /etc/fedora-release Fedora release 25 (Twenty Five) [user@f25-desktop Downloads]$ transmission-gtk transmission-gtk: error while loading shared libraries: libnatpmp.so.1: cannot open shared object file: No such file or directory [user@f25-desktop Downloads]$ transmission-show transmission-show: error while loading shared libraries: libnatpmp.so.1: cannot open shared object file: No such file or directory [user@f25-desktop Downloads]$ sudo dnf provides libnatpmp.so.1 Last metadata expiration check: 0:51:14 ago on Sun Nov 27 10:10:33 2016. libnatpmp-20150609-2.fc24.i686 : Library of The NAT Port Mapping Protocol (NAT-PMP) Repo : fedora Why not just "Requires: libnatpmp" in transmission-common?
Is this on a freshly installed system? I upgrade from F24 and when I try to install transmission via dnf, it does correctly pull in libnatpmp. It shouldn't need to be added to the spec file.
On a freshly installed F25 x86_64 Workstation, I used dnf to install transmission-gtk (and therefore transmission-common), and libnatpmp was not installed. As another test, I removed all transmission packages as well as libnatpmp, and asked dnf to install it again: $ sudo dnf install transmission-gtk Last metadata expiration check: 1:35:00 ago on Sun Nov 27 10:10:33 2016. Dependencies resolved. ============================================================================================================================ Package Arch Version Repository Size ============================================================================================================================ Installing: transmission-common x86_64 2.92-1.fc25 fedora 782 k transmission-gtk x86_64 2.92-1.fc25 fedora 828 k Transaction Summary ============================================================================================================================ Install 2 Packages Total download size: 1.6 M Installed size: 6.1 M Is this ok [y/N]: y Still broken. Removed all three packages again, then: $ sudo rpm -q --whatprovides libnatpmp.so.1 no package provides libnatpmp.so.1 $ sudo dnf provides libnatpmp.so.1 Last metadata expiration check: 1:37:11 ago on Sun Nov 27 10:10:33 2016. libnatpmp-20150609-2.fc24.i686 : Library of The NAT Port Mapping Protocol (NAT-PMP) Repo : fedora $ sudo dnf download transmission-common $ sudo rpm -ivh transmission-common-2.92-1.fc25.x86_64.rpm Preparing... ################################# [100%] Updating / installing... 1:transmission-common-2.92-1.fc25 ################################# [100%] $ transmission-show transmission-show: error while loading shared libraries: libnatpmp.so.1: cannot open shared object file: No such file or directory It appears that neither dnf nor rpm know that libnatpmp is a dependency, and don't bother installing it.
Very weird: [asinha@ankur ~]$ sudo dnf install transmission-gtk [sudo] password for asinha: Last metadata expiration check: 0:04:39 ago on Sun Nov 27 20:31:26 2016. Dependencies resolved. ========================================================================================================================================================================= Package Arch Version Repository Size ========================================================================================================================================================================= Installing: libnatpmp x86_64 20150609-2.fc24 fedora 19 k transmission-common x86_64 2.92-1.fc25 fedora 782 k transmission-gtk x86_64 2.92-1.fc25 fedora 828 k Transaction Summary ========================================================================================================================================================================= Install 3 Packages Total download size: 1.6 M Installed size: 6.1 M Is this ok [y/N]: [asinha@ankur ~]$ sudo dnf repoquery --requires transmission-gtk | grep libnatpmp Failed to synchronize cache for repo 'Dropbox', disabling. libnatpmp.so.1()(64bit)
Can you please try these commands and see if you get similar results? [asinha@ankur ~]$ rpm -q transmission-gtk transmission-gtk-2.92-1.fc25.x86_64 [asinha@ankur ~]$ rpm -q transmission-gtk --requires | grep pmp libnatpmp.so.1()(64bit) and this - with rpm, you need to give the entire path: [asinha@ankur ~]$ rpm -q --whatprovides /usr/lib64/libnatpmp.so.1 libnatpmp-20150609-2.fc24.x86_64 I don't think it's an issue with the package, somehow. I'll set up a new F25 VM tomorrow and try to replicate the issue.
Here you go: $ rpm -q transmission-gtk transmission-gtk-2.92-1.fc25.x86_64 $ rpm -q transmission-gtk --requires | grep pmp libnatpmp.so.1()(64bit) $ rpm -q --whatprovides /usr/lib64/libnatpmp.so.1 libnatpmp-20150609-2.fc24.x86_64 All the same packages as you have. Strange... why do both rpm and dnf refuse to see the need to have or install libnatpmp?
Is this still reproducible? If so, please reassign to dnf.
On a fresh Fedora 25, I'd say LGTM: [bharrington@leviathan Downloads]$ sudo dnf install transmission-gtk Last metadata expiration check: 1:56:12 ago on Wed Mar 15 10:04:26 2017. Dependencies resolved. ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: libnatpmp x86_64 20150609-2.fc24 fedora 19 k transmission-common x86_64 2.92-1.fc25 fedora 782 k transmission-gtk x86_64 2.92-1.fc25 fedora 828 k Transaction Summary ================================================================================ Install 3 Packages Total download size: 1.6 M Installed size: 6.1 M Is this ok [y/N]: n Operation aborted. [bharrington@leviathan Downloads]$ sudo dnf install transmission-daemon Last metadata expiration check: 1:56:17 ago on Wed Mar 15 10:04:26 2017. Dependencies resolved. ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: libnatpmp x86_64 20150609-2.fc24 fedora 19 k transmission-common x86_64 2.92-1.fc25 fedora 782 k transmission-daemon x86_64 2.92-1.fc25 fedora 277 k Transaction Summary ================================================================================ Install 3 Packages Total download size: 1.1 M Installed size: 3.6 M Is this ok [y/N]: n Operation aborted.
Excellent!