谷动谷力

 找回密码
 立即注册
查看: 1173|回复: 0
打印 上一主题 下一主题
收起左侧

解决libstdc++.so.6: cannot open shared object file: No such file or directo...

[复制链接]
跳转到指定楼层
楼主
发表于 2022-7-27 14:54:03 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
解决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
复制代码



+10
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|深圳市光明谷科技有限公司|光明谷商城|Sunshine Silicon Corpporation ( 粤ICP备14060730号|Sitemap

GMT+8, 2024-5-19 15:17 , Processed in 0.079459 second(s), 39 queries .

Powered by Discuz! X3.2 Licensed

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表