Skip to main content
added 4 characters in body
Source Link
Kirima
  • 155
  • 6

I'm using Fedora 36 for dev but I am having trouble running anchor test. I get the following output:

cargo-build-bpf child: /home/0xAckerman/.local/share/solana/install/active_release/bin/cargo-build-sbf --arch bpf
/home/0xAckerman/.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 found this similar question but none of the answers work for Fedora. In particular, I've tried sudo dnf install lsb and

sudo dnf install lsb

and

sudo dnf install openssl-devel

which is basically libssl-dev for Fedora but it's already installed on my system. What am I missing?

I'm using Fedora 36 for dev but I am having trouble running anchor test. I get the following output:

cargo-build-bpf child: /home/0xAckerman/.local/share/solana/install/active_release/bin/cargo-build-sbf --arch bpf
/home/0xAckerman/.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 found this similar question but none of the answers work for Fedora. In particular, I've tried sudo dnf install lsb and

sudo dnf install openssl-devel

which is basically libssl-dev for Fedora but it's already installed on my system. What am I missing?

I'm using Fedora 36 for dev but I am having trouble running anchor test. I get the following output:

cargo-build-bpf child: /home/0xAckerman/.local/share/solana/install/active_release/bin/cargo-build-sbf --arch bpf
/home/0xAckerman/.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 found this similar question but none of the answers work for Fedora. In particular, I've tried

sudo dnf install lsb

and

sudo dnf install openssl-devel

which is basically libssl-dev for Fedora but it's already installed on my system. What am I missing?

Source Link
Kirima
  • 155
  • 6

Anchor test fails on Fedora

I'm using Fedora 36 for dev but I am having trouble running anchor test. I get the following output:

cargo-build-bpf child: /home/0xAckerman/.local/share/solana/install/active_release/bin/cargo-build-sbf --arch bpf
/home/0xAckerman/.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 found this similar question but none of the answers work for Fedora. In particular, I've tried sudo dnf install lsb and

sudo dnf install openssl-devel

which is basically libssl-dev for Fedora but it's already installed on my system. What am I missing?