arm64系统运行 electron AppImage 报错
error while loading shared libraries: libz.so: cannot open shared object file: No such file or directory
解决办法
sudo apt install zlib1g-dev
/usr/lib/aarch64-linux-gnu/libz.so
或者
cd /usr/lib/aarch64-linux-gnu
sudo ln -s libz.so.1 libz.so
排查问题
打包electron arm版本 electron-builder --linux --arm64
appimage should link libz.so.1 instead of libz.so
sudo apt install apt-file
sudo apt-file update
sudo apt-file libz.so
yum系统
yum install zlib
rpm -ql zlib
ln -s /usr/lib64/libz.so.1 /usr/lib64/libz.so