You are not logged in.

#1 2025-07-10 12:18:40

Kazar
Member
Registered: 2025-03-20
Posts: 9

Kmail shared library error libgpgme.so.11

When i try to run Kmail:

kmail: error while loading shared libraries: libgpgme.so.11: cannot open shared object file: No such file or directory

and also

sudo find / -name libgpgme.so.*

results as:

find: ‘/run/user/1000/doc’: Permission denied
find: ‘/run/user/1000/gvfs’: Permission denied
/var/lib/flatpak/runtime/org.freedesktop.Platform/x86_64/22.08/4ba47479a973c9a243112c43f8f58244af34457611e2a26bba8595d08a2b31d7/files/lib/x86_64-linux-gnu/libgpgme.so.11
/var/lib/flatpak/runtime/org.freedesktop.Platform/x86_64/22.08/4ba47479a973c9a243112c43f8f58244af34457611e2a26bba8595d08a2b31d7/files/lib/x86_64-linux-gnu/libgpgme.so.11.28.0
/var/lib/flatpak/runtime/org.kde.Platform/x86_64/5.15/063502fe2ac556df44be4084147bf4f4e2b872ecf53540c316d7cf4b66e839d9/files/lib/x86_64-linux-gnu/libgpgme.so.11
/var/lib/flatpak/runtime/org.kde.Platform/x86_64/5.15/063502fe2ac556df44be4084147bf4f4e2b872ecf53540c316d7cf4b66e839d9/files/lib/x86_64-linux-gnu/libgpgme.so.11.23.0
/var/lib/flatpak/runtime/org.freedesktop.Platform.Compat.i386/x86_64/22.08/e933fe88e87e1114ff6ed854b152d05837a39c478e195d89e760598f96638d7d/files/libgpgme.so.11
/var/lib/flatpak/runtime/org.freedesktop.Platform.Compat.i386/x86_64/22.08/e933fe88e87e1114ff6ed854b152d05837a39c478e195d89e760598f96638d7d/files/libgpgme.so.11.28.0
/usr/lib/libgpgme.so.45.0.0
/usr/lib/libgpgme.so.45

the issue persists in KOrganizer also.
My guess is that installing KDE apps through Trinity DE repos messed up some stuff.

Offline

#2 2025-07-10 12:21:18

gromit
Administrator
From: Germany
Registered: 2024-02-10
Posts: 1,525
Website

Re: Kmail shared library error libgpgme.so.11

Did you maybe install something like kmail-git at an earlier point in time from the AUR?

Offline

#3 2025-07-10 12:22:40

mithrial
Member
Registered: 2017-03-05
Posts: 150

Re: Kmail shared library error libgpgme.so.11

Kazar wrote:

My guess is that installing KDE apps through Trinity DE repos messed up some stuff.

Then undo this?

Remove the repo from pacman.conf and reinstall the packages from the official repos: pacman -Syuu

Offline

#4 2025-07-10 12:51:38

Kazar
Member
Registered: 2025-03-20
Posts: 9

Re: Kmail shared library error libgpgme.so.11

mithrial wrote:
Kazar wrote:

My guess is that installing KDE apps through Trinity DE repos messed up some stuff.

Then undo this?

Remove the repo from pacman.conf and reinstall the packages from the official repos: pacman -Syuu

I commented out the repos and when i had rebooted, the display manager was gone. After i had restarted TDM and running KMail the issue still persists.
Maybe it has  to do with libgpgme.so.11 being stored in the flatpack folder, so pacman looks at it and thinks "it is installed here, i won't reinstall/reinstall it in the same place  " but KMail looks at /var/lib/ and "we don't have lipgpgme.so.11 sad  "

gromit wrote:

Did you maybe install something like kmail-git at an earlier point in time from the AUR?

I don't think I have, I did have issues with other libraries missing when trying to run Quake and some other games though.

Offline

#5 2025-07-10 13:09:41

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,725

Re: Kmail shared library error libgpgme.so.11

Kazar wrote:
mithrial wrote:

Remove the repo from pacman.conf and reinstall the packages from the official repos: pacman -Syuu

I commented out the repos and when i had rebooted, the display manager was gone.

Do you see the discrepancy here? You only did part of what they said.

That repo doesn't have kmail, though, so where is that installed from?

Last edited by Scimmia (2025-07-10 13:13:30)

Online

#6 2025-07-10 13:12:57

Kazar
Member
Registered: 2025-03-20
Posts: 9

Re: Kmail shared library error libgpgme.so.11

Scimmia wrote:
Kazar wrote:
mithrial wrote:

Remove the repo from pacman.conf and reinstall the packages from the official repos: pacman -Syuu

I commented out the repos and when i had rebooted, the display manager was gone.

Do you see the discrepancy here? You only did part of what they said.

I also did run

pacman -Syuu

if that's what you mean.

Offline

#7 2025-07-10 13:14:14

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,725

Re: Kmail shared library error libgpgme.so.11

"reinstall the packages from the official repos" means actually listing them and reinstalling them.

But as in my edit, where is kmail installed from?

Edit: instead of making assumptions, how about we actually track down the problem? What does `type -a kmail` give you? What do you get when running lddtree (from the pax-utils package) on the first binary in the list?

Last edited by Scimmia (2025-07-10 13:19:47)

Online

#8 2025-07-10 13:38:21

Kazar
Member
Registered: 2025-03-20
Posts: 9

Re: Kmail shared library error libgpgme.so.11

Scimmia wrote:

"reinstall the packages from the official repos" means actually listing them and reinstalling them.

But as in my edit, where is kmail installed from?

Edit: instead of making assumptions, how about we actually track down the problem? What does `type -a kmail` give you? What do you get when running lddtree (from the pax-utils package) on the first binary in the list?

type -a kmail
kmail is /opt/trinity/bin/kmail
kmail is /usr/bin/kmail
kmail is /bin/kmail
lddtree /opt/trinity/bin/kmail
/opt/trinity/bin/kmail (interpreter => /lib64/ld-linux-x86-64.so.2)
    libkmailprivate.so => /opt/trinity/lib/libkmailprivate.so
        libkpgp.so.2 => /opt/trinity/lib/libkpgp.so.2
        libkpimidentities.so.1 => /opt/trinity/lib/libkpimidentities.so.1
        libmimelib.so.1 => /opt/trinity/lib/libmimelib.so.1
        libksieve.so.0 => /opt/trinity/lib/libksieve.so.0
        libtdehtml.so.14 => /opt/trinity/lib/libtdehtml.so.14
            libkjs.so.1 => /opt/trinity/lib/libkjs.so.1
                libpcre2-8.so.0 => /usr/lib/libpcre2-8.so.0
            libtdeprint.so.14 => /opt/trinity/lib/libtdeprint.so.14
                libz.so.1 => /usr/lib/libz.so.1
            libjpeg.so.8 => /usr/lib/libjpeg.so.8
        libindex.so.0 => /opt/trinity/lib/libindex.so.0
        libtdepim.so.1 => /opt/trinity/lib/libtdepim.so.1
            libtqui.so.1 => /opt/trinity/tqt3/lib/libtqui.so.1
                libuuid.so.1 => /usr/lib/libuuid.so.1
                libpq.so.5 => /usr/lib/libpq.so.5
                    libssl.so.3 => /usr/lib/libssl.so.3
                    libcrypto.so.3 => /usr/lib/libcrypto.so.3
                    libgssapi_krb5.so.2 => /usr/lib/libgssapi_krb5.so.2
                        libkrb5.so.3 => /usr/lib/libkrb5.so.3
                        libk5crypto.so.3 => /usr/lib/libk5crypto.so.3
                        libcom_err.so.2 => /usr/lib/libcom_err.so.2
                        libkrb5support.so.0 => /usr/lib/libkrb5support.so.0
                        libkeyutils.so.1 => /usr/lib/libkeyutils.so.1
                        libresolv.so.2 => /usr/lib/libresolv.so.2
                    libldap.so.2 => /usr/lib/libldap.so.2
                        liblber.so.2 => /usr/lib/liblber.so.2
                        libsasl2.so.3 => /usr/lib/libsasl2.so.3
                libmariadb.so.3 => /usr/lib/libmariadb.so.3
                libXi.so.6 => /usr/lib/libXi.so.6
                libXrender.so.1 => /usr/lib/libXrender.so.1
                libXrandr.so.2 => /usr/lib/libXrandr.so.2
                libXcursor.so.1 => /usr/lib/libXcursor.so.1
                    libXfixes.so.3 => /usr/lib/libXfixes.so.3
                libXinerama.so.1 => /usr/lib/libXinerama.so.1
                libXft.so.2 => /usr/lib/libXft.so.2
                libfreetype.so.6 => /usr/lib/libfreetype.so.6
                    libbz2.so.1.0 => /usr/lib/libbz2.so.1.0
                    libpng16.so.16 => /usr/lib/libpng16.so.16
                    libharfbuzz.so.0 => /usr/lib/libharfbuzz.so.0
                    libfreetype.so.6 => !!! circular loop !!!
                        libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0
                        libgraphite2.so.3 => /usr/lib/libgraphite2.so.3
                    libbrotlidec.so.1 => /usr/lib/libbrotlidec.so.1
                        libbrotlicommon.so.1 => /usr/lib/libbrotlicommon.so.1
                libfontconfig.so.1 => /usr/lib/libfontconfig.so.1
                    libexpat.so.1 => /usr/lib/libexpat.so.1
                libXext.so.6 => /usr/lib/libXext.so.6
                libSM.so.6 => /usr/lib/libSM.so.6
                libICE.so.6 => /usr/lib/libICE.so.6
            libtdefx.so.14 => /opt/trinity/lib/libtdefx.so.14
        libkcal.so.2 => /opt/trinity/lib/libkcal.so.2
            libical.so.3 => /usr/lib/libical.so.3
                libicuuc.so.76 => /usr/lib/libicuuc.so.76
                    libicudata.so.76 => /usr/lib/libicudata.so.76
                libicui18n.so.76 => /usr/lib/libicui18n.so.76
            libicalss.so.3 => /usr/lib/libicalss.so.3
        libkmime.so.2 => /opt/trinity/lib/libkmime.so.2
        libktnef.so.1 => /opt/trinity/lib/libktnef.so.1
        libtdeabc.so.1 => /opt/trinity/lib/libtdeabc.so.1
            libvcard.so.0 => /opt/trinity/lib/libvcard.so.0
        libtderesources.so.1 => /opt/trinity/lib/libtderesources.so.1
        libtdeimproxy.so.0 => /opt/trinity/lib/libtdeimproxy.so.0
        libkleopatra.so.1 => /opt/trinity/lib/libkleopatra.so.1
            libqgpgme.so.0 => /opt/trinity/lib/libqgpgme.so.0
            libgpgme.so.11 => None
        libgpgme++.so.0 => /opt/trinity/lib/libgpgme++.so.0
            libgpg-error.so.0 => /usr/lib/libgpg-error.so.0
        libtdeutils.so.1 => /opt/trinity/lib/libtdeutils.so.1
        libtdeparts.so.2 => /opt/trinity/lib/libtdeparts.so.2
        libtdeio.so.14 => /opt/trinity/lib/libtdeio.so.14
            libtdesu.so.14 => /opt/trinity/lib/libtdesu.so.14
            libacl.so.1 => /usr/lib/libacl.so.1
            libmagic.so.1 => /usr/lib/libmagic.so.1
                libzstd.so.1 => /usr/lib/libzstd.so.1
                liblzma.so.5 => /usr/lib/liblzma.so.5
        libtdeui.so.14 => /opt/trinity/lib/libtdeui.so.14
            libtqt.so.4 => /usr/lib/libtqt.so.4
        libtdewalletclient.so.1 => /opt/trinity/lib/libtdewalletclient.so.1
        libX11.so.6 => /usr/lib/libX11.so.6
            libxcb.so.1 => /usr/lib/libxcb.so.1
                libXau.so.6 => /usr/lib/libXau.so.6
                libXdmcp.so.6 => /usr/lib/libXdmcp.so.6
        libm.so.6 => /usr/lib/libm.so.6
    libtdecore.so.14 => /opt/trinity/lib/libtdecore.so.14
        libXcomposite.so.1 => /usr/lib/libXcomposite.so.1
        libidn.so.12 => /usr/lib/libidn.so.12
        libart_lgpl_2.so.2 => /opt/trinity/lib/libart_lgpl_2.so.2
    libDCOP.so.14 => /opt/trinity/lib/libDCOP.so.14
    libtqt-mt.so.3 => /opt/trinity/tqt3/lib/libtqt-mt.so.3
        libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0
    libstdc++.so.6 => /usr/lib/libstdc++.so.6
    libc.so.6 => /usr/lib/libc.so.6
    libgcc_s.so.1 => /usr/lib/libgcc_s.so.1

does this mean kmail installed from trinity repo is still "prioritsed" ? (since it is the first one that from type -a)

Offline

#9 2025-07-10 13:40:58

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,725

Re: Kmail shared library error libgpgme.so.11

It is, but the problem is at /opt/trinity/lib/libkleopatra.so.1. That's the library that still needs the old lib and needs to be rebuilt. See where that comes from (pacman -Qo), and if it's already up to date, report it to whoever packaged it for you.

Online

#10 2025-07-10 14:20:56

Kazar
Member
Registered: 2025-03-20
Posts: 9

Re: Kmail shared library error libgpgme.so.11

Scimmia wrote:

It is, but the problem is at /opt/trinity/lib/libkleopatra.so.1. That's the library that still needs the old lib and needs to be rebuilt. See where that comes from (pacman -Qo), and if it's already up to date, report it to whoever packaged it for you.

i can run it just fine from /bin/kmail
how can i set the priority that comes out from type -a, so i can use it until the maintainer updates his?

Offline

#11 2025-07-10 14:57:55

mithrial
Member
Registered: 2017-03-05
Posts: 150

Re: Kmail shared library error libgpgme.so.11

You should uninstall the package from the offending repo and install from the official repos.

Offline

Board footer

Powered by FluxBB