Skip to content
This repository was archived by the owner on Jan 7, 2025. It is now read-only.

Getting an error: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory #602

@reselbob

Description

@reselbob

Hi:

I am trying to run the setup example in the readme. I am running Fedora release 37 (Thirty Seven).

When I run $ npm run build:program-rust get an error in the following output:

> [email protected] build:program-rust
> cargo build-bpf --manifest-path=./src/program-rust/Cargo.toml --bpf-out-dir=dist/program

Warning: cargo-build-bpf is deprecated. Please, use cargo-build-sbf
cargo-build-bpf child: /home/reselbob/.local/share/solana/install/active_release/bin/cargo-build-sbf --manifest-path=./src/program-rust/Cargo.toml --sbf-out-dir=dist/program --arch bpf
/home/reselbob/.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 have installed OpenSSL, which I thought would address the problem. But that effort did not help.

Help? Please?

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