ubuntu中输入arm-linux-gcc -v出现no such file or directory

时间:2022-07-22 15:09:35

这个问题困扰了我差不多两天时间了,明明已经安装了arm-linux-gcc,且系统变量和用户变量都配置好了

但每次输入arm-linux-gcc -v都会出现如题所示错误。最终经过查到一个帖子有说是因为使用的ubuntu是64位的原因,

需要在终端输入 sudo apt-get install ia32-libs,但是出现提示

Package ia32-libs is not available,but is referred to by another package.

This may mean that the package is missing,has been obsoleted,or
is only available from another source

However the following packages replace it:

lib32ncourses5  lib32z1
E:Package 'ia32-libs' has no installation candicate

最后输入sudo apt-get install lib32z1成功解决问题

最后感谢努力的自己,继续加油,为梦想奋斗