Skip to content

Wasi target doesn't find libjemalloc #134

Open
@Ludea

Description

@Ludea

Hi,

I try to target wasip2 target for my app using tikv-jemalloc-sys as dependency.
I get

--- stderr                                 
 install: cannot stat 'lib/libjemalloc.a': No such file or directory                     
install: cannot stat 'lib/libjemalloc_pic.a': No such file or directory                 
make: *** [Makefile:578: install_lib_static] Error 1                                                                                thread 'main' panicked at /data/data/com.termux/files/home/.cargo/git/checkouts/jemallocator-6b23466061f9ecaf/03bed96/jemalloc-sys/build.rs:393:9:                             
command did not execute successfully: 
cd "/data/data/com.termux/files/home/lucle-plugins/target/debug/build/tikv-jemalloc-sys-4cca0b6726d23a5e/out/build" && "make" "install_lib_static" "install_include" "-j" "6"         expected success, got: exit status: 2       
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Jemalloc is installed into /usr/lib

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions