Skip to content

Help me how to fix this error. Thx.ย #17

@opensesamedoors

Description

@opensesamedoors

virtual-machine:~/link$ ./link

                                .-') _       .-. .-')   
                               ( OO ) )      \  ( OO )  

,--. ,-.-') ,--./ ,--,' ,--. ,--.
| |.-') | |OO) | \ | |\ | .' /
| | OO ) | | \ | | | ) | /,
| |-' | | |(_/ | . |/ | ' _) (| '---.' ,| |_.' | |\ | | . \ | | (_| | | | \ | | |\ \ ------' --' --' --' --' '--'
Start web server (Y/n)? Y
starting server
Please provide bind address (eg: 0.0.0.0:443): 0.0.0.0:8443
๐Ÿ”— > generate 0.0.0.0:8443
please wait...
link successfully built
No such file or directory (os error 2)
No such file or directory (os error 2)
Could not find DLL

=================================================================
virtual-machine:~/link$ cargo build --release --target x86_64-pc-windows-gnu
Compiling openssl-sys v0.9.80
Compiling serde v1.0.154
error: failed to run custom build command for openssl-sys v0.9.80

Caused by:
process didn't exit successfully: /link/target/release/build/openssl-sys-f925c2be46c076e2/build-script-main (exit status: 101)
--- stdout
cargo:rustc-cfg=const_fn
cargo:rustc-cfg=openssl
cargo:rerun-if-env-changed=X86_64_PC_WINDOWS_GNU_OPENSSL_LIB_DIR
X86_64_PC_WINDOWS_GNU_OPENSSL_LIB_DIR unset
cargo:rerun-if-env-changed=OPENSSL_LIB_DIR
OPENSSL_LIB_DIR unset
cargo:rerun-if-env-changed=X86_64_PC_WINDOWS_GNU_OPENSSL_INCLUDE_DIR
X86_64_PC_WINDOWS_GNU_OPENSSL_INCLUDE_DIR unset
cargo:rerun-if-env-changed=OPENSSL_INCLUDE_DIR
OPENSSL_INCLUDE_DIR unset
cargo:rerun-if-env-changed=X86_64_PC_WINDOWS_GNU_OPENSSL_DIR
X86_64_PC_WINDOWS_GNU_OPENSSL_DIR unset
cargo:rerun-if-env-changed=OPENSSL_DIR
OPENSSL_DIR unset

--- 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-pc-windows-gnu
openssl-sys = 0.9.80

', /.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-sys-0.9.80/build/find_normal.rs:191:5
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions