Symbolic Posted October 26, 2010 Share Posted October 26, 2010 (edited) /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 October 26, 2010 by Symbolic Quote Link to comment Share on other sites More sharing options...
Symbolic Posted October 26, 2010 Author Share Posted October 26, 2010 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. Quote Link to comment Share on other sites More sharing options...
Symbolic Posted October 26, 2010 Author Share Posted October 26, 2010 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. Quote Link to comment Share on other sites More sharing options...
Alanw Posted October 28, 2010 Share Posted October 28, 2010 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.