Bug 378130 - Okular snap package fails to find libKF5Parts.so.5
Summary: Okular snap package fails to find libKF5Parts.so.5
Status: RESOLVED UPSTREAM
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 1.0.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-27 01:08 UTC by gn.prp.gabriel
Modified: 2018-04-05 18:39 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description gn.prp.gabriel 2017-03-27 01:08:20 UTC
Recentely i installed Okular in Ubuntu 16.04 via snap using

"sudo snap install okular"

But when I try to open Okular through the icon in the menu nothing happens, so I try in the terminal and I get this message:

"okular: error while loading shared libraries: libKF5Parts.so.5: cannot open shared object file: No such file or directory"

I already installed libKF5Parts5 through

"sudo apt install libkf5parts5"

But nothing happened.

Thanks for the attention, and sorry for the not so good English.
Comment 1 Albert Astals Cid 2017-03-27 10:32:09 UTC
Your english is good :)

Harald?
Comment 2 Harald Sitter 2017-03-27 10:38:03 UTC
snapd (the daemon managing snaps) currently doesn't properly manage dependencies of shared content snaps which results in that error as the okular snap depend on the kde-frameworks-5 snap.

This should fix it:

sudo snap remove okular
sudo snap install kde-frameworks-5
sudo snap install okular

I am going to try adding a more useful error to our snap loader.