Skip to content

Link against OpenSSL3#590

Merged
adsharma merged 15 commits into
mainfrom
openssl3
Jun 15, 2026
Merged

Link against OpenSSL3#590
adsharma merged 15 commits into
mainfrom
openssl3

Conversation

@adsharma

Copy link
Copy Markdown
Contributor

adsharma added 3 commits June 15, 2026 09:12
Require OpenSSL 3 and prefer imported targets; update CI to point to libssl.so.3/libcrypto.so.3

This ensures builds link against OpenSSL 3 (libssl.so.3) rather than older libssl.so.1 which is EOL.
set EXTRA_CMAKE_FLAGS to point to libssl.so.3/libcrypto.so.3

This helps cibuildwheel/CMake locate OpenSSL v3 inside manylinux images so builds link against OpenSSL 3.
openssl3/openssl3-devel or openssl3/openssl3-dev

Use openssl3 packages on dnf/apk paths so CI containers use OpenSSL 3 instead of older openssl-devel/dev packages.
@adsharma adsharma changed the title Linked against OpenSSL3 Link against OpenSSL3 Jun 15, 2026
@adsharma

adsharma commented Jun 15, 2026

Copy link
Copy Markdown
Contributor Author

Comment thread .github/workflows/build-extensions.yml Fixed
@adsharma adsharma force-pushed the openssl3 branch 2 times, most recently from 9974d27 to b808747 Compare June 15, 2026 18:43
adsharma added 5 commits June 15, 2026 12:02
…CLUDE_DIR to EXTRA_CMAKE_FLAGS

Add -DOPENSSL_ROOT_DIR=/usr and -DOPENSSL_INCLUDE_DIR=/usr/include so CMake FindOpenSSL can find OpenSSL 3 headers during configure.
…nd alpine

Set -DOPENSSL_ROOT_DIR, -DOPENSSL_INCLUDE_DIR and explicit library paths to the openssl3 layout:
- x86_64/manylinux: /usr/lib64/openssl3 and /usr/include/openssl3
- alpine/musl: /usr/lib/openssl3 and /usr/include/openssl3
Set EXTRA_CMAKE_FLAGS in the Linux compat build step so CMake FindOpenSSL can locate OpenSSL 3 headers and libs installed by openssl3 packages inside the manylinux container.
…_FLAGS dynamically

Detect libssl.so.3 via ldconfig or common candidate paths and export
-DOPENSSL_CRYPTO_LIBRARY/-DOPENSSL_SSL_LIBRARY before building so
Ubuntu runners find OpenSSL 3.
@adsharma adsharma force-pushed the openssl3 branch 2 times, most recently from 23d98e2 to b6197de Compare June 15, 2026 20:44
@adsharma adsharma merged commit 9ce888a into main Jun 15, 2026
29 of 31 checks passed
@adsharma adsharma deleted the openssl3 branch June 15, 2026 22:54
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

Successfully merging this pull request may close these issues.

Recompile httpfs against current OpenSSL (binary links EOL libssl.so.1.1)

2 participants