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位的编译工具。
相关文章
- 为什么老出现这个错误Cannot open include file: 'graphics.h': No such file or directory
- Cannot open include file: 'fstream.h': No such file or directory
- Cannot open include file: 'fstream.h': No such file or directory
- File Path Directory总结
- 操作文件File/目录Directory的工具类
- command ' cl.exe' failed: No such file or directory解决办法
- 解决mac os下mcss命令报错:env: node\r: No such file or directory
- /usr/bin/env: node: no such file or directory
- Cannot install NodeJs: /usr/bin/env: node: No such file or directory
- kafka.common.KafkaException: Failed to acquire lock on file .lock in /tmp/kafka-logs. A Kafka instance in another process or thread is using this directory.