From 6ea0da85234bf1f5bf4ecab4feb8d87c97c9ff38 Mon Sep 17 00:00:00 2001 From: PengZheng Date: Thu, 25 Apr 2024 16:49:38 +0800 Subject: [PATCH] Try to fix libcrypto loading error on macOS. --- .github/workflows/macos.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index de1ad1abe..05ee8013b 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -105,5 +105,7 @@ jobs: run: | cd $GITHUB_WORKSPACE/build export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH:$(pwd)/utils:$(pwd)/framework:$(pwd)/dfi - ln -s /usr/local/opt/openssl/lib/libcrypto.3.dylib /usr/local/lib/libcrypto.dylib + cd /usr/local/lib + ln -s /usr/local/opt/openssl/lib/libcrypto.3.dylib libcrypto.dylib + cd $GITHUB_WORKSPACE/build ctest --output-on-failure