I'm getting the following messages and error when running anchor test
in Kali Linux:
anchor test
BPF SDK: /home/kali/.local/share/solana/install/releases/1.9.5/solana-release/bin/sdk/bpf
cargo-build-bpf child: rustup toolchain list -v
cargo-build-bpf child: cargo +bpf build --target bpfel-unknown-unknown --release
/home/kali/.rustup/toolchains/bpf/bin/cargo: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory
I'm using the versions:
solana-cli 1.9.5
cargo and rustc 1.68.0
anchor-cli 0.26.0
node 16.19.1
openssl 3.0.8
I'm running the test in the sample project created with anchor init
.
Tried installing an Ubuntu version of libssl
but it didn't work.
Already installed libssl-dev
, which is in the folder /usr/lib/x86_64-linux-gnu/libssl.so.3
, but the problem still persists.
Any suggestion? TIA!