/usr/lib/libstdc++.so.6:未找到版本“GLIBCXX_3.4.15"

/usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.15#39; not found(/usr/lib/libstdc++.so.6:未找到版本“GLIBCXX_3.4.15)
本文介绍了/usr/lib/libstdc++.so.6:未找到版本“GLIBCXX_3.4.15"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

问题描述

如何在 Ubuntu 中获得 GLIBCXX_3.4.15?我无法运行我正在编译的一些程序.

How can I get GLIBCXX_3.4.15 in Ubuntu? I can't run some programs that I'm compiling.

当我这样做时:

strings /usr/lib/libstdc++.so.6 | grep GLIBC

我明白了:

GLIBCXX_3.4
GLIBCXX_3.4.1
GLIBCXX_3.4.2
GLIBCXX_3.4.3
GLIBCXX_3.4.4
GLIBCXX_3.4.5
GLIBCXX_3.4.6
GLIBCXX_3.4.7
GLIBCXX_3.4.8
GLIBCXX_3.4.9
GLIBCXX_3.4.10
GLIBCXX_3.4.11
GLIBCXX_3.4.12
GLIBCXX_3.4.13
GLIBCXX_3.4.14
GLIBC_2.2.5
GLIBC_2.3
GLIBC_2.4
GLIBC_2.3.4
GLIBC_2.3.2
GLIBCXX_FORCE_NEW
GLIBCXX_DEBUG_MESSAGE_LENGTH

感谢您的帮助!

推荐答案

我正在从源代码编译 gcc 4.6,显然

I'm compiling gcc 4.6 from source, and apparently

sudo make install 

没有抓住这个.我翻来覆去发现

didn't catch this one. I dug around and found

gcc/trunk/x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs/libstdc++.so.6.0.15

我将它复制到/usr/lib 并重定向 libstdc++.so.6 以指向新的,现在一切正常.

I copied it in to /usr/lib and redirected libstdc++.so.6 to point to the new one, and now everything works.

这篇关于/usr/lib/libstdc++.so.6:未找到版本“GLIBCXX_3.4.15"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

相关文档推荐

Unable to access non-const member functions of objects in C++ std::set(无法访问 C++ std::set 中对象的非常量成员函数)
Constructing std::function argument from lambda(从 lambda 构造 std::function 参数)
STL BigInt class implementation(STL BigInt 类实现)
Sync is unreliable using std::atomic and std::condition_variable(使用 std::atomic 和 std::condition_variable 同步不可靠)
Move list element to the end in STL(在 STL 中将列表元素移动到末尾)
Why is overloading operatoramp;() prohibited for classes stored in STL containers?(为什么禁止对存储在 STL 容器中的类重载 operatoramp;()?)