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

时间:2022-12-13 15:36:13

    在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