以前裝個交叉編譯工具鏈很快,今天死活都是裝不成功,真是見鬼.....環境變量也設置了,老是報:arm-none-linux-gnueabi-gcc: No such file or directory
原來是我使用64位Linux系統的原因:而我使用的交叉編譯工具鏈是32位的.....
解決辦法:sudo apt-get install ia32-libs
------------------------------------------------------------------------------------------------------------------------
如果是你的ubuntu是初次安裝軟件,你還可能會遇到:E: Unable to locate package update
解決辦法:更新一下apt-get
sudo apt-get update
sudo apt-get upgrade
執行完上面的兩條命令,再次執行:sudo apt-get install ia32-libs
-----------------------------------------------------------
你可能還會遇到:
root@ubuntu:/# sudo apt-get install ia32-libs
Reading package lists... Done
Building dependency tree
Reading state information... Done
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:
lib32ncurses5 lib32z1
E: Package 'ia32-libs' has no installation candidate
解決辦法:sudo apt-get install lib32ncurses5 lib32z1