You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Our project currently relies on jemalloc for all targets except msvc ones; recently I tried cross compiling from Linux to windows via mingw64 on Ubuntu. However, the build cargo build --target x86_64-pc-windows-gnu failed with:
error: could not find native static library `jemalloc`, perhaps an -L flag is missing?
error: aborting due to previous error
error: could not compile `jemalloc-sys`.
Caused by:
process didn't exit successfully: `rustc --crate-name jemalloc_sys /home/sayan/.cargo/registry/src/github.com-1ecc6299db9ec823/jemalloc-sys-0.3.2/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="background_threads_runtime_support"' -C metadata=592eff35d4f0dba5 -C extra-filename=-592eff35d4f0dba5 --out-dir /home/sayan/terrabasedb/target/x86_64-pc-windows-gnu/debug/deps --target x86_64-pc-windows-gnu -L dependency=/home/sayan/terrabasedb/target/x86_64-pc-windows-gnu/debug/deps -L dependency=/home/sayan/terrabasedb/target/debug/deps --extern libc=/home/sayan/terrabasedb/target/x86_64-pc-windows-gnu/debug/deps/liblibc-f8c318a8f004413f.rmeta --cap-lints allow -L native=/home/sayan/terrabasedb/target/x86_64-pc-windows-gnu/debug/build/jemalloc-sys-6b79eb43e4607fb4/out/build/lib --cfg prefixed -l static=jemalloc` (exit code: 1)
warning: build failed, waiting for other jobs to finish...
error: build failed
I'm on rust 1.47 (stable channel)
The text was updated successfully, but these errors were encountered:
Came across this issue as well, same circumstances. #153 also seems to have the exact same issue but unfortunately, their solution did not work for me, it might work for you though!
Our project currently relies on
jemalloc
for all targets exceptmsvc
ones; recently I tried cross compiling from Linux to windows via mingw64 on Ubuntu. However, the buildcargo build --target x86_64-pc-windows-gnu
failed with:I'm on rust 1.47 (stable channel)
The text was updated successfully, but these errors were encountered: