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位的编译工具。
相关文章
- locate: can not open `/var/lib/mlocate/mlocate.db': No such file or directory
- /etc/init.d/syslog: No such file or directory
- build/temp.linux-x86_64-2.7/_openssl.c:493:30: fatal error: openssl/opensslv.h: No such file or directory
- 发生服务器错误: Error loading MySQLdb module: libmysqlclient.so.18: cannot open shared object file: No such file or directory
- eclipse A .project file already exists in directory
- solaris 11 stdio.h: No such file or directory
- Cannot open include file: 'ntddndis.h': No such file or directory
- 在ubuntu 64位的机器上执行arm-linux-gcc提示 no such file or directory【转】
- Android -Cannot run program "XXX/sdk/tools/emulator": error=2, No such file or directory
- docker-compose exec时 出现"fork/exec /proc/self/exe: no such file or directory" 报错