fix: static Linux binaries to eliminate libssl/glibc deps#245
Closed
dyc12389 wants to merge 1 commit intoRightNow-AI:mainfrom
Closed
fix: static Linux binaries to eliminate libssl/glibc deps#245dyc12389 wants to merge 1 commit intoRightNow-AI:mainfrom
dyc12389 wants to merge 1 commit intoRightNow-AI:mainfrom
Conversation
…deps The install script downloads linux-gnu binaries built on Ubuntu 22.04, which dynamically link against glibc 2.35 and OpenSSL 3. Systems with older glibc (e.g. Ubuntu 20.04 NAS) fail with missing libssl.so.3, libcrypto.so.3, and GLIBC_2.32+ symbols. - Vendor OpenSSL in openfang-channels for Linux (native-tls/imap dep) - Add x86_64 and aarch64 linux-musl targets to release workflow - Default install.sh to musl binaries for maximum portability - Update smoke test to validate musl target string Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This was referenced Mar 13, 2026
Member
|
Good addition for static Linux binaries. Has merge conflicts in release.yml. Please rebase onto main. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
openfang-channelsfor Linux sonative-tls/imapstatically link OpenSSL instead of requiring systemlibssl.so.3/libcrypto.so.3x86_64-unknown-linux-muslandaarch64-unknown-linux-musltargets to the release workflow, producing fully static binaries with zero system dependenciesinstall.shto musl on Linux for maximum portability (works on Ubuntu 20.04, older NAS distros, Alpine, etc.)Problem
The installer downloads
linux-gnubinaries built on Ubuntu 22.04, which dynamically link against glibc 2.35 and OpenSSL 3. Systems with older glibc or OpenSSL (e.g. Ubuntu 20.04 NAS) fail at runtime:Test plan
cargo build --workspace --libpassescargo test --workspacepassesopenfang --versionworkslddshowsstatically linked(or no dynamic deps) for the musl binary🤖 Generated with Claude Code