Repository navigation
fix(desktop): statically link bzip2 on Linux - #4000
Merged
Merged
Conversation
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
Enable the existing
bzip2/staticfeature for Linux desktop builds so the application links the bundled bzip2 library.Fixes #3756
Type and Areas
Linux desktop packaging regression fix.
Motivation / Impact
The official x86_64 RPM for 1.0.11 links against
libbz2.so.1.0. Fedora 44 provideslibbz2.so.1, so the RPM installs but the desktop process exits with status 127 at launch.Verification
pnpm run check:core-boundariesandgit diff --checkpassed.libbz2.so.1.0error with the official 1.0.11 RPM in a Fedora 44 x86_64 KVM guest.rpmbuildafter local Tauri bundling did not complete.readelf -dWconfirmed the executable extracted from the test RPM has nolibbz2.so.1.0dependency.Reviewer Notes
AI-assisted. Lightly tested, with local RPM installation and startup verified in a VM. The standard release packaging pipeline and in-app upgrade path still need validation.
Checklist