C++ CentOS 6 - libstdc++ 没有这样的文件或目录?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/16620942/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-27 20:29:54  来源:igfitidea点击:

CentOS 6 - libstdc++ no such file or directory?

c++centos

提问by Rbn

I'm trying to execute a game server, and whenever I do I receive the following error

我正在尝试执行游戏服务器,但每次执行时都会收到以下错误

error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory

I have absolutely no direction on what to do next. I really hope I can receive some help.

我对接下来要做什么完全没有方向。我真的希望我能得到一些帮助。

回答by Ignacio Vazquez-Abrams

Install the 32-bit LibC++.

安装 32 位 LibC++。

yum install libstdc++.i686