Skip to content

fix(desktop): statically link bzip2 on Linux - #4000

Merged
kev1n77 merged 1 commit into
openBitFun:mainfrom
kev1n77:fmy/linux
Nov 19, 2026
Merged

kev1n77 merged 1 commit into
openBitFun:mainfrom
kev1n77:fmy/linux

Conversation

@kev1n77

@kev1n77 kev1n77 commented Nov 19, 2026

Copy link
Copy Markdown
Collaborator

Summary

Enable the existing bzip2/static feature 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 provides libbz2.so.1, so the RPM installs but the desktop process exits with status 127 at launch.

Verification

  • pnpm run check:core-boundaries and git diff --check passed.
  • Reproduced exit status 127 and the missing libbz2.so.1.0 error with the official 1.0.11 RPM in a Fedora 44 x86_64 KVM guest.
  • Built the patched desktop executable and packaged it with rpmbuild after local Tauri bundling did not complete. readelf -dW confirmed the executable extracted from the test RPM has no libbz2.so.1.0 dependency.
  • Installed the test RPM in the same guest. The desktop window opened under Xvfb and WebKit finished loading the bundled UI through the packaged frontend protocol.

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

  • The change is focused and contains no temporary artifacts or secrets.
  • Verification and its scope are recorded above.

@kev1n77
kev1n77 merged commit efaf84c into openBitFun:main Nov 19, 2026
14 checks passed
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.

[Bug] Linux RPM 1.0.9 无法启动:二进制要求 libbz2.so.1.0,Fedora/RHEL 只提供 libbz2.so.1(exit 127)

1 participant