From 80d222c64f712f648da0949313923ef108128cdf Mon Sep 17 00:00:00 2001 From: tsteven4 <13596209+tsteven4@users.noreply.github.com> Date: Wed, 15 Apr 2026 14:23:51 -0600 Subject: [PATCH] restore snap gpio workaround Even though libproxy is now automatically added to the end of the path the error still occurs. But when we add it earlier in the path with our workaround the error does not occur. --- snap/snapcraft.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 2fb89abf9..7662be279 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -42,6 +42,13 @@ apps: command: usr/bin/gpsbabelfe environment: # QT_DEBUG_PLUGINS: 1 +# bug https://forum.snapcraft.io/t/libpxbackend-1-0-so-cannot-open-shared-object-file-no-such-file-or-directory/44263 +# error while loading shared libraries: libpxbackend-1.0.so: cannot open shared object file: No such file or directory +# This error only occurs when starting gpsbabel.gpsbabelfe when ~/snap/gpsbabel doesn't exist. +# Even though https://github.com/canonical/snapcraft-desktop-integration/commit/d966bd8e0648bb1bb9140a282adbe2a435458a73 +# adds this same directory to the end of the path somehow that isn't sufficient but this is (where it will be duplicated +# earlier in the path. + LD_LIBRARY_PATH: $LD_LIBRARY_PATH:$SNAP/gnome-platform/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/libproxy plugs: # avoid FATAL:credentials.cc(122)] Check failed: . : Permission denied (13) with map preview