Repository navigation
fix(linux): the app starts again (1.0.65) - #79
Merged
Merged
Conversation
The phone-only onnxruntime plugin also built for Linux and linked relic_app against libonnxruntime.so.1. The bundle shipped only lib/libonnxruntime.so, a symlink to that missing file, so 1.0.60 to 1.0.64 (tarball and AppImage) died at launch on any machine without ONNX Runtime 1.22 installed. Only mobile.dart uses the plugin; the desktop embeds through relic-sift. Drop the Linux platform from the vendored copy, as was done for macOS, and make build_release_linux.sh refuse to pack a bundle with a dangling symlink or a library ldd cannot find. App 1.0.65. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…s missing Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Linux 1.0.60 to 1.0.64 does not start on a clean machine:
Reproduced with the published 1.0.64 tarball and AppImage on Ubuntu 24.04 and on a fresh Arch.
Why. flutter_onnxruntime (phone-only, used by
mobile.dart) also builds its Linux platform code, which linksrelic_appagainstlibonnxruntime.so.1. The bundle only getslib/libonnxruntime.so, a symlink to that missing file. It works only where ONNX Runtime 1.22 is installed system-wide. The runtime that ships besidesiftis 1.24, and its symbols are versioned, so it can't stand in.Fix.
build_release_linux.shnow refuses to pack a bundle that has a dangling symlink or a librarylddcan't find.The desktop embeds through relic-sift, so nothing on Linux used the plugin.
🤖 Generated with Claude Code