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

时间:2021-10-22 09:29:18

在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