From e5691c9beef636c28ab6e1ee2a2a13adfa1fac29 Mon Sep 17 00:00:00 2001 From: Martin Pulec Date: Wed, 27 Aug 2025 12:16:46 +0200 Subject: [PATCH] CI Linux: add /usr/local/lib to LD_LIBRARY_PATH + also to LIBRARY_PATH - this will is done also with -L in configure, probably Seems like that /usr/local/lib has never been in LD_LIBRARY_PATH and somehow it didn't matter so far. But with fluidsynth build, we now get in CI (== also prevents build): ``` ultragrid_acap_fluidsynth.so: libfluidsynth.so.3: cannot open shared object file: No such file or directory ```` --- .github/scripts/Linux/prepare.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/scripts/Linux/prepare.sh b/.github/scripts/Linux/prepare.sh index f5cd33259..7073ad26f 100755 --- a/.github/scripts/Linux/prepare.sh +++ b/.github/scripts/Linux/prepare.sh @@ -1,9 +1,11 @@ #!/bin/bash -eux export PKG_CONFIG_PATH=/usr/local/qt/lib/pkgconfig:/usr/local/lib/pkgconfig +export LIBRARY_PATH=/usr/local/lib:/usr/local/qt/lib printf "%b" "\ CPATH=/usr/local/qt/include\n\ -LIBRARY_PATH=/usr/local/qt/lib\n\ +LIBRARY_PATH=$LIBRARY_PATH\n\ +LD_LIBRARY_PATH=$LIBRARY_PATH\n\ PKG_CONFIG_PATH=$PKG_CONFIG_PATH\n" >> "$GITHUB_ENV" printf "/usr/local/qt/bin\n" >> "$GITHUB_PATH"