Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error: failed to run custom build command for openssl v0.9.24 #17

Open
brunoaduarte opened this issue May 25, 2020 · 1 comment
Open

Comments

@brunoaduarte
Copy link

Anyone knows how to fix this error when running "cargo build" ?

ubuntu@DESKTOP-M215UM3:~/whatsappweb-rs$ cargo build
warning: `default-features = [".."]` was found in [features]. Did you mean to use `default = [".."]`?
    Updating crates.io index
   Compiling libc v0.2.42
   Compiling cfg-if v0.1.4
   Compiling lazy_static v1.0.1
   Compiling nodrop v0.1.12
   Compiling scopeguard v0.3.3
   Compiling memoffset v0.2.1
   Compiling cc v1.0.17
   Compiling rayon-core v1.4.0
   Compiling num-traits v0.2.5
   Compiling byteorder v1.2.3
   Compiling num-integer v0.1.39
   Compiling unicode-xid v0.1.0
   Compiling gcc v0.3.54
   Compiling pkg-config v0.3.11
   Compiling protobuf v2.14.0
   Compiling num-iter v0.1.37
   Compiling adler32 v1.0.3
   Compiling matches v0.1.6
   Compiling either v1.5.0
   Compiling color_quant v1.0.1
   Compiling lzw v0.10.0
   Compiling httparse v1.3.2
   Compiling bitflags v1.0.3
   Compiling serde v1.0.68
   Compiling openssl v0.9.24
   Compiling unicode-normalization v0.1.7
   Compiling foreign-types-shared v0.1.1
   Compiling slab v0.4.0
   Compiling scoped_threadpool v0.1.9
   Compiling bitflags v0.9.1
   Compiling rustc-demangle v0.1.8
   Compiling lazycell v0.6.0
   Compiling percent-encoding v1.0.1
   Compiling checked_int_cast v1.0.0
   Compiling slab v0.3.0
   Compiling untrusted v0.5.1
   Compiling sha1 v0.6.0
   Compiling safemem v0.2.0
   Compiling lazy_static v0.2.11
   Compiling rustc-serialize v0.3.24
   Compiling json v0.11.13
   Compiling crossbeam-utils v0.2.2
   Compiling log v0.4.3
   Compiling arrayvec v0.4.7
   Compiling proc-macro2 v0.4.6
   Compiling inflate v0.4.3
   Compiling unicode-bidi v0.3.4
   Compiling deflate v0.7.18
   Compiling gif v0.10.0
   Compiling rand v0.4.2
   Compiling num_cpus v1.8.0
   Compiling iovec v0.1.2
   Compiling time v0.1.40
   Compiling net2 v0.2.33
   Compiling foreign-types v0.3.2
   Compiling base64 v0.9.2
   Compiling rust-crypto v0.2.36
   Compiling crossbeam-epoch v0.3.1
   Compiling quote v0.6.3
   Compiling openssl-sys v0.9.33
   Compiling backtrace-sys v0.1.23
   Compiling bytes v0.4.8
   Compiling simple_logger v0.5.0
   Compiling rand v0.3.22
   Compiling idna v0.1.4
   Compiling mio v0.6.14
   Compiling syn v0.14.2
   Compiling crossbeam-deque v0.2.0
error: failed to run custom build command for `openssl v0.9.24`

Caused by:
  process didn't exit successfully: `/home/ubuntu/whatsappweb-rs/target/debug/build/openssl-fb3d64af2120d4e0/build-script-build` (exit code: 101)
--- stderr
thread 'main' panicked at 'Unable to detect OpenSSL version', /home/ubuntu/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/build.rs:16:14
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.

warning: build failed, waiting for other jobs to finish...
error: build failed
@ec2-learn-instant
Copy link

ec2-learn-instant commented Nov 23, 2022

Same issue happened for me. Any solution for this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants