64位ubuntu安装32位兼容库
32位程序需要引用32位的c或者c++库,如果64位系统上没有32位兼容库时,会出现下面的错误:
"No such file or directory"
或者
"error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory"
安装32位兼容库即可解决:
dpkg --add-architecture i386
apt-get update
apt-get install libstdc:i386 lib32stdc++6