android-rs-glue
android-rs-glue copied to clipboard
Installing cargo-apk crate results in `failed to run custom build command for `openssl v0.9.24``
Using rust stable installed from rustup today on a fully updated Arch Linux system when trying to cargo install cargo-apk
, gives:
error: failed to run custom build command for `openssl v0.9.24`
process didn't exit successfully: `/tmp/cargo-installw66uL0/release/build/openssl-700208eb71c8ae94/build-script-build` (exit code: 101)
--- stderr
thread 'main' panicked at 'Unable to detect OpenSSL version', /home/theartist/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/build.rs:16:14
note: Run with `RUST_BACKTRACE=1` for 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-installw66uL0`
Caused by:
build failed
Check https://github.com/sfackler/rust-openssl#linux - do you have the correct version of system OpenSSL installed?
Yep, openssl version gives: OpenSSL 1.1.1 11 Sep 2018
. The problem resides with version 0.4.0 in crates.io . I built it from the current master and it works good, it would be nice if you updated the repository package with the latest version!
This is related to #221