栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 系统运维 > 运维 > Linux

error while loading shared libraries: libz.so.1错误

Linux 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

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

转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/642257.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号