Qt World Summit: Submit your Presentation

[SOLVED]KDE Libs on 64 bit Linux

  • Has someone run into this before?

    I just recently (yesterday) switched between 32bit Fedora & 64bit Fedora. Now when I compile my application I get

    Starting /home/bobby/Code/Qt/DBtest-build-desktop/DBtest...
    /home/bobby/Code/Qt/DBtest-build-desktop/DBTest: error while loading shared libraries: libkdeui.so.5: cannot open shared object file: No such file or directory

    However, a quick find shows libkdeui.so.5 exists in /usr/lib64/
    What part of my environment do I fix? KDE_DIR was set to /usr when this was first initiated on the new 64 install.

  • Hello,

    On my system - Kubuntu 11.04 64bit this file is in /usr/lib. Try to make a symlink.
    Also check your linking paths. It seems that /usr/lib64 is not included.

    Do you use cmake ot qmake for your project?

  • I use qmake. It's a pretty default setup from the QtCreator install.

  • Answer:

    Task_struct's comment convinced me to checkout my .pro file
    LIBS += -L/usr/lib/kde4/devel/ -lkdeui
    Needed to be
    LIBS += -L/usr/lib64/kde4/devel/ -lkdeui

    Thanks folks!

Log in to reply