Skip to content

Commit 5ea14eb

Browse files
committed
fix: update ld library path in github workflow
- add /usr/local/lib64 to LD_LIBRARY_PATH for openssl - ensure consistent LD_LIBRARY_PATH across build steps - update path for linuxdeployqt to include /usr/local/lib64
1 parent c034805 commit 5ea14eb

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/testing-nightly.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,10 +194,11 @@ jobs:
194194
195195
export CC="ccache gcc"
196196
export CXX="ccache g++"
197-
./config shared
197+
./config
198198
make -j$(nproc)
199199
sudo make install_sw
200200
201+
export LD_LIBRARY_PATH=/usr/local/lib:/usr/local/lib64:$LD_LIBRARY_PATH
201202
which openssl
202203
ldd $(which openssl) | grep ssl
203204
openssl version -a
@@ -269,6 +270,7 @@ jobs:
269270

270271
- name: Build GpgFrontend (Linux)
271272
run: |
273+
export LD_LIBRARY_PATH=/usr/local/lib:/usr/local/lib64:$LD_LIBRARY_PATH
272274
cmake -B ${{github.workspace}}/build -G Ninja \
273275
-DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} \
274276
-DGPGFRONTEND_BUILD_APP_IMAGE=ON \
@@ -295,7 +297,7 @@ jobs:
295297
fi
296298
297299
chmod u+x linuxdeployqt-continuous.AppImage
298-
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
300+
export LD_LIBRARY_PATH=/usr/local/lib:/usr/local/lib64:$LD_LIBRARY_PATH
299301
./linuxdeployqt-continuous.AppImage \
300302
${{github.workspace}}/build/artifacts/AppDir/usr/share/applications/*.desktop \
301303
$EXTRA_ARGS \

0 commit comments

Comments
 (0)