From 1b44a8d6612403389f44d91a95b9791cf9c56e09 Mon Sep 17 00:00:00 2001 From: PengZheng Date: Thu, 25 Apr 2024 16:44:38 +0800 Subject: [PATCH] Try to fix libcrypto loading error on macOS. --- .github/workflows/macos.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 8d3f9030a..de1ad1abe 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -104,5 +104,6 @@ jobs: - name: Test run: | cd $GITHUB_WORKSPACE/build - export LD_LIBRARY_PATH=/usr/local/opt/openssl/lib:/usr/local/lib:$LD_LIBRARY_PATH:$(pwd)/utils:$(pwd)/framework:$(pwd)/dfi + 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 ctest --output-on-failure