本文介绍了/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

没有抓住这一个。 I dug around and found

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 ++。 .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'的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

05-27 21:59
查看更多