Skip to content

Commit e5691c9

Browse files
committed
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 ````
1 parent 031510b commit e5691c9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/scripts/Linux/prepare.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
#!/bin/bash -eux
22

33
export PKG_CONFIG_PATH=/usr/local/qt/lib/pkgconfig:/usr/local/lib/pkgconfig
4+
export LIBRARY_PATH=/usr/local/lib:/usr/local/qt/lib
45
printf "%b" "\
56
CPATH=/usr/local/qt/include\n\
6-
LIBRARY_PATH=/usr/local/qt/lib\n\
7+
LIBRARY_PATH=$LIBRARY_PATH\n\
8+
LD_LIBRARY_PATH=$LIBRARY_PATH\n\
79
PKG_CONFIG_PATH=$PKG_CONFIG_PATH\n" >> "$GITHUB_ENV"
810
printf "/usr/local/qt/bin\n" >> "$GITHUB_PATH"
911

0 commit comments

Comments
 (0)