cargo-edit
cargo-edit copied to clipboard
cargo install cargo-edit failed.
git checkout openssl-3.0.0
./Configure
make j8 && make install
cargo install cargo-edit
Compiling cargo-edit v0.11.6
error: linking with `cc` failed: exit status: 1
|
= note: "cc" "-m64" "/tmp/rustcK7BMDI/symbols.o" "/tmp/cargo-installYOe2gk/release/deps/cargo_rm-5a9a0722b038c830.cargo_rm.95ec3325-cgu.0.rcgu.o" "/tmp/cargo-installYOe2gk/release/deps/cargo_rm-5a9a0722b038c830.cargo_rm.95ec3325-cgu.1.rcgu.o"
..........................................................................................
= note: /usr/bin/ld: /tmp/cargo-installYOe2gk/release/deps/liblibssh2_sys-b352d6f683bf7c5e.rlib(openssl.o): undefined reference to symbol 'EVP_PKEY_get_id@@OPENSSL_3.0.0'
/usr/bin/ld: /usr/local/lib64/libcrypto.so.3: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
= help: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified
= note: use the `-l` flag to specify native libraries to link
= note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#cargorustc-link-libkindname)
error: could not compile `cargo-edit` due to previous error
error: failed to compile `cargo-edit v0.11.6`, intermediate artifacts can be found at `/tmp/cargo-installYOe2gk`