Jump to content

How to fix this? Ubuntu 8.04


Symbolic

Recommended Posts

/usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.11' not found

Hello,

I am getting this error when I try to launch a small tool in Linux, Ubuntu 8.04. I did research this topic on the internet, but non of the solutions made sense. It seems like some kind of a library, maybe a gcc library does not include a specific function? Any ideas? Thanks.

Edited by Symbolic
Link to comment
Share on other sites

So,

There is a solution here:

http://hsmak.wordpress.com/2009/12/01/how-to-fix-libstdc5-dependency-problem-in-ubuntu-9-10/#comment-145

Maybe somebody with a better understanding of Linux can help me to understand this. This is what I got from it:

As far as I understand, there is something wrong with those gcc4 libraries under Ubuntu 8.04. (/usr/lib/libstdc++.so.6) So I need to re-install them. I already tried this through Ubuntu's package manager GUI. But it did not work.

So what will I do is this:

1) Download a package manually from here:

http://mirrors.kernel.org/ubuntu/pool/main/g/gcc-4.4/libstdc++6_4.4.1-4ubuntu8_i386.deb

2) extract it:

sudo dpkg-deb -x libstdc++6_4.4.1-4ubuntu8_i386.deb ./tmp

3) copy the files manually:

sudo cp ./tmp/usr/lib/* /usr/lib/

This a theory only though. Any ideas about this?

Thanks.

Link to comment
Share on other sites

Yes!!! :)

It worked. It was a total adrenalin rush! As soon as I copied the libraries everything just went nuts! But then when I restarted, it was all back to normal. And now I am able to run those little tools that were looking for those libraries.

Link to comment
Share on other sites

Yes!!! :)

It worked. It was a total adrenalin rush! As soon as I copied the libraries everything just went nuts! But then when I restarted, it was all back to normal. And now I am able to run those little tools that were looking for those libraries.

Usually you can place custom libs in /usr/local/lib and they'll get referenced before your main system libs. This prevents you from having to overwrite files that might be necessary for your system to function normally.

Some distro's will also have a lib compatibility package of some sort for libstdc++, but I'm not sure about Ubuntu.

Glad it worked for you though.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...