This forum has been archived. All content is frozen. Please use KDE Discuss instead.

kstartupconfig4 does not exist of fails on login

Tags: None
(comma "," separated)
radioboy
Registered Member
Posts
8
Karma
0
OS
I made a fresh install of Linux Mint 8 (Helena) x64 with Gnome, all working fine.

I installed via Synaptic all the necessary packages for KDE making use of a metapackage (KDE-standard).
I'm using the kernel linux-generic 2.6.31.14.27, xorg 1:7.4. The KDE available version is 4.3.2.
All this shows no problems during install.

When trying to log in (with gdm), I get the message "kstartupconfig4 does not exist of fails. The error code is 127." in a small X window,
then I'm thrown back to the login dialog.

And I think this is relevant: if I try to run KDE applications in Gnome from the console, I get, for example:
kate: symbol lookup error: /usr/lib/libQt3Support.so.4: undefined symbol: _ZN14QObjectPrivate15checkWindowRoleEv
dolphin: symbol lookup error: /usr/lib/libQtDBus.so.4: undefined symbol: _ZN14QObjectPrivate15checkWindowRoleEv
amarok: symbol lookup error: /usr/lib/libQtOpenGL.so.4: undefined symbol: _ZN14QWidgetPrivate15checkWindowRoleEv

Trying to compile an application for kde, rkward, (which I tried to use by installing from the repository, but I also got a symbol lookup error). I get:
CMake Error at /usr/share/cmake-2.6/Modules/FindKDE4.cmake:84 (MESSAGE):
ERROR: cmake/modules/FindKDE4Internal.cmake not found in
Call Stack (most recent call first):
CMakeLists.txt:10 (FIND_PACKAGE)

I've found as solutions:
1) applying the ownership of my user .kde folder to myself using
sudo chown -R username:username /home/username/.kde
or
sudo chown -R username.username /home/username/.kde

2) deleting/moving .kde and try to log in again.

None of them worked. I've been looking for more solutions, but I've found nothing yet.
I also tried reinstalling all the KDE packages. Synaptic doesn't show KDE packages in "missing recommends".
Finally, I also fixed broken packages from synaptic, and everything is fine.
What else can I do? Thanks!
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Your Qt4 packages appear to have a different version to that used to compile KDE. In this case it is older. Please check that the /usr/lib/libQtCore.so.4 points to the latest libQtCore.so library ( eg: libQtCore.so.4.6.0 )


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
radioboy
Registered Member
Posts
8
Karma
0
OS
Thanks.
Indeed it seems to be a conflict of several Qt libraries installed by different programs. I installed some before KDE:

Code: Select all
david@hadron2 ~/Downloads/Digital Universe $ ./milkyway.sh
./partiview: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory


david@hadron2 ~/Downloads/Digital Universe $ find /usr/lib -name "libstd*"
/usr/lib/gcc/x86_64-linux-gnu/4.4/libstdc++.a
/usr/lib/gcc/x86_64-linux-gnu/4.4/libstdc++.so
/usr/lib/libstdc++.so.6.0.13
/usr/lib/libstdc++.so.6

david@hadron2 ~/Downloads/Digital Universe $ ldd /usr/lib/libstdc++.so.6
   linux-vdso.so.1 =>  (0x00007ffff50bf000)
   libm.so.6 => /lib/libm.so.6 (0x00007fc64a119000)
   libc.so.6 => /lib/libc.so.6 (0x00007fc649daa000)
   /lib64/ld-linux-x86-64.so.2 (0x00007fc64a6d9000)
   libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00007fc649b92000)

david@hadron2 ~/Downloads/Digital Universe $ ldd /usr/lib/libstdc++.so.6.0.13
   linux-vdso.so.1 =>  (0x00007fff3fdff000)
   libm.so.6 => /lib/libm.so.6 (0x00007f411142f000)
   libc.so.6 => /lib/libc.so.6 (0x00007f41110c0000)
   /lib64/ld-linux-x86-64.so.2 (0x00007f41119ef000)
   libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00007f4110ea8000)


david@hadron2 ~/Downloads/Digital Universe $ dolphin
dolphin: symbol lookup error: /usr/lib/libQtDBus.so.4: undefined symbol: _ZN14QObjectPrivate15checkWindowRoleEv
david@hadron2 ~/Downloads/Digital Universe $ find /usr/lib -name "libQtDBus*"
/usr/lib/libQtDBus.so.4.5.2
/usr/lib/libQtDBus.prl
/usr/lib/libQtDBus.so
/usr/lib/libQtDBus.so.4
/usr/lib/libQtDBus.so.4.5

david@hadron2 ~ $ ldd /usr/lib/libQtDBus.so.4
   linux-vdso.so.1 =>  (0x00007fff3e762000)
   libQtXml.so.4 => /usr/lib/libQtXml.so.4 (0x00007fdb11a7f000)
   libQtCore.so.4 => /usr/lib/libQtCore.so.4 (0x00007fdb1163b000)
   libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007fdb1132a000)
   libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00007fdb11113000)
   libc.so.6 => /lib/libc.so.6 (0x00007fdb10da4000)
   libz.so.1 => /lib/libz.so.1 (0x00007fdb10b8c000)
   libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0x00007fdb10987000)
   librt.so.1 => /lib/librt.so.1 (0x00007fdb1077f000)
   libglib-2.0.so.0 => /lib/libglib-2.0.so.0 (0x00007fdb104b7000)
   libpthread.so.0 => /lib/libpthread.so.0 (0x00007fdb1029b000)
   libdl.so.2 => /lib/libdl.so.2 (0x00007fdb10097000)
   libm.so.6 => /lib/libm.so.6 (0x00007fdb0fe12000)
   /lib64/ld-linux-x86-64.so.2 (0x00007fdb11f64000)
   libpcre.so.3 => /lib/libpcre.so.3 (0x00007fdb0fbe4000)


Moreover,
Code: Select all
david@hadron2 ~ $ kstartupconfig4
kdostartupconfig4: symbol lookup error: /usr/lib/libQtDBus.so.4: undefined symbol: _ZN14QObjectPrivate15checkWindowRoleEv

david@hadron2 ~ $ find /usr/lib -name "libQtDBus*"
/usr/lib/libQtDBus.so.4.5.2
/usr/lib/libQtDBus.prl
/usr/lib/libQtDBus.so
/usr/lib/libQtDBus.so.4
/usr/lib/libQtDBus.so.4.5

david@hadron2 ~ $ ldd /usr/lib/libQtDBus.so.4
   linux-vdso.so.1 =>  (0x00007fff3e762000)
   libQtXml.so.4 => /usr/lib/libQtXml.so.4 (0x00007fdb11a7f000)
   libQtCore.so.4 => /usr/lib/libQtCore.so.4 (0x00007fdb1163b000)
   libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007fdb1132a000)
   libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00007fdb11113000)
   libc.so.6 => /lib/libc.so.6 (0x00007fdb10da4000)
   libz.so.1 => /lib/libz.so.1 (0x00007fdb10b8c000)
   libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0x00007fdb10987000)
   librt.so.1 => /lib/librt.so.1 (0x00007fdb1077f000)
   libglib-2.0.so.0 => /lib/libglib-2.0.so.0 (0x00007fdb104b7000)
   libpthread.so.0 => /lib/libpthread.so.0 (0x00007fdb1029b000)
   libdl.so.2 => /lib/libdl.so.2 (0x00007fdb10097000)
   libm.so.6 => /lib/libm.so.6 (0x00007fdb0fe12000)
   /lib64/ld-linux-x86-64.so.2 (0x00007fdb11f64000)
   libpcre.so.3 => /lib/libpcre.so.3 (0x00007fdb0fbe4000)



So maybe I should uninstall all programs using Qt libraries, delete any remaining Qt libraries, install KDE and then reinstall the other programs?

If this sounds ok, when I install the other programs, if they need older versions of Qt libraries, wouldn't they break the system for future KDE updates? This is where I don't understand things very well.
(Conversely, when I used Opensuse 11.1, having a working KDE desktop, a certain new Qt update broke my installations of Eric IDE and the Spyder IDE.)

Thanks a lot.
radioboy
Registered Member
Posts
8
Karma
0
OS
Ok, I did exactly what I said, given your suggestions.
Of course you know what to do, but I'll leave the details for someone else who could have the same problems.
I uninstalled all the KDE and Qt packages (which got rid from other programs that only require a few Qt libraries) and deleted my .kde folder.
Then I rebooted and installed KDE from scratch, selecting exclusively those packages from the current release (4.3.2 in this case), no exceptions.
I left gdm as my login manager just in case it didn't work again and rebooted (maybe not necessary).
And now I'm posting from a KDE session!
I also installed those programs that I had to let go, and they work ok!

Thanks a lot!


Bookmarks



Who is online

Registered users: Bing [Bot], claydoh, Google [Bot], rblackwell, Yahoo [Bot]