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

main分支 alpine 容器内构建 make openssl 失败 #558

Closed
figureout opened this issue Feb 4, 2024 · 3 comments
Closed

main分支 alpine 容器内构建 make openssl 失败 #558

figureout opened this issue Feb 4, 2024 · 3 comments

Comments

@figureout
Copy link

aea26a1fb79e:/work# bash make.sh all-library
build openssl
# Fix openssl error, "-ldl" should not be added when compiling statically
sed -i 's/add("-ldl", threads("-pthread"))/add(threads("-pthread"))/g' ./Configurations/10-main.conf
# ./Configure LIST
./config -static --static no-shared enable-tls1_3 --release
--prefix=/usr/local/swoole-cli/openssl
--libdir=/usr/local/swoole-cli/openssl/lib
--openssldir=/etc/ssl

Configuring OpenSSL version 3.1.4+quic for target linux-x86_64
Using os-specific seed configuration
Created configdata.pm
Running configdata.pm
Created Makefile.in
Created Makefile
Created include/openssl/configuration.h



*** OpenSSL has been successfully configured ***


*** If you encounter a problem while building, please open an ***
*** issue on GitHub https://github.com/openssl/openssl/issues ***
*** and include the output from the following command: ***


*** perl configdata.pm --dump ***


*** (If you are new to OpenSSL, you might want to consult the ***
*** 'Troubleshooting' section in the INSTALL.md file first) ***



perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/crypto/bn_conf.h.in > include/crypto/bn_conf.h
make: /bin/sh: Operation not permitted

@figureout figureout changed the title make openssl 失败 main分支 alpine下 make openssl 失败 Feb 4, 2024
@figureout figureout changed the title main分支 alpine下 make openssl 失败 main分支 alpine 容器内构建 make openssl 失败 Feb 4, 2024
@figureout
Copy link
Author

image

@figureout
Copy link
Author

切换到experiment分支一样的问题

@figureout
Copy link
Author

figureout commented Feb 4, 2024

自己解决了,根据这个issue的回答,把docker升级了一下解决了,alpinelinux/docker-alpine#182
Uploading image.png…

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