LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 02-08-2005, 02:17 PM   #1
BBB
Member
 
Registered: Aug 2004
Location: sweden
Distribution: Slackware 10.2 and Win2k
Posts: 127

Rep: Reputation: 15
k3b doesn't work for me on Slack10


I tried downloading and installing both with swaret and manually from linuxpackages.net
(k3b-0.11.20-i486-2pcx.tgz), but in both cases it sez:
k3b: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory.

I looked around and found out that it is a part of GCC, and according to swaret i have the
latest version of GCC so there shouldn't be a problem.
What shall i do?
 
Old 02-08-2005, 02:24 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
"Use the source, Luke!"

compile k3b from source



Cheers,
Tink
 
Old 02-08-2005, 02:26 PM   #3
BBB
Member
 
Registered: Aug 2004
Location: sweden
Distribution: Slackware 10.2 and Win2k
Posts: 127

Original Poster
Rep: Reputation: 15
I don't see how that can help, but ill try it.
 
Old 02-08-2005, 02:37 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Well ... using swaret to locate gcc.

How about looking for gcc yourself?

As for "how that can help" ... if you have
gcc and g++ installed and compile the product
yourself you'll defnitely know that the libs are
there ... if you grab someone else's tgz's you
may find that they were using different levels/
releases of software than you.


Cheers,
Tink
 
Old 02-08-2005, 02:58 PM   #5
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
it was compiled using g++ >= 3.4 while slack 10 uses 3.3 (they use different versions of libstdc++). the easiest way would be to compile it from source (which is pretty easy on slack). otherwise, you would have to upgrade gcc/g++ (which would be more of a pain than just compiling k3b anyway).
 
Old 02-08-2005, 04:09 PM   #6
BBB
Member
 
Registered: Aug 2004
Location: sweden
Distribution: Slackware 10.2 and Win2k
Posts: 127

Original Poster
Rep: Reputation: 15
Okay, compiling k3b didn't work, ill try to install the
new version of gcc, thx for the help!
 
Old 02-08-2005, 04:13 PM   #7
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
errrrr, what do you mean it did not work, also you could easily wind up b0rking your libs( thus breaking kde/qt/and anything that needs them) if you do it wrong.
 
Old 02-08-2005, 04:29 PM   #8
BBB
Member
 
Registered: Aug 2004
Location: sweden
Distribution: Slackware 10.2 and Win2k
Posts: 127

Original Poster
Rep: Reputation: 15
I mean:
bash-2.05b# k3b
k3b: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
bash-2.05b#

And how did I bork my libs? I don't mess around with the internal files.
I downloaded the source for k3b, unpacked it, cd:et into the new directory and typed
./configure && make && make install
and then typed:
k3b
which sed that libstdc++.so.6 was missing.
 
Old 02-08-2005, 04:34 PM   #9
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
i didn't say you did I said you could (depending on how you install the new gcc/g++).

did you remove the old k3b before installing the new one? (If you compiled from source you cannot get linker errors of a library that is clearly not on your system ( it would never be able to link to it)). what you probably have is the old package is installed in /opt/kde/bin and you configured your to be installed in /usr/local/bin (when you configure new kde stuff, do ./configure --prefix=/opt/kde) and it's picking up the old one first. Try this:

/usr/local/bin/k3b

and post back what you get.
 
Old 02-09-2005, 04:20 PM   #10
BBB
Member
 
Registered: Aug 2004
Location: sweden
Distribution: Slackware 10.2 and Win2k
Posts: 127

Original Poster
Rep: Reputation: 15
/usr/local/bin/k3b
No such file or directory.
 
Old 02-09-2005, 04:28 PM   #11
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
must not have compiled correctly, you sure it didn't have any errors? (if you did ./configure, make, make install k3b would end up in /usr/local/bin)
 
Old 02-13-2005, 05:53 AM   #12
BBB
Member
 
Registered: Aug 2004
Location: sweden
Distribution: Slackware 10.2 and Win2k
Posts: 127

Original Poster
Rep: Reputation: 15
Yes i typed ./configure && make && make install (as root) and got no errors. Ive downloaded Slackware 10.1 but i need k3b to burn it :\ . Btw im using Swaret, maybe it fucked up GCC?
 
Old 02-13-2005, 05:56 AM   #13
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
if you have the old package installed, remove it. ./configure --prefix=/opt/kde (if this is where the kde root is - if your using the default slack install it is here) make checkinstall or make install
 
Old 02-13-2005, 06:06 AM   #14
BBB
Member
 
Registered: Aug 2004
Location: sweden
Distribution: Slackware 10.2 and Win2k
Posts: 127

Original Poster
Rep: Reputation: 15
I typed "swaret --update && swaret --install gcc" and now it worked. Funny, I did that like 3 days ago. Anyway k3b seems to work now, thx for the help!
 
  


Reply



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
Usb mouse doesnt work in slack10.2 samgu3990 Linux - Laptop and Netbook 2 11-06-2005 02:23 PM
Keyboard Doesnt work on Slack10.1 installation f34r7h1s Linux - Laptop and Netbook 1 05-03-2005 12:21 PM
LIsa on slack10, cant make it work alek66 Slackware 3 01-16-2005 11:36 AM
Installed Slack10 - kde doesn't work letsinstalllinu Linux - Newbie 6 12-09-2004 03:48 PM
Can't get k3b to work senthil Linux - Software 6 06-12-2003 05:38 PM

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

All times are GMT -5. The time now is 08:41 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