解决办法:
1、执行命令: yum whatprovides libstdc++.so.6
然后会提示哪个安装包有这个库文件如下:
[root@localhost ~]# yum whatprovides libstdc++.so.6
Loaded plugins: aliases, changelog, downloadonly, fastestmirror, kabi, presto, refresh-packagekit, security, tmprepo, verify,
: versionlock
Loading support for CentOS kernel ABI
Loading mirror speeds from cached hostfile
* base: centos.ustc.edu.cn
* centosplus: centos.ustc.edu.cn
* contrib: centos.ustc.edu.cn
* extras: centos.ustc.edu.cn
* updates: centos.ustc.edu.cn
libstdc++-4.4.7-3.el6.i686 : GNU Standard C++ Library
Repo : base
Matched from:
Other : libstdc++.so.6
2、然后执行:
yum install libstdc++-4.4.7-3.el6.i686
搞定!
相关推荐
在使用MongoDB数据库服务时,有时可能会遇到启动过程中的错误,如"error while loading shared libraries: libstdc++.so.6: cannot open shared object file"。这个错误表明系统缺少一个名为`libstdc++.so.6`的关键...
error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory 解决办法1: 在下面包里有 libstdc++.so.5 然后复制到/usr/lib里
解决“error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory”错误。
RHEL5 64位的linux在/usr/lib下没有libstdc++.so.5这个文件,在安装一些软件的时候总是报这样的错误: <br>libstdc++.so.5: cannot open shared object file: No such file or directory <br>安装64位的包依然...
错误:error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory** - 解决方案: 如果出现这个错误,通常是因为缺少相应的库文件。可以通过以下命令...
问题: libstdc++.so.6: cannot open shared object file: No such file or directory: 原因在于,在13.10 版本中,ia32_libs 被废弃了导致没有32位的lib库。 解决方法 ```bash sudo apt-get install lib32stdc++6 ...
Exception in thread "main" java.lang.UnsatisfiedLinkError: /app/oracle/product/11.2.0/jdk/jre/lib/amd64/xawt/libmawt.so: libXext.so.6: cannot open shared object file: No such file or directory ...
load-generator11安装包 支持centos6 centos7,详细参考安装说明 ...m_agent_daemon: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory
- 如果提示`libstdc++.so.6: cannot open shared object file: No such file or directory`,可以使用`yum provides libstdc++.so.6`找到正确的版本并安装,如`yum install libstdc++-4.8.5-4.el7.i686`。...
3. 如果出现“./xrgsu: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory”的错误,需要安装libstdc++5包,通过`rpm -ivh libstdc++5-3.3.6-2....
当遇到"libXt.so.6: cannot open shared object file: No such file or directory"的错误时,表明系统中缺少XFree86-libs包。为了解决这个问题,你需要在系统光盘中找到并安装XFree86-libs包。 **错误三:libstdc++...
Exception in thread "main" java.lang.UnsatisfiedLinkError: /tmp/OraInstall2007-09-25_10-54-49PM/jre/1.4.2/lib/i386/libawt.so: libXp.so.6: cannot open shared object file: No such file or directory ...
如果未安装,则在安装过程中会遇到 `jre/1.4.2/lib/i386/libawt.so: libXp.so.6: cannot open shared object file: No such file or directory` 错误。 5. **支持图形化安装的依赖包:** 为了能够以图形化方式安装 ...