wasm-pack
wasm-pack copied to clipboard
Can't install wasm-pack in alpine linux
I trying to install wasm-pack in alpine linux, but cannot install, error logs below
How I can install wasm-pack in alpine linux ?
error: failed to run custom build command for `openssl-sys v0.9.70`
Caused by:
process didn't exit successfully: `/tmp/cargo-installfWLMB8/release/build/openssl-sys-da87728c1a7d929e/build-script-main` (exit status: 101)
--- stdout
cargo:rustc-cfg=const_fn
cargo:rerun-if-env-changed=X86_64_ALPINE_LINUX_MUSL_OPENSSL_NO_VENDOR
X86_64_ALPINE_LINUX_MUSL_OPENSSL_NO_VENDOR unset
cargo:rerun-if-env-changed=OPENSSL_NO_VENDOR
OPENSSL_NO_VENDOR unset
--- stderr
thread 'main' panicked at 'don't know how to configure OpenSSL for x86_64-alpine-linux-musl', /root/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/openssl-src-300.0.2+3.0.0/src/lib.rs:296:18
stack backtrace:
0: rust_begin_unwind
1: std::panicking::begin_panic_fmt
2: openssl_src::Build::build
3: build_script_main::find_vendored::get_openssl
4: build_script_main::find_openssl
5: build_script_main::main
6: core::ops::function::FnOnce::call_once
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
warning: build failed, waiting for other jobs to finish...
error: failed to compile `wasm-pack v0.10.1`, intermediate artifacts can be found at `/tmp/cargo-installfWLMB8`
curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh