This repository was archived by the owner on Nov 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Build Error due to openssl 0.9.24 #886
Copy link
Copy link
Closed
Labels
Z0-trivialWriting the issue is of the same difficulty as patching the code.Writing the issue is of the same difficulty as patching the code.
Milestone
Description
On macOS 10.14 (Mojave) running cargo build fails with
➜ substrate git:(master) cargo build
Compiling openssl v0.9.24
Compiling sr-io v0.1.0 (/Users/adrian/Desktop/code/polkadot/substrate/core/sr-io)
Compiling safe-mix v1.0.0
Compiling sr-sandbox v0.1.0 (/Users/adrian/Desktop/code/polkadot/substrate/core/sr-sandbox)
Compiling trie-db v0.9.0 (https://github.com/paritytech/trie#b3b3209e)
Compiling kvdb v0.1.0
Compiling getset v0.0.6
Compiling parking_lot v0.4.8
error: failed to run custom build command for `openssl v0.9.24`
process didn't exit successfully: `/Users/adrian/Desktop/code/polkadot/substrate/target/debug/build/openssl-6d9e1e02e1314785/build-script-build` (exit code: 101)
--- stderr
thread 'main' panicked at 'Unable to detect OpenSSL version', /Users/adrian/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/build.rs:16:14
note: Run with `RUST_BACKTRACE=1` for a backtrace.
warning: build failed, waiting for other jobs to finish...
error: build failedThis issue is also described in #800 . Both openssl and libressl are installed with brew install openssl libressl.
The openssl v0.9.24 and openssl-sys v0.9.33 are pulled in through ws 0.7.8.
The two approaches I can currently think of are:
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Z0-trivialWriting the issue is of the same difficulty as patching the code.Writing the issue is of the same difficulty as patching the code.