Failed to add aws-sdk-rust to dependency within cargo.toml

74 views Asked by At

I'm build a Rust project integrating with AWS. I'm going to use aws-sdk-rust crate and added it into cargo.toml. But I faced an issue, and wasn't able to fix it.

Here's the issue content.

error: failed to run custom build command for openssl v0.9.24 Caused by: process didn't exit successfully: /home/simon/Documents/Meta/Binarite/target/debug/build/openssl-7e671383bd034c48/build-script-build (exit status: 101) --- stderr thread 'main' panicked at /home/simon/.cargo/registry/src/index.crates.io-6f17d22bba15001f/openssl-0.9.24/build.rs:16:14: Unable to detect OpenSSL version note: run with RUST_BACKTRACE=1 environment variable to display a backtrace warning: build failed, waiting for other jobs to finish...

Here's what I tried to solve this.

But all above does not work. How to fix this?

0

There are 0 answers