sudo apt-为18.04 LTS进行更新和升级,重新安装'zlib-1.2.11.tar.gz‘如何重新安装zlib1g_1.2.11来自根访问以从build.sh文件中的共享库文件代码恢复启动失败Found linux image: /boot/vmlinuz-4.15.0-118-generic
Found initrd image: /boot/initrd.img-4.15.0-118-genericFound linux
我已经尝试升级PIP和pillow,但发现另一个错误:错误:pip的依赖解析器当前没有考虑所有已安装的包。此行为是以下依赖项冲突的根源。pillow_6f6eee9de0ba4d39860be5d1c9e6fb13/ The headers or library files could not be found for zlibbuild_extensions __main__.RequiredDependencyException:
如何将find_package()指向我的“自定义”目录$SYSROOT/usr/lib/arm-linux-gnueabihf/,以便它能够找到libz.so?/sysroot/usr/include/zlib.hcmake_minimum_required(VERSION 3.18) Could NOT find ZL