谷动谷力

标题: 解决libstdc++.so.6: cannot open shared object file: No such file or directo... [打印本页]

作者: 鸣涧    时间: 2022-7-27 14:54
标题: 解决libstdc++.so.6: cannot open shared object file: No such file or directo...
解决libstdc++.so.6: cannot open shared object file: No such file or directory:问题

现象

在ubuntu 18.04系统上安装arm-linux-gcc交叉编译工具  arm-hisiv500-linux-gcc(海思交叉编译工具) mipsel-openwrt-linux-gcc(MT7xx8 openwrt交叉编译工具)等交叉编译工具,使用arm-linux-gcc -工具时提示:
  1. arm-hisiv500-linux-gcc: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
复制代码

原因

在于,ubuntu 18.04 版本 ia32_libs 被废弃了导致没有32位的lib库。


解决方法
安装lib32stdc++6库:
  1. sudo apt-get install lib32stdc++6
复制代码








欢迎光临 谷动谷力 (http://bbs.sunsili.com/) Powered by Discuz! X3.2