penumbra-x / rquest

A high-performance asynchronous Rust HTTP client with TLS, JA3/JA4, and HTTP2 fingerprint spoof
Apache License 2.0
69 stars 12 forks source link

Build error on Ubuntu 20.04 #86

Open r1dddy4sv opened 4 days ago

r1dddy4sv commented 4 days ago

as you can see all actions are followed the readme. using Ubuntu 20.04

Cargo.toml

[dependencies] tokio = { version = "1", features = ["full"] } rquest = "0.27"

sudo apt-get install build-essential cmake perl pkg-config libclang-dev musl-tools -y

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...

AliaSabur commented 3 days ago

Do not compile with crates that depend on OpenSSL; their prefixing symbols are the same and may cause linking failures.