[Resolved] Updated transmission now it does not launch

Issues related to applications and software problems
Post Reply
warning
Posts: 2
Joined: 2016/02/17 02:09:05

[Resolved] Updated transmission now it does not launch

Post by warning » 2016/02/17 02:29:44

Hello,

I am running CentOS7.

Initially transmission was one of the first applications I installed via the application installer GUI. It ran without issue.

Since then i've followed some guides to install virtualbox, tigervncserver, and plexmediaserver. Everything has been running smoothly for about a month but tonight I decided to yum update and reboot. After a reboot transmission will not launch.

I removed it via yum and reinstalled. I've also reinstalled it via the application manager gui but each time it won't launch.

I'm new to linux but in /var/log/messages I see this error when I try to launch the application...

Code: Select all

Feb 16 21:56:04 STREAMBOX transmission-gtk.desktop: transmission-gtk: error while loading shared libraries: libnatpmp.so.1: cannot open shared object file: No such file or directory
When I do a

Code: Select all

find / | grep libnatpmp.so.1

I see the file lives in /usr/lib/plexmediaserver/libnatpmp.so.1

I've done some searching and it seems like a lot of similar error threads i've found are resolved by first locating the location of the shared library file and then creating a symlink. I'm not entirely following what is happening and I don't totally understand shared libraries and if it applies to my situation. Any help or tips on where to go from here would be appreciated.
Last edited by warning on 2016/02/20 16:42:16, edited 1 time in total.

User avatar
TrevorH
Site Admin
Posts: 32969
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Updated transmission now it does not launch

Post by TrevorH » 2016/02/17 03:55:44

Or perhaps

Code: Select all

[root@centos7 ~]# yum provides '*/libnatpmp.so.1'
Loaded plugins: changelog, langpacks, priorities, product-id, search-disabled-repos, subscription-manager, versionlock
This system is not registered with Subscription Management. You can use subscription-manager to register.
464 packages excluded due to repository priority protections
libnatpmp-20150609-1.el7.x86_64 : Library of The NAT Port Mapping Protocol (NAT-PMP)
Repo        : epel
Matched from:
Filename    : /usr/lib64/libnatpmp.so.1
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

stevemowbray
Posts: 519
Joined: 2012/06/26 14:20:47

Re: Updated transmission now it does not launch

Post by stevemowbray » 2016/02/17 11:20:52

The newer EPEL package is faulty in that it should require libnatpmp but doesn't. The solution as Trevor indicates is just to

Code: Select all

yum install libnatpmp
from EPEL.

mghe
Posts: 766
Joined: 2015/11/24 12:04:43
Location: Katowice, Poland

Re: Updated transmission now it does not launch

Post by mghe » 2016/02/17 19:08:39

yum install libnatpmp
Last edited by mghe on 2016/08/23 22:54:27, edited 1 time in total.

User avatar
avij
Retired Moderator
Posts: 3046
Joined: 2010/12/01 19:25:52
Location: Helsinki, Finland
Contact:

Re: Updated transmission now it does not launch

Post by avij » 2016/02/17 19:33:26

If "yum install libnatpmp" helps, it would be really neat if you could file a bug about this on bugzilla.redhat.com > New > Fedora > Fedora EPEL so that this would get fixed.

warning
Posts: 2
Joined: 2016/02/17 02:09:05

Re: Updated transmission now it does not launch

Post by warning » 2016/02/20 16:41:15

Thanks for the help guys. I ended up trying yum install libnatpmp on my own while I waited for the post to be approved. It did resolve the issue.

Thanks for providing support via the forum, its much appreciated. I would like to file a bug as suggested but I want to make sure I totally understand the issue first.

Was the issue that the transmission package has a bug in it which does not properly have all the prerequisites defined, so the library ends up missing after a install?

User avatar
avij
Retired Moderator
Posts: 3046
Joined: 2010/12/01 19:25:52
Location: Helsinki, Finland
Contact:

Re: [Resolved] Updated transmission now it does not launch

Post by avij » 2016/02/20 17:28:07

If the problem disappeared after you ran "yum install libnatpmp", yes, it's a problem with how transmission is packaged. If transmission requires libnatpmp, the package should specify libnatpmp as a requirement. Apparently it isn't specifed as a requirement at the moment.

Post Reply