symbol lookup error in each application linking KDE4Support

David Faure faure at kde.org
Sat Jul 27 10:47:53 UTC 2013


On Wednesday 24 July 2013 12:01:07 Martin Graesslin wrote:
> Hi,
> 
> when I try to run binaries which links KDE4Support (e.g. kdeinit5) I get the
> following symbol lookup error:
> 
> [...]lib/x86_64-linux-gnu/libKDE4Support.so.5: undefined symbol:
> kde_kiosk_admin
> 
> kde_kiosk_admin is used in kstandarddirs.cpp as an extern bool. It's defined
> and exported in kdecore/kernel/kcomponentdata.cpp.

The export macro was wrong though, I fixed it to KDECORE_EXPORT
(just now, in 6118d590c7b2d50bf1881a6a379e0bcc75836a3c).

I'm not sure it fixes it, but can you try again?

If the problem is still there, check this:

$ nm -D libkdecore.so | grep kde_kiosk_admin
000000000023be40 B kde_kiosk_admin
$ objdump -t libkdecore.so | grep kde_kiosk_admin
000000000023be40 g     O .bss   0000000000000001              kde_kiosk_admin

('g' = global = exported)

-- 
David Faure, faure at kde.org, http://www.davidfaure.fr
Working on KDE, in particular KDE Frameworks 5



More information about the Kde-frameworks-devel mailing list