Skip to content

Instantly share code, notes, and snippets.

@ralphtheninja
Created April 9, 2018 10:31
Show Gist options
  • Save ralphtheninja/b4590b3a92c04b4e629827116814bca4 to your computer and use it in GitHub Desktop.
Save ralphtheninja/b4590b3a92c04b4e629827116814bca4 to your computer and use it in GitHub Desktop.
Compiling serde_json v1.0.13
error: failed to run custom build command for `openssl-sys v0.9.28`
process didn't exit successfully: `/home/lms/src/DATRS/hypercore/target/debug/build/openssl-sys-f9857b73d48368b4/build-script-build` (exit code: 101)
--- stdout
cargo:rerun-if-env-changed=X86_64_UNKNOWN_LINUX_GNU_OPENSSL_LIB_DIR
cargo:rerun-if-env-changed=OPENSSL_LIB_DIR
cargo:rerun-if-env-changed=X86_64_UNKNOWN_LINUX_GNU_OPENSSL_INCLUDE_DIR
cargo:rerun-if-env-changed=OPENSSL_INCLUDE_DIR
cargo:rerun-if-env-changed=X86_64_UNKNOWN_LINUX_GNU_OPENSSL_DIR
cargo:rerun-if-env-changed=OPENSSL_DIR
run pkg_config fail: "`\"pkg-config\" \"--libs\" \"--cflags\" \"openssl\"` did not exit successfully: exit code: 1\n--- stderr\nPackage openssl was not found in the pkg-config search path.\nPerhaps you should add the directory containing `openssl.pc\'\nto the PKG_CONFIG_PATH environment variable\nNo package \'openssl\' found\n"
--- stderr
thread 'main' panicked at '
Could not find directory of OpenSSL installation, and this `-sys` crate cannot
proceed without this knowledge. If OpenSSL is installed and this crate had
trouble finding it, you can set the `OPENSSL_DIR` environment variable for the
compilation process.
If you're in a situation where you think the directory *should* be found
automatically, please open a bug at https://github.com/sfackler/rust-openssl
and include information about your system as well as this message.
$HOST = x86_64-unknown-linux-gnu
$TARGET = x86_64-unknown-linux-gnu
openssl-sys = 0.9.28
', /home/lms/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-sys-0.9.28/build.rs:213:5
note: Run with `RUST_BACKTRACE=1` for a backtrace.
warning: build failed, waiting for other jobs to finish...
error: build failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment