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

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

Closed
yanguoyu opened this issue Aug 30, 2022 · 4 comments · Fixed by #3578
Labels
t:bug Type: This doesn't seem right.

Comments

@yanguoyu
Copy link

Bug Report

Current Behavior

  1. Download release
  2. tar && cd ckb_v0.104.0_x86_64-unknown-linux-gnu
  3. ./ckb init --chain testnet -C testnet
  4. Throw error

image

Expected Behavior

It can start success.

Environment

  • CKB version: v0.104.0
  • Chain: testnet
  • Operating system: Linux Mint 21 Vanessa
  • Arch: x86_64
  • Installation: [GitHub Release]

Additional context/Screenshots

Linux Mint 21 default install openssl 3.0.2. I don't know whether it will help you.

image

image

@yanguoyu yanguoyu added the t:bug Type: This doesn't seem right. label Aug 30, 2022
@driftluo
Copy link
Collaborator

driftluo commented Aug 30, 2022

The runtime environment of ckb depends on libssl1.1.1, you can run sudo apt-get install libssl1.0.0 to install libssl1.1.1.

@doitian
Copy link
Member

doitian commented Aug 30, 2022

Hi, we choose not to bundle OpenSSL statically so user can upgrade libssl for security. It means the binaries we built cannot cover all environments. There are three ways to work around this:

  1. Use the platforms in tier 1 and 2
  2. Install the correct libssl version
  3. Compile from source yourself.

@yanguoyu
Copy link
Author

yanguoyu commented Sep 5, 2022

@doitian
Apple's M1 is based on arm. Ckb node runs success on version 0.103.0. But after the upgrade to 0.104.0, it run failed.
Do you consider support on M1?

0.104.0 run ./ckb --version
image

0.103.0 run ./ckb --version
image

@doitian
Copy link
Member

doitian commented Sep 7, 2022

I forget we decided to statically linking OpenSSL long time ago. But it stops working because of this

eclipse-paho/paho.mqtt.rust#113 (comment)

See a fixing included in #3578

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
t:bug Type: This doesn't seem right.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants