re: Intro to Web Development with Rust for NodeJS Developers VIEW POST


you might get something like this when you try to cargo build withh reqwest

error: failed to run custom build command for `openssl-sys v0.9.42`
process didn't exit successfully: `/home/john/git/rust/webapptest/target/debug/build/openssl-sys-ee15cf4bf02eea9b/build-script-main` (exit code: 101)

and this

Make sure you also have the development packages of openssl installed.
For example, `libssl-dev` on Ubuntu or `openssl-devel` on Fedora.

so ... sudo apt-get install libssl-dev ... rebuild and it runs!


I ran this on macOS, so thanks for checking it on Ubuntu!

code of conduct - report abuse