我想将 cargo-apk 安装cargo install cargo-apk
到我的系统 (Linux Mint),但出现此错误
error: failed to run custom build command for `openssl v0.9.24`
Caused by:
process didn't exit successfully: `/tmp/cargo-install7N44TO/release/build/openssl-65bb03053b1fc095/build-script-build` (exit code: 101)
--- stderr
thread 'main' panicked at 'Unable to detect OpenSSL version', /home/jiri/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/build.rs:16:14
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
warning: build failed, waiting for other jobs to finish...
error: failed to compile `cargo-apk v0.4.0`, intermediate artifacts can be found at `/tmp/cargo-install7N44TO`
Caused by:
build failed
我发现我应该安装 libssl-dev,所以我做了,但它没有帮助。