Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Kleopatra complains about missing libKF5QGpgme.so.5
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Maro
n00b
n00b


Joined: 13 Feb 2017
Posts: 4

PostPosted: Mon Feb 13, 2017 5:13 pm    Post subject: Kleopatra complains about missing libKF5QGpgme.so.5 Reply with quote

I have had problems with kleopatra for some time now. I thought these were teething problems of the KDE 5 but it hasnt gone away

I have currently kdeapps 16.12.2, frameworks 5.29 and plasma 5.8.5

Kleopatra (16.12.2) compiles fine, but when I want to run it I get:

$ kleopatra
kleopatra: error while loading shared libraries: libKF5QGpgme.so.5: cannot open shared object file: No such file or directory

From what I have found out, the missing library is a part of kde-apps/gpgmepp
However, kde-apps/gpgmepp is conflicting with app-crypt/gpgme and several KDE5 components (including kleopatra!) depends on app-crypt/gpgme

So it doesn't seem possible to install kde-apps/gpgmepp , I don't see how I can run kleopatra. Anyone help? :)
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 6831
Location: Austria

PostPosted: Mon Feb 13, 2017 6:08 pm    Post subject: Reply with quote

kde-apps/gpgmepp is dead, long live app-crypt/gpgme. What are your use flags on app-crypt/gpgme, what version is installed?

In any case, it is a very strange error message. There is no trace of KF5Gpgmepp dependency in >=kleopatra-16.12.0, it links against libqgpgme.so.7 and libgpgmepp.so.6.
_________________
backend.cpp:92:2: warning: #warning TODO - this error message is about as useful as a cooling unit in the arctic
Back to top
View user's profile Send private message
Maro
n00b
n00b


Joined: 13 Feb 2017
Posts: 4

PostPosted: Mon Feb 13, 2017 6:59 pm    Post subject: Reply with quote

Use flags for gpgme are as follows (cxx, python, qt5):
Code:
    app-crypt/gpgme-1.8.0-r2:1::installed
    Use flags                 
        USE                   
            -common-lisp
            cxx
            python
            qt5
            -static-libs
        python_targets       
            python2_7
            python3_4
            -python3_5

I assumed gpgmepp is obsolete. So the question is: shall libKF5QGpgme.so.5 be provided by some other package (if so, bu which?) or is it a problem with kleopatra requesting the package?
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 6831
Location: Austria

PostPosted: Mon Feb 13, 2017 7:04 pm    Post subject: Reply with quote

No, that error can't come from kleopatra itself. Is your system in a sane state - no packages for @preserved-rebuild? also check revdep-rebuild?
_________________
backend.cpp:92:2: warning: #warning TODO - this error message is about as useful as a cooling unit in the arctic
Back to top
View user's profile Send private message
Maro
n00b
n00b


Joined: 13 Feb 2017
Posts: 4

PostPosted: Mon Feb 13, 2017 8:01 pm    Post subject: Reply with quote

Quote:
No, that error can't come from kleopatra itself. Is your system in a sane state

That question is bordering divination - I don't think anyone can be absolute positive about this anymore :D
But as far as I can tell there is no unusuall instability (except for nvidia drivers...)
Quote:
- no packages for @preserved-rebuild? also check revdep-rebuild?

revdep-rebuild complains only about broken android-sdk-update-manager (which I havn't been using for some time and havn't bothered to update)

Here is the list of consecutive calls to external libraries from strace if that helps in any way....:
Code:

execve("/usr/local/bin/kleopatra", ["kleopatra"], [/* 85 vars */]) = 0
...
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
...
open("/usr/lib64/libKF5Libkleo.so.5", O_RDONLY|O_CLOEXEC) = 3
...
open("/usr/lib64/libassuan.so.0", O_RDONLY|O_CLOEXEC) = 3
...
open("/usr/lib64/libgpg-error.so.0", O_RDONLY|O_CLOEXEC) = 3
...
open("/usr/lib64/libKF5QGpgme.so.5", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)

Back to top
View user's profile Send private message
Maro
n00b
n00b


Joined: 13 Feb 2017
Posts: 4

PostPosted: Mon Feb 13, 2017 8:05 pm    Post subject: Reply with quote

Ah, I see the light now. Nothing like getting the problem written down to see the error of your ways. The culprit is:
Code:

execve("/usr/local/bin/kleopatra", ["kleopatra"], [/* 85 vars */]) = 0

Apparently I have some old/irrelevant version of kleopatra in /usr/local/bin that is being executed. Its over year old.
Removing it solves the problem :oops:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum