SUMMARY *** I just upgraded from KDE 5.27.4 to KDE 5.27.5 and Kontact is now gone. The icon is still in my start menu but when I click on it nothing happens. I see in the journal log this message: [code] May 10 15:40:34 host plasmashell[2808]: kf.kio.gui: Failed to register new cgroup: "app-org.kde.kontact-ca9cd8afcc1e4256bd90d768c5cac2c0.scope" "org.freedesktop.DBus.Error.UnixProcessIdUnknown" "Process with ID 40407 does not exist." May 10 15:40:34 host plasmashell[2808]: kf.kio.gui: "<html>The command <tt></tt> could not be found.</html>" [/code] Does anyone have any idea what this means? What can I do to get my email back working again? If I try to open just the kmail app I get this unhelpful message: [code] May 10 15:42:51 host systemd[2214]: Failed to start KMail - Mail Client. [/code] Help!! *** STEPS TO REPRODUCE 1. Upgrade to KDE 5.27.5 from 5.27.4 using Discover 2. No errors, upgrade seemed to work 3. Open Kontact OBSERVED RESULT 1. Nothing happens, see error log in journal. EXPECTED RESULT 1. Kontact will open. SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: (available in About System) KDE Plasma Version: KDE Frameworks Version: Qt Version: ADDITIONAL INFORMATION
I wish to add the following information: KDE Plasma 5.27.5 KDE Framework Version 5.105.0 Qt version 5.15.9
I found another error when I try to open it in the journal: May 10 15:52:58 host plasmashell[101020]: /usr/bin/kontact: error while loading shared libraries: libKF5TextAutoCorrection.so.1: cannot open shared object file: No such file or directory Perhaps there are files missing from the upgrade? How can I fix this?
Doing a search for this library (sudo apt search libkf5textautocorrection) libkf5textautocorrection1/jammy,now 1.3.1-0xneon+22.04+jammy+release+build15 amd64 [installed,automatic] Text processing library from KDE - auto correction features libkf5textautocorrection1-dbgsym/jammy 1.3.1-0xneon+22.04+jammy+release+build15 amd64 debug symbols for libkf5textautocorrection1 however the file does not exist on the hard drive: search for "libKF5TextAutoCorrection.*" does not show me any results. This is confusing, is the file there or not?
I tried to reinstall kontact: sudo-apt-get install --reinstll Kontact. "(Reading database ... 463542 files and directories currently installed.) Preparing to unpack .../kontact_4%3a23.04.0-0xneon+22.04+jammy+release+build24_amd64.deb ... Unpacking kontact (4:23.04.0-0xneon+22.04+jammy+release+build24) over (4:23.04.0-0xneon+22.04+jammy+release+build24) ... Setting up kontact (4:23.04.0-0xneon+22.04+jammy+release+build24) ... Processing triggers for hicolor-icon-theme (0.17-2) ... Processing triggers for libc-bin (2.35-0ubuntu3.1) ... Processing triggers for mailcap (3.70+nmu1ubuntu1) ... Processing triggers for desktop-file-utils (0.26-1ubuntu3) ..." it reinstalled it sucessfully however I am still getting the same error about the missing library. It appears this Kontact is broken in this version. Email is pretty essential. Is there any way to downgrade or otherwise get access to my email?
Multiple user affected: https://forum.kde.org/posting.php?mode=reply&f=215&t=177690
Getting the same issue as the reporter and tried following their debug steps and get the same outcome. Seems like a bad build, a missing library?
(In reply to ioo+kde from comment #2) > I found another error when I try to open it in the journal: > > May 10 15:52:58 host plasmashell[101020]: /usr/bin/kontact: error while > loading shared libraries: libKF5TextAutoCorrection.so.1: cannot open shared > object file: No such file or directory > > Perhaps there are files missing from the upgrade? How can I fix this? Packaging issue
*** Bug 469596 has been marked as a duplicate of this bug. ***
(In reply to Christophe Marin from comment #7) > (In reply to ioo+kde from comment #2) > > I found another error when I try to open it in the journal: > > > > May 10 15:52:58 host plasmashell[101020]: /usr/bin/kontact: error while > > loading shared libraries: libKF5TextAutoCorrection.so.1: cannot open shared > > object file: No such file or directory > > > > Perhaps there are files missing from the upgrade? How can I fix this? > > Packaging issue How to fix it? I already tried to reinstall the library package, it installs fine but don't fix the issue. Can the missing library files be downloaded and installed manually until a fix is issued? Email is pretty essential for daily life.
As it seems, there are applications involved: $ akonadiconsole akonadiconsole: error while loading shared libraries: libKF5TextAutoCorrection.so.1: cannot open shared object file: No such file or directory $ kalendar QML debugging is enabled. Only use this in a safe environment. QQmlApplicationEngine failed to load component qrc:/main.qml:19:1: plugin cannot be loaded for module "org.kde.kalendar.mail": Cannot load library /usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kalendar/mail/libkalendar_mail_plugin.so: (libKF5TextAutoCorrection.so.1: cannot open shared object file: No such file or directory)
(In reply to ioo+kde from comment #2) > I found another error when I try to open it in the journal: > > May 10 15:52:58 host plasmashell[101020]: /usr/bin/kontact: error while > loading shared libraries: libKF5TextAutoCorrection.so.1: cannot open shared > object file: No such file or directory > > Perhaps there are files missing from the upgrade? How can I fix this? I get this one also, broke on the Neon 5.27.5
Kmail Kontact Akonadiconsole Any update would be appreciated.
$ kmail kmail: error while loading shared libraries: libKF5TextAutoCorrection.so.1: cannot open shared object file: No such file or directory
Work around whilst waiting for the fix: Search for the library on your system: find / -name libKF5TextAutoCorrection.* Using the file/path if found create a symlink in /usr/lib: cd /usr/lib ln -s /var/lib/flatpak/app/org.kde.kontact/x86_64/stable/e3fa7d3153714a5ffc8d79d08c74cdabc327ca37b5175d5bce85813bb41a5906/files/lib/libKF5TextAutoCorrection.so.1 libKF5TextAutoCorrection.so.1 and then restart Kmail and it is working for me.
(In reply to ioo+kde from comment #9) > > How to fix it? You can't do that yourself. All packages depending (directly or indirectly) on ktextaddons need to be rebuilt.
(In reply to simon from comment #14) > Work around whilst waiting for the fix: > > Search for the library on your system: > > find / -name libKF5TextAutoCorrection.* > > Using the file/path if found create a symlink in /usr/lib: > > cd /usr/lib > ln -s > /var/lib/flatpak/app/org.kde.kontact/x86_64/stable/ > e3fa7d3153714a5ffc8d79d08c74cdabc327ca37b5175d5bce85813bb41a5906/files/lib/ > libKF5TextAutoCorrection.so.1 libKF5TextAutoCorrection.so.1 > > and then restart Kmail and it is working for me. What I don't understand is why this library is found in the first place when it's there and in the library path. $ find /usr/lib -name "libKF5TextAutoCorrection*" /usr/lib/x86_64-linux-gnu/libKF5TextAutoCorrectionCore.so.1 /usr/lib/x86_64-linux-gnu/libKF5TextAutoCorrectionWidgets.so.1 /usr/lib/x86_64-linux-gnu/libKF5TextAutoCorrectionCore.so.1.3.0 /usr/lib/x86_64-linux-gnu/libKF5TextAutoCorrectionWidgets.so.1.3.0 $ sudo ldconfig -v 2>/dev/null | grep libKF5TextAutoCorrectionCore\.so\.1 libKF5TextAutoCorrectionCore.so.1 -> libKF5TextAutoCorrectionCore.so.1.3.0
Ahh, just realised, it's not there: libKF5TextAutoCorrectionCore vs. libKF5TextAutoCorrection
(In reply to simon from comment #14) > Work around whilst waiting for the fix: > > Search for the library on your system: > > find / -name libKF5TextAutoCorrection.* > > Using the file/path if found create a symlink in /usr/lib: > > cd /usr/lib > ln -s > /var/lib/flatpak/app/org.kde.kontact/x86_64/stable/ > e3fa7d3153714a5ffc8d79d08c74cdabc327ca37b5175d5bce85813bb41a5906/files/lib/ > libKF5TextAutoCorrection.so.1 libKF5TextAutoCorrection.so.1 > > and then restart Kmail and it is working for me. Doesn't work form me: sudo ln -s /usr/lib/x86_64-linux-gnu/libKF5TextAutoCorrectionCore.so.1.3.0 libKF5TextAutoCorrection.so.1 kmail kmail: symbol lookup error: /lib/x86_64-linux-gnu/libkmailprivate.so.5: undefined symbol: _ZN18TextAutoCorrection20AutoCorrectionWidget16staticMetaObjectE
(In reply to Filippo Ruggeri from comment #18) > (In reply to simon from comment #14) > > Work around whilst waiting for the fix: > > > > Search for the library on your system: > > > > find / -name libKF5TextAutoCorrection.* > > > > Using the file/path if found create a symlink in /usr/lib: > > > > cd /usr/lib > > ln -s > > /var/lib/flatpak/app/org.kde.kontact/x86_64/stable/ > > e3fa7d3153714a5ffc8d79d08c74cdabc327ca37b5175d5bce85813bb41a5906/files/lib/ > > libKF5TextAutoCorrection.so.1 libKF5TextAutoCorrection.so.1 > > > > and then restart Kmail and it is working for me. > > Doesn't work form me: > > sudo ln -s /usr/lib/x86_64-linux-gnu/libKF5TextAutoCorrectionCore.so.1.3.0 > libKF5TextAutoCorrection.so.1 > kmail > > kmail: symbol lookup error: /lib/x86_64-linux-gnu/libkmailprivate.so.5: > undefined symbol: > _ZN18TextAutoCorrection20AutoCorrectionWidget16staticMetaObjectE Fillippo - you getting the two libraries mixed up, like Geoffrey did. In my system, I am using the one WITHOUT "core" at the end.
As workaround you could downgrade the package libkf5textautocorrection1 to previous versio. Here's the command for kde neon user edition : sudo apt install libkf5textautocorrection1=1.2.0-0xneon+22.04+jammy+release+build1 It seems that we need the next KDE gear update (ktextaddons 1.3) : https://kde.org/announcements/changelogs/gear/23.04.1/
(In reply to simon from comment #19) > (In reply to Filippo Ruggeri from comment #18) > > (In reply to simon from comment #14) > > > Work around whilst waiting for the fix: > > > > > > Search for the library on your system: > > > > > > find / -name libKF5TextAutoCorrection.* > > > > > > Using the file/path if found create a symlink in /usr/lib: > > > > > > cd /usr/lib > > > ln -s > > > /var/lib/flatpak/app/org.kde.kontact/x86_64/stable/ > > > e3fa7d3153714a5ffc8d79d08c74cdabc327ca37b5175d5bce85813bb41a5906/files/lib/ > > > libKF5TextAutoCorrection.so.1 libKF5TextAutoCorrection.so.1 > > > > > > and then restart Kmail and it is working for me. > > > > Doesn't work form me: > > > > sudo ln -s /usr/lib/x86_64-linux-gnu/libKF5TextAutoCorrectionCore.so.1.3.0 > > libKF5TextAutoCorrection.so.1 > > kmail > > > > kmail: symbol lookup error: /lib/x86_64-linux-gnu/libkmailprivate.so.5: > > undefined symbol: > > _ZN18TextAutoCorrection20AutoCorrectionWidget16staticMetaObjectE > > Fillippo - you getting the two libraries mixed up, like Geoffrey did. In my > system, I am using the one WITHOUT "core" at the end. Ok, with the following steps the workaround works: 1. install Kontact from Flathub 2. cp /var/lib/flatpak/app/org.kde.kontact/x86_64/stable/e3fa7d3153714a5ffc8d79d08c74cdabc327ca37b5175d5bce85813bb41a5906/files/lib/libKF5TextAutoCorrection.so.1.2.0 /home/filippo/ 3. sudo ln -s /home/filippo/libKF5TextAutoCorrection.so.1.2.0 libKF5TextAutoCorrection.so.1 4. remove Kontact (Flathub version) Thanks!
(In reply to Filippo Ruggeri from comment #21) > (In reply to simon from comment #19) > > (In reply to Filippo Ruggeri from comment #18) > > > (In reply to simon from comment #14) > > > > Work around whilst waiting for the fix: > > > > > > > > Search for the library on your system: > > > > > > > > find / -name libKF5TextAutoCorrection.* > > > > > > > > Using the file/path if found create a symlink in /usr/lib: > > > > > > > > cd /usr/lib > > > > ln -s > > > > /var/lib/flatpak/app/org.kde.kontact/x86_64/stable/ > > > > e3fa7d3153714a5ffc8d79d08c74cdabc327ca37b5175d5bce85813bb41a5906/files/lib/ > > > > libKF5TextAutoCorrection.so.1 libKF5TextAutoCorrection.so.1 > > > > > > > > and then restart Kmail and it is working for me. > > > > > > Doesn't work form me: > > > > > > sudo ln -s /usr/lib/x86_64-linux-gnu/libKF5TextAutoCorrectionCore.so.1.3.0 > > > libKF5TextAutoCorrection.so.1 > > > kmail > > > > > > kmail: symbol lookup error: /lib/x86_64-linux-gnu/libkmailprivate.so.5: > > > undefined symbol: > > > _ZN18TextAutoCorrection20AutoCorrectionWidget16staticMetaObjectE > > > > Fillippo - you getting the two libraries mixed up, like Geoffrey did. In my > > system, I am using the one WITHOUT "core" at the end. > > Ok, with the following steps the workaround works: > > 1. install Kontact from Flathub > > 2. cp > /var/lib/flatpak/app/org.kde.kontact/x86_64/stable/ > e3fa7d3153714a5ffc8d79d08c74cdabc327ca37b5175d5bce85813bb41a5906/files/lib/ > libKF5TextAutoCorrection.so.1.2.0 /home/filippo/ > > 3. sudo ln -s /home/filippo/libKF5TextAutoCorrection.so.1.2.0 > libKF5TextAutoCorrection.so.1 > > 4. remove Kontact (Flathub version) > > Thanks! If you've got Kontact from flathub, doesn't it make more sense to run that version without bothering with the symlink?
sorry about this, rebuilding it now...
> Using the file/path if found create a symlink in /usr/lib: > > cd /usr/lib > ln -s > /var/lib/flatpak/app/org.kde.kontact/x86_64/stable/ > e3fa7d3153714a5ffc8d79d08c74cdabc327ca37b5175d5bce85813bb41a5906/files/lib/ > libKF5TextAutoCorrection.so.1 libKF5TextAutoCorrection.so.1 > > and then restart Kmail and it is working for me. This doesn't work for me. The file doesn't exist on my disk. I thought that was the issue, the library package does install from apt but the library file isn't it. This is why I asked above if it would be possible to get the file from somewhere else and link it as you mentioned. Are you saying that you do have the library file on your disk?
I just got the update and Kontact is working again. Thank you. I can also see that the original bug that I was hoping to solve still exists in the latest version: Welcome to KMail 5.23.1 (23.04.1). All akonadi resources do not come online after resuming from sleep and Kmail always shows this message: "no network connection detected, all network jobs are suspended" Using the akonadiconsole is necessary to check email. This bug has been around for a long time. https://bugs.kde.org/show_bug.cgi?id=461400
You can run the following command to work around this issue: sudo n -s /usr/lib/x86_64-linux-gnu/libKF5TextAutoCorrectionCore.so.1 /usr/lib/libKF5TextAutoCorrection.so.1 It links the library to the correct path and name.
This should now be fixed with an upgrade
(In reply to Geoffrey Clements from comment #22) > (In reply to Filippo Ruggeri from comment #21) > > (In reply to simon from comment #19) > > > (In reply to Filippo Ruggeri from comment #18) > > > > (In reply to simon from comment #14) > > > > > Work around whilst waiting for the fix: > > > > > > > > > > Search for the library on your system: > > > > > > > > > > find / -name libKF5TextAutoCorrection.* > > > > > > > > > > Using the file/path if found create a symlink in /usr/lib: > > > > > > > > > > cd /usr/lib > > > > > ln -s > > > > > /var/lib/flatpak/app/org.kde.kontact/x86_64/stable/ > > > > > e3fa7d3153714a5ffc8d79d08c74cdabc327ca37b5175d5bce85813bb41a5906/files/lib/ > > > > > libKF5TextAutoCorrection.so.1 libKF5TextAutoCorrection.so.1 > > > > > > > > > > and then restart Kmail and it is working for me. > > > > > > > > Doesn't work form me: > > > > > > > > sudo ln -s /usr/lib/x86_64-linux-gnu/libKF5TextAutoCorrectionCore.so.1.3.0 > > > > libKF5TextAutoCorrection.so.1 > > > > kmail > > > > > > > > kmail: symbol lookup error: /lib/x86_64-linux-gnu/libkmailprivate.so.5: > > > > undefined symbol: > > > > _ZN18TextAutoCorrection20AutoCorrectionWidget16staticMetaObjectE > > > > > > Fillippo - you getting the two libraries mixed up, like Geoffrey did. In my > > > system, I am using the one WITHOUT "core" at the end. > > > > Ok, with the following steps the workaround works: > > > > 1. install Kontact from Flathub > > > > 2. cp > > /var/lib/flatpak/app/org.kde.kontact/x86_64/stable/ > > e3fa7d3153714a5ffc8d79d08c74cdabc327ca37b5175d5bce85813bb41a5906/files/lib/ > > libKF5TextAutoCorrection.so.1.2.0 /home/filippo/ > > > > 3. sudo ln -s /home/filippo/libKF5TextAutoCorrection.so.1.2.0 > > libKF5TextAutoCorrection.so.1 > > > > 4. remove Kontact (Flathub version) > > > > Thanks! > > If you've got Kontact from flathub, doesn't it make more sense to run that > version without bothering with the symlink? I don't want to lose all my accounts and settings.
Thanks Jonathan - all working for me.
(In reply to simon from comment #29) > Thanks Jonathan - all working for me. Same here, many thank to Jonathon for the quick fix.
Thanx a lot; works perfect!