Bug 484149 - kmail crashes due to missing libZXing.so.3
Summary: kmail crashes due to missing libZXing.so.3
Status: RESOLVED FIXED
Alias: None
Product: neon
Classification: KDE Neon
Component: Packages User Edition (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Neon Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-21 11:09 UTC by Peter
Modified: 2024-03-21 22:23 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter 2024-03-21 11:09:07 UTC
SUMMARY
***
As of yesterday (20 March 2024) Kmail started crashing every time I tried to launch it.  Launching it from Konsole, it reported missing libZXing.so.3.   

1. Start kmail
2. 
3. 

OBSERVED RESULT
Kmail crashes, reporting libZXing.so.3

EXPECTED RESULT

kmail should start normally.  


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: KDE neon 6.0
(available in About System)
KDE Plasma Version:  6.0.2
KDE Frameworks Version:  6.0.0
Qt Version: 6.6.2

ADDITIONAL INFORMATION

The problem is fixed by installed libZXing.  Is this a new dependency?  If not, why did it disappear?   

Thanks and regards
Comment 1 AVee 2024-03-21 11:22:40 UTC
I can confirm this, I had the exact same issue this morning. It can be solved with `sudo apt install libzxing3`. So there is some depedancy missing somewhere. The full message is:
```
Cannot load part for Mail.
Could not load plugin from /usr/lib/x86_64-linux-gnu/qt6/plugins/kmailpart.so: Cannot load library /usr/lib/x86_64-linux-gnu/qt6/plugins/kmailpart.so: (libZXing.so.3: cannot open shared object file: No such file or directory)
```

(Since kmailpart.so is provided by the kmail package I guess that needs to depend on libzxing3)
Comment 2 Jaime Perea 2024-03-21 12:26:05 UTC
Same here, in my case I just copied /usr/lib/x86_64-linux-gnu/libZXing.so.3 from otehr machine, I did't notice that libzxing3 was available
Comment 3 Sebastian Kenn 2024-03-21 13:48:17 UTC
The error occurs for me too:

kmail: error while loading shared libraries: libZXing.so.3: cannot open shared object file: No such file or directory
Comment 4 Nicolas 2024-03-21 15:35:11 UTC
Installing `libzxing3` manually via apt fixes the issue
Comment 5 Ghislain Vaillant 2024-03-21 22:23:34 UTC
Fixed by latest package updates for KDE Gear 24.02.1