Reading package lists... Done
Building dependency tree
Reading state information... Done
pkg-config is already the newest version (0.29.1-0ubuntu4).
libclang-dev is already the newest version (1:10.0-50~exp1).
musl-tools is already the newest version (1.1.24-1).
build-essential is already the newest version (12.8ubuntu1.1).
cmake is already the newest version (3.16.3-1ubuntu1.20.04.1).
perl is already the newest version (5.30.0-9ubuntu0.5).
0 upgraded, 0 newly installed, 0 to remove and 63 not upgraded.
cargo run
--- stderr
thread 'main' panicked at /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rboring-sys-4.11.1/build/main.rs:762:39:
Unable to generate bindings: NotExist("/root/rust/api_server/include/openssl/x509v3.h")
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
as you can see all actions are followed the readme. using Ubuntu 20.04
Cargo.toml
sudo apt-get install build-essential cmake perl pkg-config libclang-dev musl-tools -y
cargo run