什么是“/usr/lib/libstdc .so.6: version `GLIBCXX_3.4.15' not found"?意思是,我该如何解决? [英] What does "/usr/lib/libstdc .so.6: version `GLIBCXX_3.4.15' not found" mean, and how do I fix it?

查看:66
本文介绍了什么是“/usr/lib/libstdc .so.6: version `GLIBCXX_3.4.15' not found"?意思是,我该如何解决?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是在 Ubuntu 下编译库 .so 的新手.我有源文件,.cpp 文件.我很好地安装了 build-essentials 包,我正在使用 Anjuta IDE 编译源代码.我有 Makefile,一切都很好.

I'm new to compiling libraries .so under Ubuntu. I have the source, .cpp file. I installed the build-essentials package finely, and I'm using the Anjuta IDE to compile the source code. I have the Makefile and everything is good.

现在虽然它编译没有错误,但当我加载它时,我收到错误:

Now although it compiles without error, when I load it, I get the error:

/usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.15' not found`

这是什么意思,我该如何解决?

What does this mean and how can I fix it?

还有什么提示吗?

Edit2:我真的需要帮助.

I really need help guys.

推荐答案

我遇到了类似的问题,我尝试了 (​​https://askubuntu.com/questions/164296/glibcxx-3-4-15-not-found):

I had similar issues and I tried (https://askubuntu.com/questions/164296/glibcxx-3-4-15-not-found):

sudo apt-get install libstdc++6

可选地,您可以使用

sudo ldconfig

最后一个命令可能需要一些时间,并且不会在 bash 上打印任何内容,请稍等.

this last command can take some time and will not print anything on the bash, just wait.

这篇关于什么是“/usr/lib/libstdc .so.6: version `GLIBCXX_3.4.15' not found"?意思是,我该如何解决?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆