ubuntu arm-linux-gnueabihf-gcc: error while loading shared libraries: libstdc++.so.6

ubuntu :sudo  apt-get install lib32stdc++6 
fedora : yum install libstdc++.so.6


1、在64系统里执行32位程序如果出现/lib/ld-linux.so.2: bad ELF interpreter: No such file or directory,安装下glic即可

sudo yum install glibc.i686

2、error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory

sudo yum install zlib.i686


你可能感兴趣的:(嵌入式,交叉编译)