ubuntu出故障重装了系统,一直用着的gcc使用不了,提示
bash: ./arm-linux-gcc: No such file or directory
在google上翻了一阵发现此类问题的帖子不多,后来在Freescale的的LTIB环境配置文档中发现有这么一段:
# Packages required for 64-bit Ubuntu # Do "uname -a" and see if the word "x86_64" shows up. if uname -a|grep -sq 'x86_64'; then sudo aptitude -y install ia32-libs libc6-dev-i386 lib32z1 fi
将命令改成sudo apt-get install ia32-libs libc6-dev-i386 lib32z1 安装后就可以运行了
问题是因为64位的机器上不能运行32位的编译工具。
相关文章
- ImportError: .9.0: cannot open shared object file: No such file or directory
- Bash Shell read file line by line and substring
- Android on Android, open failed: ENOENT (No such file or directory)
- : : open failed: ENOENT (No such file or directory)
- 错误:: open failed: ENOENT (No such file or directory)
- failed to open stream: No such file or directory 报错解决方法
- command ‘ ‘ failed: No such file or directory 有效解决办法
- [Python]mysql-python 安装错误 fatal error C1083: Cannot open include file: 'config-win.h': No such file or directory
- fatal error C1083: 无法打开包括文件:“stdint.h”: No such file or directory
- Python 安装zbar-py时出现 无法打开包括文件: “unistd.h” no such file or directory