1. 程式人生 > >arm-none-linux-gnueabi/4.4.3/cc1: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory

arm-none-linux-gnueabi/4.4.3/cc1: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory

鬱悶了,安裝好了arm-linux-gcc的4.4.3版本,就是能能執行!!!

而且,在執行arm-linux-gcc -v的時候一切正常,醉了!

顯示說:

/opt/Friendlyarm/arm-linux-gcc-4.4.3/bin/../libexec/gcc/arm-none-linux-gnueabi/4.4.3/cc1: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory

 也就是說:ibstdc++.so.6: cannot open shared object file: No such file or directory這個包不見了,說白了就是32位系統和64位系統的問題,我的ubuntn14.04是64位的。

二話不說,安裝吧!

apt-get install lib32stdc++6

 

然後。一切正常啦!!!!!!