Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cargo: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory #121

Open
lrettig opened this issue May 7, 2024 · 1 comment

Comments

@lrettig
Copy link

lrettig commented May 7, 2024

I'm getting this error when trying to run some of the scripts on ubuntu, e.g.:

ubuntu@legal-redbird:~/polkavm$ ./ci/jobs/rustfmt.sh
>> cargo fmt
>> cargo fmt (zygote)
>> cargo fmt (guests)
/home/ubuntu/.rustup/toolchains/riscv32em-nightly-2024-01-05-r0-x86_64-unknown-linux-gnu/bin/cargo: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory
ubuntu@legal-redbird:~/polkavm$ cd guest-programs
ubuntu@legal-redbird:~/polkavm/guest-programs$ ./build-test-data.sh
> Building: 'bench-pinky' (-> ../test-data/bench-pinky.elf.zst)
/home/ubuntu/.rustup/toolchains/riscv32em-nightly-2024-01-05-r0-x86_64-unknown-linux-gnu/bin/cargo: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory
ubuntu@legal-redbird:~$ uname -a
Linux legal-redbird 6.8.0-31-generic #31-Ubuntu SMP PREEMPT_DYNAMIC Sat Apr 20 00:40:06 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
ubuntu@legal-redbird:~$ cat /etc/os-release
PRETTY_NAME="Ubuntu 24.04 LTS"
NAME="Ubuntu"
VERSION_ID="24.04"
VERSION="24.04 LTS (Noble Numbat)"

I worked around this by following these steps.

@xlc
Copy link

xlc commented May 8, 2024

Duplicated to paritytech/rustc-rv32e-toolchain#25

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants