kou commented on PR #13157:
URL: https://github.com/apache/arrow/pull/13157#issuecomment-1130731331

   It seems that we need to link AWS SDK C++ statically:
   
   
https://github.com/ursacomputing/crossbow/runs/6485814040?check_suite_focus=true#step:7:4639
   
   ```text
   Error: Unexpected shared dependency found in libgandiva_jni.dylib: 
`libaws-cpp-sdk-config`
   ```
   
   Could you add the following build option?
   
   ```diff
   diff --git a/ci/scripts/java_jni_macos_build.sh 
b/ci/scripts/java_jni_macos_build.sh
   index e9572c334b..71a1730fce 100755
   --- a/ci/scripts/java_jni_macos_build.sh
   +++ b/ci/scripts/java_jni_macos_build.sh
   @@ -76,6 +76,7 @@ cmake \
      -DARROW_THRIFT_USE_SHARED=OFF \
      -DARROW_UTF8PROC_USE_SHARED=OFF \
      -DARROW_ZSTD_USE_SHARED=OFF \
   +  -DAWSSDK_SOURCE=BUNDLE \
      -DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE} \
      -DCMAKE_INSTALL_LIBDIR=lib \
      -DCMAKE_INSTALL_PREFIX=${build_dir} \
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to