Bug 2314764

Summary: knotes can't start with undefined symbol error
Product: [Fedora] Fedora Reporter: Cesar Alba <cesar.alba>
Component: knotesAssignee: Rex Dieter <rdieter>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 40CC: kde-sig, oron, rdieter
Target Milestone: ---Keywords: Desktop
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: knotes-24.05.2-4.fc40 knotes-24.05.2-4.fc41 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-10-26 03:12:36 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Cesar Alba 2024-09-25 20:09:34 UTC
I have a Fedora 40 up to date where knotes has worked before.

At some moment knotes stopped working. When I try to launch it manually I am getting this error.
xxx@xxx:~$ knotes
knotes: symbol lookup error: /lib64/libnotesharedprivate.so.6: undefined symbol: _ZN5KMime7Content14decodedContentEv



Reproducible: Always

Steps to Reproduce:
1. Execute "knotes"

Actual Results:  
knotes: symbol lookup error: /lib64/libnotesharedprivate.so.6: undefined symbol: _ZN5KMime7Content14decodedContentEv


Expected Results:  
Application running


The installed packages are:
# rpm -qa | grep knotes
knotes-24.05.2-1.fc40.x86_64
knotes-libs-24.05.2-1.fc40.x86_64

Comment 1 Oron Peled 2024-10-02 14:35:55 UTC
Same problem here, I tried to follow the missing symbol:
    $ nm -DC /lib64/libnotesharedprivate.so.6.1.2 | grep decodedContent
                     U KMime::Content::decodedContent()

It seems this should be provided by libkmime -- here's a proof:
    $ nm -DC /lib64/libkmime.so.4.14.38 | grep decodedContent
    0000000000053540 T KMime::Content::decodedContent()

Also, it seems that "libnotesharedprivate" pulls "libkmime" as expected:
    $ ldd /usr/bin/knotes | grep -i mime
            libKPim6Mime.so.6 => /lib64/libKPim6Mime.so.6 (0x00007f2789450000)

So it's not clear how the symbol isn't found -- maybe some library load ordering
As a debugging step, I tried to preload "libkmime":
    $ LD_PRELOAD=/lib64/libkmime.so.4.14.38 knotes 
    knotes: symbol lookup error: knotes: undefined symbol: _ZN5KMime7Headers7GenericC1EPKci

Hmmm.... another symbol missing, but maybe it's unrelated issue with "libkmime" loading and just misleading -- not sure.

Comment 2 Fedora Update System 2024-10-24 18:43:39 UTC
FEDORA-2024-ca4172fa13 (knotes-24.05.2-4.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-ca4172fa13

Comment 3 Fedora Update System 2024-10-24 18:43:40 UTC
FEDORA-2024-8ea336a7ef (knotes-24.05.2-4.fc40) has been submitted as an update to Fedora 40.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-8ea336a7ef

Comment 4 Fedora Update System 2024-10-24 22:17:04 UTC
FEDORA-2024-ca4172fa13 has been pushed to the Fedora 41 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-ca4172fa13`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-ca4172fa13

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2024-10-25 01:56:45 UTC
FEDORA-2024-8ea336a7ef has been pushed to the Fedora 40 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-8ea336a7ef`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-8ea336a7ef

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Fedora Update System 2024-10-26 03:12:36 UTC
FEDORA-2024-8ea336a7ef (knotes-24.05.2-4.fc40) has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 7 Fedora Update System 2024-11-01 03:42:39 UTC
FEDORA-2024-ca4172fa13 (knotes-24.05.2-4.fc41) has been pushed to the Fedora 41 stable repository.
If problem still persists, please make note of it in this bug report.