This is an automated email from the ASF dual-hosted git repository.

pengzheng pushed a commit to branch hotfix/openssl-update
in repository https://gitbox.apache.org/repos/asf/celix.git

commit 1b44a8d6612403389f44d91a95b9791cf9c56e09
Author: PengZheng <howto...@gmail.com>
AuthorDate: Thu Apr 25 16:44:38 2024 +0800

    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 8d3f9030..de1ad1ab 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

Reply via email to