在哪里可以获得文件libstdc ++。so.6.0.15的副本 [英] Where can I get a copy of the file libstdc++.so.6.0.15
问题描述
我试图解决我的问题GLIBCXX_3.4.15没有找到,这是相当详细的文档修复。但是它需要从某处获取文件libstdc ++。so.6.0.15。
I am trying to fix my problem "GLIBCXX_3.4.15" not found, which is fairly well documented to fix. But it requires getting the file "libstdc++.so.6.0.15" from somewhere.
大多数解决方案告诉我从我编译c ++的位置获取它图书馆。但是,我没有编译它,它与我的Ubuntu安装,当我为找到该文件找不到找到。
Most of the solutions tell me to get it from the location that I compiled my c++ library from. However, I did not compile it, it came with my Ubuntu installation, and when I do "locate" for that file it is not found.
所以,我想只是从某处下载,但我不能在网上找到它在任何地方。我试图查看svn repo:svn://gcc.gnu.org/svn/gcc,但是找不到它(它的巨大!)
So, I would like to just download it from somewhere, but I can't find it on the web anywhere. I have tried to look in the svn repo: svn://gcc.gnu.org/svn/gcc, but was not able to find it (its huge!)
任何帮助非常感谢:)
Fodder
Any help much appreciated :) Fodder
推荐答案
您不必手动下载此库, '在Ubuntu Linux上,它应该在这个包内:
You shouldn't have to manually download this library, if you're on Ubuntu Linux, it should be shipped inside this package :
sudo apt-get install libstdc++6
如果您已经有 libstdc ++ 6
如果你想要一个新版本的 libstdc ++,你应该解释你想要达到的目标。 6
,则可以尝试更新到 toolchain 测试包:
If you want a newer version of libstdc++6
than the one provided in the default package, then you can try to update to the toolchain test package :
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
否则你必须从源代码编译GCC:
Otherwise you would have to compile GCC from source :
- 安装必备软件(使用
sudo apt-get build-dep gcc-4.7
作为实例) - 从 GNU.org 获取源代码
- 编译它使用
configure
,make
和make install
- Install the prerequisite (using
sudo apt-get build-dep gcc-4.7
as instance) - Get the source from GNU.org
- Compile it using
configure
,make
andmake install
这篇关于在哪里可以获得文件libstdc ++。so.6.0.15的副本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!