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

Ubuntu 22.04 arm64 ldd ckb libssl not found #4257

Closed
jiangxianliang007 opened this issue Dec 5, 2023 · 3 comments
Closed

Ubuntu 22.04 arm64 ldd ckb libssl not found #4257

jiangxianliang007 opened this issue Dec 5, 2023 · 3 comments
Assignees
Labels
t:bug Type: This doesn't seem right.

Comments

@jiangxianliang007
Copy link

jiangxianliang007 commented Dec 5, 2023

Bug Report

Current Behavior

ldd ckb 
	linux-vdso.so.1 (0x0000ffff9e9c8000)
	libstdc++.so.6 => /lib/aarch64-linux-gnu/libstdc++.so.6 (0x0000ffff9c9e0000)
	libssl.so.1.1 => not found
	libcrypto.so.1.1 => not found
	libgcc_s.so.1 => /lib/aarch64-linux-gnu/libgcc_s.so.1 (0x0000ffff9c9b0000)
	libpthread.so.0 => /lib/aarch64-linux-gnu/libpthread.so.0 (0x0000ffff9c990000)
	libm.so.6 => /lib/aarch64-linux-gnu/libm.so.6 (0x0000ffff9c8f0000)
	libdl.so.2 => /lib/aarch64-linux-gnu/libdl.so.2 (0x0000ffff9c8d0000)
	libc.so.6 => /lib/aarch64-linux-gnu/libc.so.6 (0x0000ffff9c720000)
	/lib/ld-linux-aarch64.so.1 (0x0000ffff9e98f000)

Expected Behavior

Environment

  • CKB version: [ckb_v0.112.1_aarch64-unknown-linux-gnu.tar.gz]
  • Chain: [dev, staging, testnet, mainnet]
  • Operating system: [Ubuntu 22.04]
  • Arch: x64 [6.2.0-1012-aws doc: Refactor README #12~22.04.1-Ubuntu SMP Thu Sep 7 16:00:15 UTC 2023 aarch64 aarch64 aarch64 GNU/Linux]
  • Installation: [GitHub Release, Built from source]

Additional context/Screenshots

@jiangxianliang007 jiangxianliang007 added the t:bug Type: This doesn't seem right. label Dec 5, 2023
@eval-exec eval-exec self-assigned this Dec 5, 2023
@eval-exec
Copy link
Collaborator

eval-exec commented Dec 5, 2023

I will raise the priority level for "statically linking openssl 3" task.
Pull Request: #4179
Testing: #4190

The static linking of CKB on Linux and Windows was successful, but it failed on MacOS, possibly due to sse2 instructions.

I am attempting to disable sse2 on MacOS.


Update on 2023-12-11 Mon:
The issue of encountering illegal instructions by make prod is not related to the sse2 instructions, the problem is related to ckb-rocksdb.

That won't happen on make prod_portable's build.

@doitian
Copy link
Member

doitian commented Mar 5, 2024

@jiangxianliang007 can you confirm this in v0.114.0?

@jiangxianliang007
Copy link
Author

ckb_v0.114.0_aarch64-unknown-linux-gnu$ ldd ckb 
	linux-vdso.so.1 (0x0000ffff824c3000)
	libstdc++.so.6 => /lib/aarch64-linux-gnu/libstdc++.so.6 (0x0000ffff7ff40000)
	libgcc_s.so.1 => /lib/aarch64-linux-gnu/libgcc_s.so.1 (0x0000ffff7ff10000)
	libpthread.so.0 => /lib/aarch64-linux-gnu/libpthread.so.0 (0x0000ffff7fef0000)
	libm.so.6 => /lib/aarch64-linux-gnu/libm.so.6 (0x0000ffff7fe50000)
	libdl.so.2 => /lib/aarch64-linux-gnu/libdl.so.2 (0x0000ffff7fe30000)
	libc.so.6 => /lib/aarch64-linux-gnu/libc.so.6 (0x0000ffff7fc80000)
	/lib/ld-linux-aarch64.so.1 (0x0000ffff8248a000)

v0.114.0 is normal.

@doitian doitian closed this as completed Mar 6, 2024
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

No branches or pull requests

3 participants