I used tcmalloc in my one project, but when I tried to use nextest, it complained about cannot open shared object file:
/home/chien/Developments/Rust/lock-free/target/debug/deps/lock_free-502d561706e2470e: error while loading shared libraries: libtcmalloc.so.4: cannot open shared object file: No such file or directory
Error:
0: error building test list
1: running ''/home/chien/Developments/Rust/lock-free/target/debug/deps/lock_free-502d561706e2470e --list --format --terse'' failed
2: command ["/home/chien/Developments/Rust/lock-free/target/debug/deps/lock_free-502d561706e2470e", "--list", "--format", "terse"] exited with code 127
Backtrace omitted.
Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.
but it works fine when i use cargo test.
here is my environment information:
rustc ver: 1.60.0-nightly
rustup ver: 1.24.3
cargo ver: 1.60.0-nightly
os: Debian GNU/Linux 11 (bullseye)
kernel: 5.10.0-11-amd64
I used tcmalloc in my one project, but when I tried to use nextest, it complained about cannot open shared object file:
but it works fine when i use
cargo test.here is my environment information: