我正在尝试解决我的问题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 存储库: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!)
非常感谢任何帮助:)饲料
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,那么问题就在别处,您应该首先说明您要实现的目标.
If you already have libstdc++6, then the problem is elsewhere and you should explain what you're trying to achieve in the first place.
如果您想要比默认包中提供的更新版本的 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 作为实例)configure、make 和make installsudo apt-get build-dep gcc-4.7 as instance)configure, make and make install这篇关于我在哪里可以获得文件 libstdc++.so.6.0.15 的副本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!
如何在 C++ 中读取和操作 CSV 文件数据?How can I read and manipulate CSV file data in C++?(如何在 C++ 中读取和操作 CSV 文件数据?)
在 C++ 中,为什么我不能像这样编写 for() 循环:In C++ why can#39;t I write a for() loop like this: for( int i = 1, double i2 = 0; (在 C++ 中,为什么我不能像这样编写 for() 循环: for(
OpenMP 如何处理嵌套循环?How does OpenMP handle nested loops?(OpenMP 如何处理嵌套循环?)
在循环 C++ 中重用线程Reusing thread in loop c++(在循环 C++ 中重用线程)
需要精确的线程睡眠.最大 1ms 误差Precise thread sleep needed. Max 1ms error(需要精确的线程睡眠.最大 1ms 误差)
是否需要“do {...} while ()"?环形?Is there ever a need for a quot;do {...} while ( )quot; loop?(是否需要“do {...} while ()?环形?)