Repository navigation
Closed
Description
Ubuntu 18.04 LTS
libssl-dev 1.1.1
error: failed to compile nu v0.2.0, intermediate artifacts can be found at /tmp/cargo-installxwPzVk
Caused by:
failed to run custom build command for openssl-sys v0.9.49
Caused by:
process didn't exit successfully: /tmp/cargo-installxwPzVk/release/build/openssl-sys-35dfc077b34e63a5/build-script-main (exit code: 101)
--- stdout
cargo:rustc-cfg=const_fn
cargo:rerun-if-env-changed=X86_64_UNKNOWN_LINUX_GNU_OPENSSL_LIB_DIR
X86_64_UNKNOWN_LINUX_GNU_OPENSSL_LIB_DIR unset
cargo:rerun-if-env-changed=OPENSSL_LIB_DIR
OPENSSL_LIB_DIR unset
cargo:rerun-if-env-changed=X86_64_UNKNOWN_LINUX_GNU_OPENSSL_INCLUDE_DIR
X86_64_UNKNOWN_LINUX_GNU_OPENSSL_INCLUDE_DIR unset
cargo:rerun-if-env-changed=OPENSSL_INCLUDE_DIR
OPENSSL_INCLUDE_DIR unset
cargo:rerun-if-env-changed=X86_64_UNKNOWN_LINUX_GNU_OPENSSL_DIR
X86_64_UNKNOWN_LINUX_GNU_OPENSSL_DIR unset
cargo:rerun-if-env-changed=OPENSSL_DIR
OPENSSL_DIR unset
run pkg_config fail: "Failed to run \"pkg-config\" \"--libs\" \"--cflags\" \"openssl\": No such file or directory (os error 2)"
--- 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.
Make sure you also have the development packages of openssl installed.
For example, libssl-dev on Ubuntu or openssl-devel on Fedora.
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.49
It looks like you're compiling on Linux and also targeting Linux. Currently this
requires the pkg-config utility to find OpenSSL but unfortunately pkg-config
could not be found. If you have OpenSSL installed you can likely fix this by
installing pkg-config.
', /home/johny/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-sys-0.9.49/build/find_normal.rs:150:5
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace.
Any workarounds?
Metadata
Metadata
Assignees
Labels
No labels
Activity
sophiajt commentedon Aug 26, 2019
Not sure - but do you have pkgconfig installed as well? We've seen some issues related to that, I believe.
jankoprowski commentedon Aug 26, 2019
apt install pkg-confighelped! Thanks a lot!sophiajt commentedon Aug 27, 2019
Sound good, closing. Will file an issue to add to README and book
Filesize formatting (nushell#456)
Filesize formatting (#456)
Add overlays chapter (nushell#456)
feat(polars): pivot: provide default --on-cols value if not specified (…
Removed claude settings ang ignore them (#18145)
handle `kill -0` as signal shorthand and update PID handling (#18081)
Add `idx` family of commands for in-memory indexing (#18142)
implement dynamic dispatch for % sigil commands (#18158)
add `--no-commas` flag to `to nuon` for compact output without comma …
fix hide-env, refactor: rename remove_env_var to hide_env_var for cla…
feat(from xlsx): add support for header row (#18189)
150 remaining items
into datetime: accept duration as input (#19402)
bump to dev version (#19512)
Fix job unfreeze fallback for remaining frozen jobs (#19528)
Bump quinn-udp, rustix and xattr to clear the RustSec audit (#19530)
bump rust toolchain to 1.98.1 (#19563)
Bump jiff, nix, parking_lot, sysinfo, ureq and v_htmlescape (#19564)
Fix http response body error message for some content-type (#19121)
Bump rusqlite to 0.43.0 (#19570)
pin notify so we don't need --locked (#19573)
feat(tui): `tui table --column-sizes` sets column widths (#19560)
Bump libz-sys to 1.1.33 to clear RUSTSEC-2026-0544 (#19585)
make hook lists still return a value (#19597)
bump uu_* crates to 0.13.0 (#19620)
make string hooks behave like closure ones (#19600)
Fix the `const_switch_rejects_a_value_that_is_not_a_bool` test on main (