guyoung/CaptfEncoder

M1运行报错 已安装GMP library

ChineseBoysGZ opened this issue · 1 comments

dyld[20792]: Library not loaded: '/usr/local/opt/gmp/lib/libgmp.10.dylib'
Referenced from: '/Users/luobo/Documents/常用工具文件/编码加解密工具/CaptfEncoder-darwin-x64-3.1.2.bin'
Reason: tried: '/usr/local/opt/gmp/lib/libgmp.10.dylib' (no such file), '/usr/local/lib/libgmp.10.dylib' (mach-o file, but is an incompatible architecture (have (arm64), need (x86_64))), '/usr/lib/libgmp.10.dylib' (no such file)
zsh: abort ./CaptfEncoder-darwin-x64-3.1.2.bin

安装了GMP library

HyWell commented

可以通过手动运行解决

export LIBRARY_PATH=/usr/local/lib
cd CaptfEncoder/CaptfEncoder-V3
cargo run