Bug 327897 - kdepim-runtime 4.12 lets plasma-desktop 4.11 crash: symbol lookup error: akonadi_serializer_kcalcore.so
Summary: kdepim-runtime 4.12 lets plasma-desktop 4.11 crash: symbol lookup error: akon...
Status: RESOLVED NOT A BUG
Alias: None
Product: kdepim
Classification: Applications
Component: libkdepim (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Sergio Martins
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-21 13:34 UTC by Torsten Grote
Modified: 2013-12-30 22:03 UTC (History)
3 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 Torsten Grote 2013-11-21 13:34:54 UTC
I'm using Debian sid which ships plasma-desktop 4.11 and when I try to run it with kdepim-runtime 4.12 installed from source, plasma-desktop crashes with the following notice:

plasma-desktop: symbol lookup error: /opt/kde/lib/kde4/akonadi_serializer_kcalcore.so: undefined symbol: _ZN8KCalCore13IncidenceBase28magicSerializationIdentifierEv

Shouldn't these versions normally be binary compatible?

Reproducible: Always
Comment 1 Christophe Marin 2013-12-10 22:59:01 UTC
(In reply to comment #0)
> plasma-desktop: symbol lookup error:
> /opt/kde/lib/kde4/akonadi_serializer_kcalcore.so: undefined symbol:
> _ZN8KCalCore13IncidenceBase28magicSerializationIdentifierEv
> 
> Shouldn't these versions normally be binary compatible?
> 

No, only kdepimlibs has BC guarantee. kdepim and kdepim-runtime don't have such rules
Comment 2 Christian Mollekopf 2013-12-11 10:30:04 UTC
Since plasma can only access kdepimlibs API this should nevertheless work I think.
If kdepimlibs and kdepim-runtime are 4.12 this should work together with plasma-desktop 4.11.
I'm no sure what the issue is though, Sergio, you introduced the magicSerializationIdentifier, any ideas?
Comment 3 Sergio Martins 2013-12-11 10:59:11 UTC
What's happening is that he probably has kdepimlibs 4.11.

Can you confirm Torsten ?

kdepim-runtime 4.12 needs kdepimlibs 4.12
Comment 4 Sergio Martins 2013-12-11 11:01:31 UTC
And paste the output of:

$ nm -D libkcalcore.so | grep magic
0000000000071220 T _ZN8KCalCore13IncidenceBase28magicSerializationIdentifierEv
Comment 5 Torsten Grote 2013-12-11 12:34:32 UTC
Hi Sergio, thanks for getting involved.

I ran the latest KDE/4.12 branch of everything, including kdepimlibs. Now I downgraded to 4.11 for everything and the problem is gone. But at home, I still run 4.12, so I'll let you know the output of the command later.
Comment 6 Torsten Grote 2013-12-11 23:54:16 UTC
$ nm -D libkcalcore.so | grep magic
0000000000073880 T _ZN8KCalCore13IncidenceBase28magicSerializationIdentifierEv
Comment 7 Sergio Martins 2013-12-12 10:52:35 UTC
Seems correct.

Maybe it's picking up another version of kdepimlibs you have installed on your system ? Check your symlinks
Comment 8 Torsten Grote 2013-12-16 18:32:40 UTC
Hmm plasma-desktop says

symbol lookup error: /opt/kde/lib/kde4/akonadi_serializer_kcalcore.so: undefined symbol: _ZN8KCalCore13IncidenceBase28magicSerializationIdentifierEv

and `nm -D /opt/kde/lib/kde4/akonadi_serializer_kcalcore.so | grep magic` returns:

                U _ZN8KCalCore13IncidenceBase28magicSerializationIdentifierEv

There's no other kdepimlibs installed.
Comment 9 Sergio Martins 2013-12-16 18:36:08 UTC
What's the output of: ldd akonadi_serializer_kcalcore.so | grep  kcal
Comment 10 Torsten Grote 2013-12-16 18:54:39 UTC
$ ldd /opt/kde/lib/kde4/akonadi_serializer_kcalcore.so  | grep  kcal
        libkcalutils.so.4 => /opt/kde/lib/libkcalutils.so.4 (0x00007f2555123000)
        libkcalcore.so.4 => /opt/kde/lib/libkcalcore.so.4 (0x00007f2554e57000)
Comment 11 Torsten Grote 2013-12-16 19:24:35 UTC
Oh which are symlinks:
/opt/kde/lib/libkcalutils.so.4 -> libkcalutils.so.4.11.3
/opt/kde/lib/libkcalcore.so.4 -> libkcalcore.so.4.11.3
Comment 12 Christoph Feck 2013-12-28 14:40:53 UTC
Doesn't comment #11 mean this bug report is invalid?
Comment 13 Sergio Martins 2013-12-30 15:57:12 UTC
Closing as invalid, since kdepim-runtime 4.12 needs kdepimlibs 4.12
Comment 14 Torsten Grote 2013-12-30 22:03:19 UTC
Alright, but why does make installing HEAD of kdepimlibs from branch KDE/4.12 result in these symlinks to 4.11 files? I tried it several times and always get back those symlinks.