Skip to content

Commit 39a47ca

Browse files
authored
fix: add standard lib path back to LD_LIBRARY_PATH (#61)
This directory was inadvertantly removed from the snap's library search path in a recent PR as snapcraft/snapd seem to only preserve the directory in LD_LIBRARY_PATH if a user appends/prepends to the existing LD_LIBRARY_PATH in apps.foobar.environment.
1 parent a8649c7 commit 39a47ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

snap/snapcraft.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ apps:
9494
- removable-media
9595
- unity7
9696
environment:
97-
LD_LIBRARY_PATH: $SNAP/usr/local/lib:$SNAP/usr/local/whisper.cpp/lib:$SNAP/usr/local/libtorch/lib:$SNAP/usr/runtime/lib/intel64:$SNAP/npu-libs:$SNAP/ffmpeg-platform/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR
97+
LD_LIBRARY_PATH: $SNAP/usr/local/lib:$SNAP/usr/local/whisper.cpp/lib:$SNAP/usr/local/libtorch/lib:$SNAP/usr/runtime/lib/intel64:$SNAP/npu-libs:$SNAP/ffmpeg-platform/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR:$SNAP/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR
9898
OCL_ICD_VENDORS: $SNAP/etc/OpenCL/vendors
9999
PATH: $SNAP/ffmpeg-platform/usr/bin:$PATH
100100

0 commit comments

Comments
 (0)