查看谁提供这个.so

yum whatprovides libstdc++.so.6
 

yum install libstdc++-4.8.5-28.el7.i686  #安装上边查出来的.so

此时如果出错,最后一行是libstdc++-4.8.5-28.el7.i686 != libstdc++-4.8.5-11.el7.x86_64

yum update libstdc++-4.8.5-11.el7.x86_64  #更新一下,这个是上边红框圈起来的后边带_64的那个lib...x86_64

最后再重复一遍

yum whatprovides libstdc++.so.6
yum install libstdc++-4.8.5-28.el7.i686  #这个是上条命令查出来的
 

转载于:https://www.cnblogs.com/jinwenb/p/9324804.html

error while loading shared libraries: libstdc++.so.6: cannot open shared object file相关推荐

  1. snpslmd: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No su

    安装VCS lmg_vcs的时候遇到错误: snpslmd: error while loading shared libraries: libstdc++.so.6: cannot open sha ...

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

    缺少共享库,有root权限的情况下: 1.找安装包: yum whatprovides libstdc++.so.6 2.执行安装: yum -y install libstdc+±4.8.5-44. ...

  3. error while loading shared libraries: libstdc++.so.6

    在编译busybox过程中,配置好make menuconfig后,在make编译时提示: error while loading shared libraries: libstdc++.so.6: ...

  4. linux android gradle构建机器 error while loading shared libraries: libz.so.1: cannot open shared object

    原因:64位 linux 机器缺少32位lib相关的支持库 如果yum 服务器上有 相关的库最好使用 yum 安装,其他 博客上使用 apt-file 安装. 查看libz.so.1属于 glic 库 ...

  5. error while loading shared libraries: libstdc++.so.5: wrong ELF class: ELFCLASS64

    今天部署一个探针在运行的时候报了这样一个错:error while loading shared libraries: libstdc++.so.5: wrong ELF class: ELFCLAS ...

  6. aapt: error while loading shared libraries: libstdc++.so.6: wrong ELF class: ELFCLASS64

    前阵子在ubuntu上搭载安卓的开发环境(Eclipse+Sdk+Adt),搭载是完成了,但是却出现了该问题: aapt: error while loading shared libraries: ...

  7. swig: error while loading shared libraries: libpcre.so.1: cannot open shared object file 亲测解决方法

    安装完毕 PCRE 和 swig 之后,执行 swig -version 发现报错 如下: swig: error while loading shared libraries: libpcre.so ...

  8. 报错解决:cp: error while loading shared libraries: libc.so.6: cannot open shared object file: No such fi

    我的个人博客:zhang0peter的个人博客 先说一下为什么会发生这个错误,我看这篇博客:分享Centos6.5升级glibc过程 ,里面提到了如下命令: $ rm -rf /lib64/libc. ...

  9. ./ffmpeg: error while loading shared libraries: libx264.so.138: cannot open shared object file: No s

    在安装ffmpeg时,执行完 ./configure--enable-libx264 --enable-gpl --disable-yasm --prefix=/usr/local/ffmpeg ma ...

最新文章

  1. deepsort原理快速弄懂——时效比最高的
  2. 宏基因组公众号创立初衷及如何注册一个名字好记的公众号
  3. mysql if语句 oracle,Oracleifelse语句的写法实例
  4. Digital Color Meter 颜色值提取工具
  5. [Idea Fragments]2013.08.08
  6. linux下物理内存不足,vm中linux物理内存不足解决方案
  7. 五子棋算杀c语言,什么是五子棋的做杀
  8. 再别极域(亲测有效)
  9. 让老板虎躯一震的前端技术,KPI杀手
  10. 内存取证之Volatility ——合天网安实验室学习笔记
  11. 模拟微信接口时,提示“请在微信客户端打开链接”(转)
  12. [体感游戏]关于体感游戏的一些思考(七) --- “我是泰山,你是简?”
  13. Java:抽象成类找对象
  14. Numpy和spicy函数复习1
  15. android p三星,索尼XZ3新机采用Android P系统,对标三星note9,网友:外观
  16. Effective C++ 条款34
  17. 屯特大学计算机排名,荷兰院校介绍篇——屯特大学(特文特大学)
  18. java的while、do while循环和案例
  19. 国家计算机与软件资格考试因试卷丢失延考
  20. uv棋盘格4096_建模大佬们都在用的快速高效展UV的方法,还不来GET一下么?

热门文章

  1. JavaScript DOM编程艺术第二版学习(1/4)
  2. TCP/IP WebSocket MQTT
  3. VS2015升级Update2之后Cordova程序提示:此应用程序无法在此电脑上运行
  4. Oracle ODP.NET数据库访问连接字符串
  5. 话说Svn与Git的区别
  6. unity3d 摄像机跟随鼠标和键盘的控制
  7. 关于apache和tomcat集群,线程是否占用实验
  8. Symbol Mc1000 Text文本阅读器整体代码
  9. Python基础:搭建开发环境(1)
  10. PHP工厂模式计算面积与周长