搜索

225

主题

339

帖子

2247

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
2247
QQ
发表于 2021-9-18 13:45:37 323 浏览 0 回复

error while loading shared libraries: libz.so.1

MT6762 Android9.0 编译报错,报错内容如下:
  1. generating /home/ake1/alps-release-p0.mp1-V5/out/target/product/k62v1_64_bsp/obj/BOOTLOADER_OBJ/build-k62v1_64_bsp/system-onesegment.ld
  2. dev/logo/tool/zpipe -l 9 /home/ake1/alps-release-p0.mp1-V5/out/target/product/k62v1_64_bsp/obj/BOOTLOADER_OBJ/build-k62v1_64_bsp/dev/logo/hd720.raw /home/ake1/alps-release-p0.mp1-V5/out/target/product/k62v1_64_bsp/obj/BOOTLOADER_OBJ/build-k62v1_64_bsp/dev/logo/hd720/hd720_uboot.raw /home/ake1/alps-release-p0.mp1-V5/out/target/product/k62v1_64_bsp/obj/BOOTLOADER_OBJ/build-k62v1_64_bsp/dev/logo/hd720/hd720_battery.raw /home/ake1/alps-release-p0.mp1-V5/out/target/product/k62v1_64_bsp/obj/BOOTLOADER_OBJ/build-k62v1_64_bsp/dev/logo/hd720/hd720_low_battery.raw /home/ake1/alps-release-p0.mp1-V5/out/target/product/k62v1_64_bsp/obj/BOOTLOADER_OBJ/build-k62v1_64_bsp/dev/logo/hd720/hd720_charger_ov.raw /home/ake1/alps-release-p0.mp1-V5/out/target/product/k62v1_64_bsp/obj/BOOTLOADER_OBJ/build-k62v1_64_bsp/dev/logo/hd720/hd720_num_0.raw /home/ake1/alps-release-p0.mp1-V5/out/target/product/k62v1_64_bsp/obj/BOOTLOADER_OBJ/build-k62v1_64_bsp/dev/logo/hd720/hd720_num_1.raw /home/ake1/alps-release-p0.mp1-V5/out/target/product/k62v1_64_bsp/obj/BOOTLOADER_OBJ/build-k62v1_64_bsp/dev/logo/hd720/hd720_num_2.raw /home/ake1/alps-release-p0.mp1-V5/out/target/product/k62v1_64_bsp/obj/BOOTLOADER_OBJ/build-k62v1_64_bsp/dev/logo/hd720/hd720_num_3.raw /home/ake1/alps-release-p0.mp1-V5/out/target/product/k62v1_64_bsp/obj/BOOTLOADER_OBJ/build-k62v1_64_bsp/dev/logo/hd720/hd720_num_4.raw /home/ake1/alps-release-p0.mp1-V5/out/target/product/k62v1_64_bsp/obj/BOOTLOADER_OBJ/build-k62v1_64_bsp/dev/logo/hd720/hd720_num_5.raw /home/ake1/alps-release-p0.mp1-V5/out/target/product/k62v1_64_bsp/obj/BOOTLOADER_OBJ/build-k62v1_64_bsp/dev/logo/hd720/hd720_num_6.raw /home/ake1/alps-release-p0.mp1-V5/out/target/product/k62v1_64_bsp/obj/BOOTLOADER_OBJ/build-k62v1_64_bsp/dev/logo/hd720/hd720_num_7.raw /home/ake1/alps-release-p0.mp1-V5/out/target/product/k62v1_64_bsp/obj/BOOTLOADER_OBJ/build-k62v1_64_bsp/dev/logo/hd720/hd720_num_8.raw /home/ake1/alps-release-p0.mp1-V5/out/target/product/k62v1_64_bsp/obj/BOOTLOADER_OBJ/build-k62v1_64_bsp/dev/logo/hd720/hd720_num_9.raw /home/ake1/alps-release-p0.mp1-V5/out/target/product/k62v1_64_bsp/obj/BOOTLOADER_OBJ/build-k62v1_64_bsp/dev/logo/hd720/hd720_num_percent.raw /home/ake1/alps-release-p0.mp1-V5/out/target/product/k62v1_64_bsp/obj/BOOTLOADER_OBJ/build-k62v1_64_bsp/dev/logo/hd720/hd720_bat_animation_01.raw /home/ake1/alps-release-p0.mp1-V5/out/target/product/k62v1_64_bsp/obj/BOOTLOADER_OBJ/build-k62v1_64_bsp/dev/logo/hd720/hd720_bat_animation_02.raw /home/ake1/alps-release-p0.mp1-V5/out/target/product/k62v1_64_bsp/obj/BOOTLOADER_OBJ/build-k62v1_64_bsp/dev/logo/hd720/hd720_bat_animation_03.raw /home/ake1/alps-release-p0.mp1-V5/out/target/product/k62v1_64_bsp/obj/BOOTLOADER_OBJ/build-k62v1_64_bsp/dev/logo/hd720/hd720_bat_animation_04.raw /home/ake1/alps-release-p0.mp1-V5/out/target/product/k62v1_64_bsp/obj/BOOTLOADER_OBJ/build-k62v1_64_bsp/dev/logo/hd720/hd720_bat_animation_05.raw /home/ake1/alps-release-p0.mp1-V5/out/target/product/k62v1_64_bsp/obj/BOOTLOADER_OBJ/build-k62v1_64_bsp/dev/logo/hd720/hd720_bat_animation_06.raw /home/ake1/alps-release-p0.mp1-V5/out/target/product/k62v1_64_bsp/obj/BOOTLOADER_OBJ/build-k62v1_64_bsp/dev/logo/hd720/hd720_bat_animation_07.raw /home/ake1/alps-release-p0.mp1-V5/out/target/product/k62v1_64_bsp/obj/BOOTLOADER_OBJ/build-k62v1_64_bsp/dev/logo/hd720/hd720_bat_animation_08.raw /home/ake1/alps-release-p0.mp1-V5/out/target/product/k62v1_64_bsp/obj/BOOTLOADER_OBJ/build-k62v1_64_bsp/dev/logo/hd720/hd720_bat_animation_09.raw /home/ake1/alps-release-p0.mp1-V5/out/target/product/k62v1_64_bsp/obj/BOOTLOADER_OBJ/build-k62v1_64_bsp/dev/logo/hd720/hd720_bat_animation_10.raw /home/ake1/alps-release-p0.mp1-V5/out/target/product/k62v1_64_bsp/obj/BOOTLOADER_OBJ/build-k62v1_64_bsp/dev/logo/hd720/hd720_bat_10_01.raw /home/ake1/alps-release-p0.mp1-V5/out/target/product/k62v1_64_bsp/obj/BOOTLOADER_OBJ/build-k62v1_64_bsp/dev/logo/hd720/hd720_bat_10_02.raw /home/ake1/alps-release-p0.mp1-V5/out/target/product/k62v1_64_bsp/obj/BOOTLOADER_OBJ/build-k62v1_64_bsp/dev/logo/hd720/hd720_bat_10_03.raw /home/ake1/alps-release-p0.mp1-V5/out/target/product/k62v1_64_bsp/obj/BOOTLOADER_OBJ/build-k62v1_64_bsp/dev/logo/hd720/hd720_bat_10_04.raw /home/ake1/alps-release-p0.mp1-V5/out/target/product/k62v1_64_bsp/obj/BOOTLOADER_OBJ/build-k62v1_64_bsp/dev/logo/hd720/hd720_bat_10_05.raw /home/ake1/alps-release-p0.mp1-V5/out/target/product/k62v1_64_bsp/obj/BOOTLOADER_OBJ/build-k62v1_64_bsp/dev/logo/hd720/hd720_bat_10_06.raw /home/ake1/alps-release-p0.mp1-V5/out/target/product/k62v1_64_bsp/obj/BOOTLOADER_OBJ/build-k62v1_64_bsp/dev/logo/hd720/hd720_bat_10_07.raw /home/ake1/alps-release-p0.mp1-V5/out/target/product/k62v1_64_bsp/obj/BOOTLOADER_OBJ/build-k62v1_64_bsp/dev/logo/hd720/hd720_bat_10_08.raw /home/ake1/alps-release-p0.mp1-V5/out/target/product/k62v1_64_bsp/obj/BOOTLOADER_OBJ/build-k62v1_64_bsp/dev/logo/hd720/hd720_bat_10_09.raw /home/ake1/alps-release-p0.mp1-V5/out/target/product/k62v1_64_bsp/obj/BOOTLOADER_OBJ/build-k62v1_64_bsp/dev/logo/hd720/hd720_bat_10_10.raw /home/ake1/alps-release-p0.mp1-V5/out/target/product/k62v1_64_bsp/obj/BOOTLOADER_OBJ/build-k62v1_64_bsp/dev/logo/hd720/hd720_bat_bg.raw /home/ake1/alps-release-p0.mp1-V5/out/target/product/k62v1_64_bsp/obj/BOOTLOADER_OBJ/build-k62v1_64_bsp/dev/logo/hd720/hd720_bat_img.raw /home/ake1/alps-release-p0.mp1-V5/out/target/product/k62v1_64_bsp/obj/BOOTLOADER_OBJ/build-k62v1_64_bsp/dev/logo/hd720/hd720_bat_100.raw /home/ake1/alps-release-p0.mp1-V5/out/target/product/k62v1_64_bsp/obj/BOOTLOADER_OBJ/build-k62v1_64_bsp/dev/logo/hd720/hd720_kernel.raw /home/ake1/alps-release-p0.mp1-V5/out/target/product/k62v1_64_bsp/obj/BOOTLOADER_OBJ/build-k62v1_64_bsp/dev/logo/hd720/hd720_low_battery01.raw /home/ake1/alps-release-p0.mp1-V5/out/target/product/k62v1_64_bsp/obj/BOOTLOADER_OBJ/build-k62v1_64_bsp/dev/logo/hd720/hd720_low_battery02.raw /home/ake1/alps-release-p0.mp1-V5/out/target/product/k62v1_64_bsp/obj/BOOTLOADER_OBJ/build-k62v1_64_bsp/dev/logo/hd720/hd720_low_battery_remind.raw /home/ake1/alps-release-p0.mp1-V5/out/target/product/k62v1_64_bsp/obj/BOOTLOADER_OBJ/build-k62v1_64_bsp/dev/logo/hd720/hd720_fast_charging_100.raw /home/ake1/alps-release-p0.mp1-V5/out/target/product/k62v1_64_bsp/obj/BOOTLOADER_OBJ/build-k62v1_64_bsp/dev/logo/hd720/hd720_fast_charging_ani-01.raw /home/ake1/alps-release-p0.mp1-V5/out/target/product/k62v1_64_bsp/obj/BOOTLOADER_OBJ/build-k62v1_64_bsp/dev/logo/hd720/hd720_fast_charging_ani-02.raw /home/ake1/alps-release-p0.mp1-V5/out/target/product/k62v1_64_bsp/obj/BOOTLOADER_OBJ/build-k62v1_64_bsp/dev/logo/hd720/hd720_fast_charging_ani-03.raw /home/ake1/alps-release-p0.mp1-V5/out/target/product/k62v1_64_bsp/obj/BOOTLOADER_OBJ/build-k62v1_64_bsp/dev/logo/hd720/hd720_fast_charging_ani-04.raw /home/ake1/alps-release-p0.mp1-V5/out/target/product/k62v1_64_bsp/obj/BOOTLOADER_OBJ/build-k62v1_64_bsp/dev/logo/hd720/hd720_fast_charging_ani-05.raw /home/ake1/alps-release-p0.mp1-V5/out/target/product/k62v1_64_bsp/obj/BOOTLOADER_OBJ/build-k62v1_64_bsp/dev/logo/hd720/hd720_fast_charging_ani-06.raw /home/ake1/alps-release-p0.mp1-V5/out/target/product/k62v1_64_bsp/obj/BOOTLOADER_OBJ/build-k62v1_64_bsp/dev/logo/hd720/hd720_fast_charging_00.raw /home/ake1/alps-release-p0.mp1-V5/out/target/product/k62v1_64_bsp/obj/BOOTLOADER_OBJ/build-k62v1_64_bsp/dev/logo/hd720/hd720_fast_charging_01.raw /home/ake1/alps-release-p0.mp1-V5/out/target/product/k62v1_64_bsp/obj/BOOTLOADER_OBJ/build-k62v1_64_bsp/dev/logo/hd720/hd720_fast_charging_02.raw /home/ake1/alps-release-p0.mp1-V5/out/target/product/k62v1_64_bsp/obj/BOOTLOADER_OBJ/build-k62v1_64_bsp/dev/logo/hd720/hd720_fast_charging_03.raw /home/ake1/alps-release-p0.mp1-V5/out/target/product/k62v1_64_bsp/obj/BOOTLOADER_OBJ/build-k62v1_64_bsp/dev/logo/hd720/hd720_fast_charging_04.raw /home/ake1/alps-release-p0.mp1-V5/out/target/product/k62v1_64_bsp/obj/BOOTLOADER_OBJ/build-k62v1_64_bsp/dev/logo/hd720/hd720_fast_charging_05.raw /home/ake1/alps-release-p0.mp1-V5/out/target/product/k62v1_64_bsp/obj/BOOTLOADER_OBJ/build-k62v1_64_bsp/dev/logo/hd720/hd720_fast_charging_06.raw /home/ake1/alps-release-p0.mp1-V5/out/target/product/k62v1_64_bsp/obj/BOOTLOADER_OBJ/build-k62v1_64_bsp/dev/logo/hd720/hd720_fast_charging_07.raw /home/ake1/alps-release-p0.mp1-V5/out/target/product/k62v1_64_bsp/obj/BOOTLOADER_OBJ/build-k62v1_64_bsp/dev/logo/hd720/hd720_fast_charging_08.raw /home/ake1/alps-release-p0.mp1-V5/out/target/product/k62v1_64_bsp/obj/BOOTLOADER_OBJ/build-k62v1_64_bsp/dev/logo/hd720/hd720_fast_charging_09.raw /home/ake1/alps-release-p0.mp1-V5/out/target/product/k62v1_64_bsp/obj/BOOTLOADER_OBJ/build-k62v1_64_bsp/dev/logo/hd720/hd720_fast_charging_percent.raw
  3. dev/logo/tool/zpipe: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory
  4. make[1]: *** [/home/ake1/alps-release-p0.mp1-V5/out/target/product/k62v1_64_bsp/obj/BOOTLOADER_OBJ/build-k62v1_64_bsp/dev/logo/hd720.raw] Error 127
  5. make[1]: *** Waiting for unfinished jobs....
  6. /home/ake1/alps-release-p0.mp1-V5/out/target/product/k62v1_64_bsp/obj/BOOTLOADER_OBJ/build-k62v1_64_bsp/version.h.tmp /home/ake1/alps-release-p0.mp1-V5/out/target/product/k62v1_64_bsp/obj/BOOTLOADER_OBJ/build-k62v1_64_bsp/version.h differ: byte 170, line 4
  7. make[1]: Leaving directory `/home/ake1/alps-release-p0.mp1-V5/vendor/mediatek/proprietary/bootable/bootloader/lk'
  8. make: *** [make-make] Error 2
  9. make: Leaving directory `/home/ake1/alps-release-p0.mp1-V5/vendor/mediatek/proprietary/bootable/bootloader/lk'
  10. [  0% 140/122378] host C++: libdiagnose_usb <= system/core/adb/diagnose_usb.cpp
复制代码

解决方案:

sudo apt-get install lib32ncurses5     

sudo apt-get install lib32z1


手机微信同号:13682654092
回复

使用道具 举报

返回列表
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则


登录或注册
快速回复 返回顶部 返回列表