首页 > 代码库 > 编译Uboot时提示error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory

编译Uboot时提示error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory

    在Ubuntu14.04 64位系统中已经安装了libc6:i386的库,编译Uboot时提示error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory.

出错原因是:缺少lib32z1库

解决方法:sudo apt-get install lib32z1

编译Uboot时提示error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory