SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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.
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).
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.
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.
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:
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?
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
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!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.