error while loading shared libraries: libz.so.1错误
Posted 丘木木
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了error while loading shared libraries: libz.so.1错误相关的知识,希望对你有一定的参考价值。
编译全志linux内核报错
CC scripts/mod/empty.o
HOSTCC scripts/genksyms/genksyms.o
SHIPPED scripts/genksyms/lex.lex.c
HOSTCC scripts/conmakehash
HOSTCC scripts/mod/mk_elfconfig
HOSTCC scripts/recordmcount
SHIPPED scripts/genksyms/keywords.hash.c
/home/ql/linux/H3Core/lichee/out/sun8iw7p1/dragonboard/common/buildroot/external-toolchain/bin/../libexec/gcc/arm-linux-gnueabi/4.6.3/cc1: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory
make[2]: *** [scripts/Makefile.build:308:scripts/mod/empty.o] 错误 1
make[2]: *** 正在等待未完成的任务....
SHIPPED scripts/genksyms/parse.tab.h
SHIPPED scripts/genksyms/parse.tab.c
HOSTCC scripts/genksyms/lex.lex.o
HOSTCC scripts/genksyms/parse.tab.o
make[1]: *** [scripts/Makefile.build:443:scripts/mod] 错误 2
make[1]: *** 正在等待未完成的任务....
CC kernel/bounds.s
/home/ql/linux/H3Core/lichee/out/sun8iw7p1/dragonboard/common/buildroot/external-toolchain/bin/../libexec/gcc/arm-linux-gnueabi/4.6.3/cc1: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory
make[1]: *** [/home/ql/linux/H3Core/lichee/linux-3.4/./Kbuild:36:kernel/bounds.s] 错误 1
make: *** [Makefile:985:prepare0] 错误 2
make: *** 正在等待未完成的任务....
HOSTLD scripts/genksyms/genksyms
make: *** [Makefile:506:scripts] 错误 2
执行下面指令安装库即可解决
sudo apt-get install lib32z1
以上是关于error while loading shared libraries: libz.so.1错误的主要内容,如果未能解决你的问题,请参考以下文章
error while loading shared libraries错误解决
error while loading shared libraries错误解决
error while loading shared libraries: libmcrypt.so.4
error while loading shared libraries: libaio.so.1