Conversation
soumyaDghosh
requested changes
Sep 5, 2026
Comment on lines
+31
to
+32
| environment: | ||
| LD_LIBRARY_PATH: $SNAP/lib/x86_64-linux-gnu:$SNAP/usr/lib/x86_64-linux-gnu:$SNAP/lib/aarch64-linux-gnu:$SNAP/usr/lib/aarch64-linux-gnu:/snap/core22/current/lib/x86_64-linux-gnu:/snap/core22/current/usr/lib/x86_64-linux-gnu:/snap/core22/current/lib/aarch64-linux-gnu:/snap/core22/current/usr/lib/aarch64-linux-gnu |
Member
There was a problem hiding this comment.
This should not be required
Member
There was a problem hiding this comment.
That was fast 😀
I just merged a similar change on sublime merge after an observed failure in CI to start the snap
Member
There was a problem hiding this comment.
Though this at least needs to take into account the arch triplet
clwsgruk
force-pushed
the
fix/runtime-library-path
branch
from
September 5, 2026 07:34
10d24a1 to
cdfad0c
Compare
clwsgruk
marked this pull request as ready for review
September 5, 2026 07:39
Member
|
Closing for further investigation |
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
libgl1so the core22 candidate includes the requiredlibGL.so.1CRAFT_ARCH_TRIPLET_BUILD_FORto expose only the target architecture's staged library directories through the launcherRoot cause
Store candidate revision 228, built after #96 enabled PatchELF, exits before startup with:
The packed executable uses the core22 interpreter and its RUNPATH points at the snap and base, but the candidate does not contain
libGL.so.1, and core22 does not provide it. Staginglibgl1supplies the library; the launcher path mirrors the working Sublime Merge fix while deriving the target multiarch triplet at build time.Verification
libGL.so.1git diff --checksnapcraft expand-extensionssnapcraft clean && snapcraft pack --use-lxdfrom the final signed commitusr/lib/x86_64-linux-gnu/libGL.so.1CRAFT_ARCH_TRIPLET_BUILD_FORtox86_64-linux-gnuand contains no arm64 path in the amd64 artifact--dangerous --classicsnap run sublime-text.subl --version: exit 0,Sublime Text Build 4200The application still emits its existing optional
libcurl.sosymbol-loading warnings during--version; they do not prevent startup and are outside this failure.Review requested from @soumyaDghosh. FYI @jnsgruk.