Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 14
I was installing some RPMs that would let me have support for the Karamba RPMs. After installing about 30-40 different ones, I finally finished with "kdelibs-3.1-7.i386.rpm" and "kdelibs-devel-3.1-7.i386.rpm" in the ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Ed
    Ed is offline
    Just Joined!
    Join Date
    Jan 2003
    Location
    Texas
    Posts
    59

    KDEinit won't work!


    I was installing some RPMs that would let me have support for the Karamba RPMs. After installing about 30-40 different ones, I finally finished with "kdelibs-3.1-7.i386.rpm" and "kdelibs-devel-3.1-7.i386.rpm" in the same command. I then tried to go to the site that had the Karamba RPMs on it and Konqueror gave me some weird error...I don't remember what it was, but it basically wouldn't load the page. I thought I might need to log out and then log in again, since the RPMs might be conflicting with something and just need to be reset. I did so, but when I tried to log back in it said that KDEinit wouldn't start, and KSMserver wouldn't either. What am I supposed to do?

    Gnome is working perfectly, and the only noticeable differences in my GUI are better shading on things like the login screen, and the options of Reboot and Shut Down next to each other instead of grouped. I need to fix KDE though!

    EDIT: I thought of something: I was never actually able to install Karamba because I didn't get the RPMs for it. I'm still in Gnome, but I went onto the site, got it, and tried to install. It said "checking" on a lot of things, then said:

    error: Qt (>= Qt 3.0) (library qt-mt) not found. Please check your installation!
    For more details about this problem, look at the end of config.log.
    Make sure that you have compiled Qt with thread support!

    I looked at the end of it, but it makes no sense whatsoever. This is the site for it: http://www.efd.lth.se/~d98hk/karamba/

  2. #2
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    This is why you should install things from source... Anyway, done is done and it needs to be fixed.

    When do you get that error you mentioned (Qt (>= Qt 3.0)...)? Is it when you try to install Karamba? What errors do you get when you try to start KDE applications?

  3. #3
    Ed
    Ed is offline
    Just Joined!
    Join Date
    Jan 2003
    Location
    Texas
    Posts
    59
    Yes, that error is when I try to install the Karamba RPM. I don't get any errors when clicking on the icons for KDE programs...nothing happens at all. It acts like I haven't even tried to open them. I have found a few new things. In the error log, it says this about trying to start KDE:

    kdeinit: relocation error: /usr/lib/libkdefx.so.4: undefined symbol: _ZNK7QObject9classNameEv
    ksplash: relocation error: /usr/lib/libkdefx.so.4: undefined symbol: _ZN14QPtrCollection7newItemEPv
    ksmserver: relocation error: /usr/lib/libkdefx.so.4: undefined symbol: _ZN14QPtrCollection7newItemEPv

    I looked at the contents of libkdefx.so.4, and it had the files kdelibs-3.1-7.i386.rpm and kdelibs-devel-3.1-7.i386.rpm were both inside, which were the last things I updated. I figured they must be the problem, so I installed kdelibs-3.1-10.i386.rpm and kdelibs-devel-3.1-10.i386.rpm over them to try and fix it. That still didn't help. I then thought about it saying "relocation error", and thought that perhaps the directories for kdeinit, ksplash, and ksmserver changed from RedHat 8 to RedHat9. I found the RedHat 8 RPMs, kdelibs-3.0.3-8.i386.rpm and kdelibs-devel-3.0.3-8.i386.rpm, and tried to install them. The result:

    [root@Linux ed]# rpm -Uvh /home/ed/Files/kdelibs-3.0.3-8.i386.rpm /home/ed/Files/kdelibs-devel-3.0.3-8.i386.rpm
    Preparing... ########################################### [100%]
    package kdelibs-3.1-10 (which is newer than kdelibs-3.0.3- is already installed
    package kdelibs-devel-3.1-10 (which is newer than kdelibs-devel-3.0.3- is already installed
    [root@Linux ed]#

    Is there a command that would allow me to put these older RPMs in place of those new, potentially-the-problem, RPMs?

    Edit: I just figured out that when trying to start a KDE application in the Terminal also gives the same error as kdeinit/ksplash/ksmserver. Looks like all of KDE is screwed up.

    Edit2: I'm actually considering putting in my Red Hat 8 CDs, going to Upgrade, and then only installing the packages related to KDE in order to fix it.

  4. #4
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    I just figured out that when trying to start a KDE application in the Terminal also gives the same error as kdeinit/ksplash/ksmserver.
    Yeah, that's what I meant with what errors they give you.

    Anyway, those relocation errors are very, very bad. They indicate that the new libs were binary incompatible with the old ones, ie. the symbol names have changed. So basically, you have two options: 1. Upgrade all KDE programs or 2. Downgrade your KDE libs.
    I think you'd prefer the latter solution. To do that, specify --oldpackage to the rpm command, to allow it to downgrade packages.

    EDIT

    I just realized that this was my 2000th post! Maybe I spend too much time here?

  5. #5
    Ed
    Ed is offline
    Just Joined!
    Join Date
    Jan 2003
    Location
    Texas
    Posts
    59
    I did it the way you said, but something is still wrong. I installed kdelibs-3.0.3-8.3.i386.rpm over the newer one, and tried the commands again:

    kdeinit: relocation error: /usr/lib/libkdecore.so.4: undefined symbol: _ZN7QObject5eventEP6QEvent
    [root@Linux ed]# ksmserver
    ksmserver: relocation error: /usr/lib/libkdefx.so.4: undefined symbol: _ZN14QPtrCollection7newItemEPv
    [root@Linux ed]# ksplash
    ksplash: relocation error: /usr/lib/libkdefx.so.4: undefined symbol: _ZN14QPtrCollection7newItemEPv

    I looked at both libkdecore.so.4 and libkdefx.so.4, but they both refer me back to kdelibs-3.0.3-8.3.i386, which I just installed. What am I supposed to download to fix those files?

  6. #6
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    If that didn't do it, I'm not really sure... it should have done it. Could you give me the output of "nm /usr/lib/libkdecore.so.4 | grep QPtrCollection"?

  7. #7
    Linux Enthusiast
    Join Date
    Jun 2002
    Location
    San Antonio
    Posts
    621
    or how about the output of `rpm -qa | grep kde` `rpm -qa | grep qt`
    I respectfully decline the invitation to join your delusion.

  8. #8
    Ed
    Ed is offline
    Just Joined!
    Join Date
    Jan 2003
    Location
    Texas
    Posts
    59
    [root@Linux ed]# nm /usr/lib/libkdecore.so.4 | grep QPtrCollection
    U _ZN14QPtrCollection7newItemEPv
    [root@Linux ed]# rpm -qa | grep kde``rpm -qa | grep qt
    [root@Linux ed]#

    The first one makes no sense...and the second one waited for a while, then did nothing. I'm probably going to have to leave for the next few days...I have an idiotic project I have to do for school. That should give you some time to try and figure it out. =\

  9. #9
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    You were supposed to run first rpm -qa | grep kde, then rpm -qa | grep qt.
    And, sorry, I meant for you to run "nm /usr/lib/libkdefx.so.4 | grep QPtrCollection". My fault.

  10. #10
    Ed
    Ed is offline
    Just Joined!
    Join Date
    Jan 2003
    Location
    Texas
    Posts
    59
    [root@Linux ed]# nm /usr/lib/libkdefx.so.4 | grep QPtrCollection
    U _ZN14QPtrCollection7newItemEPv

    [root@Linux ed]# rpm -qa | grep kde
    kdepasswd-3.0.3-3
    kdebindings-devel-3.0.3-1
    kdepim-pilot-3.0.3-3
    kdemultimedia-devel-3.0.3-4
    kde-i18n-Brazil-3.0.3-2
    kde-i18n-Estonian-3.0.3-2
    kde-i18n-Italian-3.0.3-2
    kde-i18n-Norwegian-3.0.3-2
    kde-i18n-Slovenian-3.0.3-2
    kdeartwork-locolor-3.0.3-3
    kdeaddons-knewsticker-3.0.3-1
    kdesdk-kmtrace-3.0.3-2
    kdebindings-kdec-3.0.3-1
    kdeartwork-kworldclock-3.0.3-3
    kde-i18n-Czech-3.0.3-2
    kde-i18n-Hebrew-3.0.3-2
    kde-i18n-Portuguese-3.0.3-2
    kde-i18n-Turkish-3.0.3-2
    kdegames-3.0.3-3
    kdemultimedia-libs-3.0.3-4
    kdessh-3.0.3-3
    kdeaddons-kicker-3.0.3-1
    kdeartwork-screensavers-3.0.3-3
    kdesdk-kapptemplate-3.0.3-2
    kdesdk-kompare-3.0.3-2
    kdeadmin-3.0.3-3
    kdebindings-qtc-3.0.3-1
    kdegames-devel-3.0.3-3
    kdetoys-3.0.3-1
    unixODBC-kde-2.2.2-3
    paybackdemo-7.0-1
    kde-i18n-Catalan-3.0.3-2
    kde-i18n-Danish-3.0.3-2
    kde-i18n-French-3.0.3-2
    kde-i18n-Hungarian-3.0.3-2
    kde-i18n-Japanese-3.0.3-2
    kde-i18n-Polish-3.0.3-2
    kde-i18n-Serbian-3.0.3-2
    kde-i18n-Swedish-3.0.3-2
    kdebase-devel-3.0.3-14
    kdenetwork-libs-3.0.3-3.2
    lockdev-1.0.0-20
    kdemultimedia-kfile-3.0.3-4
    kdepim-3.0.3-3
    kdeartwork-3.0.3-3
    kde-i18n-Afrikaans-3.0.3-2
    kdenetwork-devel-3.0.3-3.2
    kdelibs-devel-3.0.3-8.3
    kdesdk-kbabel-3.0.3-2
    kdesdk-kspy-3.0.3-2
    kdeaddons-kate-3.0.3-1
    kdebindings-kmozilla-3.0.3-1
    kdebindings-kdejava-3.0.3-1
    kdesdk-gimp-3.0.3-2
    licq-kde-1.2.0a-2
    wordtrans-kde-1.1pre9-10
    kde-i18n-Chinese-3.0.3-2
    kde-i18n-Dutch-3.0.3-2
    kde-i18n-German-3.0.3-2
    kde-i18n-Icelandic-3.0.3-2
    kde-i18n-Norwegian-Nynorsk-3.0.3-2
    kde-i18n-Russian-3.0.3-2
    kde-i18n-Spanish-3.0.3-2
    kdebase-3.0.3-14
    lockdev-devel-1.0.0-20
    kdemultimedia-arts-3.0.3-4
    kdeaddons-konqueror-3.0.3-1
    kdesdk-kbugbuster-3.0.3-2
    kdebindings-qtjava-3.0.3-1
    kde2-compat-2.2.2-7
    kde-i18n-Chinese-Big5-3.0.3-2
    kde-i18n-Greek-3.0.3-2
    kde-i18n-Romanian-3.0.3-2
    kde-i18n-Ukrainian-3.0.3-2
    kdelibs-3.0.3-8.3
    kdeutils-laptop-3.0.3-3
    switchdesk-kde-3.9.8-9
    kdepim-devel-3.0.3-3
    kdevelop-2.1.3-3
    kdebindings-3.0.3-1
    kdepim-cellphone-3.0.3-3
    kdeaddons-noatun-3.0.3-1
    kde-i18n-British-3.0.3-2
    kde-i18n-Finnish-3.0.3-2
    kde-i18n-Korean-3.0.3-2
    kde-i18n-Slovak-3.0.3-2

    [root@Linux ed]# rpm -qa | grep qt
    qt2-Xt-2.3.1-8
    wordtrans-qt-1.1pre9-10
    qt-ODBC-3.1.1-6
    qt2-devel-2.3.1-8
    qt-3.1.1-6
    kdebindings-qtc-3.0.3-1
    licq-qt-1.2.0a-2
    qt2-designer-2.3.1-8
    qtcups-devel-2.0-12
    qt3-3.0.4-3
    qt-designer-3.1.1-6
    qt-Xt-3.1.1-6
    qt2-2.3.1-8
    qt2-static-2.3.1-8
    qt-PostgreSQL-3.1.1-6
    kdebindings-qtjava-3.0.3-1
    qt-devel-3.1.1-6
    qtcups-2.0-12
    qt-MySQL-3.1.1-6
    [root@Linux ed]#

Page 1 of 2 1 2 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •