64位ubuntu安装32位兼容库

xiaoxiao2021-02-28  141

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
转载请注明原文地址: https://www.6miu.com/read-19049.html

最新回复(0)