-
Notifications
You must be signed in to change notification settings - Fork 236
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
Static build CKB's release with openssl 3
#4159
Comments
Related: nervosnetwork/ckb-cli#566 |
We can't use
Caused by:
process didn't exit successfully: `/ckb/target/prod/build/openssl-sys-9f0e66e82e308245/build-script-main` (exit status: 1)
--- stderr
/ckb/target/prod/build/openssl-sys-9f0e66e82e308245/build-script-main: /lib64/libc.so.6: version `GLIBC_2.25' not found (required by /ckb/target/prod/build/openssl-sys-9f0e66e82e308245/build-script-main)
/ckb/target/prod/build/openssl-sys-9f0e66e82e308245/build-script-main: /lib64/libc.so.6: version `GLIBC_2.27' not found (required by /ckb/target/prod/build/openssl-sys-9f0e66e82e308245/build-script-main)
/ckb/target/prod/build/openssl-sys-9f0e66e82e308245/build-script-main: /lib64/libc.so.6: version `GLIBC_2.18' not found (required by /ckb/target/prod/build/openssl-sys-9f0e66e82e308245/build-script-main)
warning: build failed, waiting for other jobs to finish...
error: /lib64/libc.so.6: version `GLIBC_2.25' not found (required by /ckb/target/prod/deps/libnumext_constructor-034cd93ffbc6e1e3.so) ❯ docker run --rm -it nervos/ckb-docker-builder:centos-7-rust-1.71.1 bash
[root@9574b0e79d5a /]# ldd --version
ldd (GNU libc) 2.17
Copyright (C) 2012 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper. |
try newer version of devtoolset and llvm-toolset |
Thank you. |
openssl 3
openssl 3
@doitian I just found out that the easiest way to make ckb binary statically link SSL is to enable the |
If we enable |
Feature Request
Is your feature request related to a problem? Please describe.
The OpenSSL 1.1.1 series has reached its End of Life, so it's time for us to transition to OpenSSL 3 since CKB is statically built with OpenSSL 1.1.1.
ckb/.github/workflows/package.yaml
Lines 113 to 115 in 6c6ea88
ckb/.github/workflows/package.yaml
Line 198 in 6c6ea88
ckb/.github/workflows/package.yaml
Line 257 in 6c6ea88
We should also consider upgrading the
ckb-docker-builder
:https://github.com/nervosnetwork/ckb-docker-builder/blob/8ce6f4d4a073be833ef07f6a61d038eeb12b5780/centos-7/Dockerfile#L11-L12
The text was updated successfully, but these errors were encountered: