kou commented on issue #36668:
URL: https://github.com/apache/arrow/issues/36668#issuecomment-1639146328

   Could you try this patch?
   
   ```diff
   diff --git a/cpp/cmake_modules/ThirdpartyToolchain.cmake 
b/cpp/cmake_modules/ThirdpartyToolchain.cmake
   index 57defe0b3..0b7eed437 100644
   --- a/cpp/cmake_modules/ThirdpartyToolchain.cmake
   +++ b/cpp/cmake_modules/ThirdpartyToolchain.cmake
   @@ -1365,8 +1365,9 @@ set(ARROW_OPENSSL_REQUIRED_VERSION "1.0.2")
    set(ARROW_USE_OPENSSL OFF)
    if(PARQUET_REQUIRE_ENCRYPTION
       OR ARROW_FLIGHT
   -   OR ARROW_S3
   -   OR ARROW_GANDIVA)
   +   OR ARROW_GANDIVA
   +   OR ARROW_GCS
   +   OR ARROW_S3)
      set(OpenSSL_SOURCE "SYSTEM")
      resolve_dependency(OpenSSL
                         HAVE_ALT
   @@ -4103,10 +4104,6 @@ macro(build_google_cloud_cpp_storage)
      # Curl is required on all platforms, but building it internally might 
also trip over S3's copy.
      # For now, force its inclusion from the underlying system or fail.
      find_curl()
   -  if(NOT OpenSSL_FOUND)
   -    resolve_dependency(OpenSSL HAVE_ALT REQUIRED_VERSION
   -                       ${ARROW_OPENSSL_REQUIRED_VERSION})
   -  endif()
    
      # Build google-cloud-cpp, with only storage_client
    
   ```


-- 
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