LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-07-2009, 02:05 PM   #1
apmount
Member
 
Registered: Mar 2009
Location: Athens
Distribution: Slackware
Posts: 85

Rep: Reputation: 5
kde4, unable to start kstartupconfig4, error 127


Hello,

I have recently installed slackware 12.2 and I am trying to install kde 4.2 on it. I have downloaded all kde packages from the current directory but when I start kde I am getting the following error:

"kstartupconfig does not exists or fails. The error code is 127. Check you installation".

and in the console I am getting:

"bash-3.1$ startkde
/usr/bin/kde4-config: error while loading shared libraries: libQtCore.so.4: cannot open shared object file: No such file or directory
kstartupconfig4: error while loading shared libraries: libQtDBus.so.4: cannot open shared object file: No such file or directory"

It seems that I am missing some important packages in order to have a working kde 4.2. Where can I find the complete list of dependencies to download?
 
Old 04-07-2009, 02:21 PM   #2
indienick
Senior Member
 
Registered: Dec 2005
Location: London, ON, Canada
Distribution: Arch, Ubuntu, Slackware, OpenBSD, FreeBSD
Posts: 1,853

Rep: Reputation: 65
I ran into the same problem when I was testing out KDE 4.2 - if you have Slackware 12.2, it should have installed slackpkg in the main install process.

Use slackpkgs's "search" function:
Code:
# slackpkg search libQtCore.so.4
...output...
# slackpkg search libQtDBus.so.4
...output...
 
Old 04-07-2009, 05:42 PM   #3
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,279

Rep: Reputation: 1500Reputation: 1500Reputation: 1500Reputation: 1500Reputation: 1500Reputation: 1500Reputation: 1500Reputation: 1500Reputation: 1500Reputation: 1500Reputation: 1500
you should install lots of packages in -Current tree in order to get KDE 4 running, mostly in kde/ and l/ because all the KDE packages and libraries required are scattered on those two directories. I'm guessing that you missed the dependency packages for KDE 4 which are now located in l/ directory.

If you wanted to use KDE 4 in Slackware, then the best option is switching to -Current, but take your own risk even though i have no problem at all using -Current everyday
 
Old 04-07-2009, 06:20 PM   #4
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,452

Rep: Reputation: 7711Reputation: 7711Reputation: 7711Reputation: 7711Reputation: 7711Reputation: 7711Reputation: 7711Reputation: 7711Reputation: 7711Reputation: 7711Reputation: 7711
Strong advice:

Do not install packages from slackware-current on your Slackware 12.2 box. Things will break.

Upgrade all the way to slackware-current or else build your own KDE 4.2 packages from source.

Eric
 
Old 04-08-2009, 12:27 AM   #5
apmount
Member
 
Registered: Mar 2009
Location: Athens
Distribution: Slackware
Posts: 85

Original Poster
Rep: Reputation: 5
Thank you for your prompt responces. Since I am new to slackware I think I should move to current instead of building my own packages.
Or better, stick with the Xfce until I learn enough of Slackware (or get used to Xfce and do not want KDE anymore ).
 
Old 04-08-2009, 01:32 AM   #6
Choucete
Member
 
Registered: Dec 2007
Location: Buenos Aires
Distribution: Slackware 12.0
Posts: 83

Rep: Reputation: 16
Hi there! I had the same problem a couple of weeks ago, you need to install kdelibs and it should work. See this for reference.

But yes, I moved to current first.

Last edited by Choucete; 04-08-2009 at 01:37 AM.
 
Old 04-08-2009, 12:13 PM   #7
apmount
Member
 
Registered: Mar 2009
Location: Athens
Distribution: Slackware
Posts: 85

Original Poster
Rep: Reputation: 5
Thank you all for your answers. I am thinking of upgrading to current but as I read somewhere, thinking of it means i am not ready yet

Anyway, thanx again.
 
Old 04-08-2009, 03:22 PM   #8
indienick
Senior Member
 
Registered: Dec 2005
Location: London, ON, Canada
Distribution: Arch, Ubuntu, Slackware, OpenBSD, FreeBSD
Posts: 1,853

Rep: Reputation: 65
An additional note, to make it easy to upgrade to slackware-current, I highly suggest editing your mirror in "/etc/slackpkg/mirrors" and changing the instance of "12.2" to "current", then run:
Code:
# slackpkg update
...output snipped...
# slackpkg upgrade-all
...output snipped...
 
Old 04-28-2009, 02:07 PM   #9
niahson
LQ Newbie
 
Registered: Apr 2007
Posts: 1

Rep: Reputation: 0
Cool kde4, unable to start kstartupconfig4, error 123, missing kdelibs

I had the same problem when I decided to upgrade from slackware 12.2 to current. The closest I came to a solution was found page here

bbs.archlinux.org/viewtopic.php?pid=490822

The fact is the startkde script or some other script calls /usr/bin/kstartupconfig4 which failed. In my case the system was missing the library libkdefakes.so which is part of the kdelibs package. I guess the default error msg when kstartupconfig fails is to report " unable to start kstartupconfig4, error 127" otherwise nothing happens.

The Solution:

Here are the commands the I executed as the root user to fix it:


$ locate kstartupconfig4
/usr/bin/kstartupconfig4 (output)
$/usr/bin/kstartupconfig4
error while loading shared library: libkdefakes.so... (output)
$ slackpkg search kibkdefakes
[uninstalled] - kdelibs-4.2.2-i486-1 (output)


Once I re-installed kdelibs (slackpkg install kdelibs) the problem goes away.

This being my 1st post, I want to thank the folks at linuxquestions.org and all the posters, I have learned so much for you over the years.

Cool Runnings!
 
Old 07-23-2009, 01:16 PM   #10
rccn
LQ Newbie
 
Registered: Jul 2009
Posts: 1

Rep: Reputation: 0
I had the same problem while trying to install KDE4 on Slackware 12.2. I forgot to update qt, so removing the qt package (pkgtool) and installing it anew from /current did the trick.

Alien Bob's quite right, I suppose.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
KDE 4.1.0 'Could not start kstartupconfig4. Check your installation' Bonny Linux - Software 10 10-06-2009 04:59 AM
Fedora 10, Fresh Install , "Could not start Kstartupconfig4" mickeyboa Fedora 1 04-02-2009 02:55 AM
Unable to compile C++ programs.make:g++ command not found error.Error 127 PrathuD Programming 3 03-16-2009 12:44 PM
DSN: Data format error & relay=[127.0.0.1] [127.0.0.1] calmbomb Linux - Software 0 11-07-2004 03:24 PM
unable telnet to 127.0.0.1 joseph Linux - General 6 08-19-2003 01:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration