rok commented on PR #13681:
URL: https://github.com/apache/arrow/pull/13681#issuecomment-1193206023

   I'm using the following cmake:
   ```
   cmake \
        -GNinja \
        -DCMAKE_INSTALL_PREFIX=$ARROW_HOME \
        -DCMAKE_INSTALL_LIBDIR=lib \
        -DARROW_FLIGHT=ON \
        -DARROW_GANDIVA=ON \
        -DARROW_GCS=ON \
        -DARROW_INSTALL_NAME_RPATH=OFF \
        -DARROW_JEMALLOC=ON \
        -DARROW_MIMALLOC=ON \
        -DARROW_ORC=ON \
        -DARROW_PARQUET=ON \
        -DARROW_PLASMA=ON \
        -DARROW_PROTOBUF_USE_SHARED=ON \
        -DARROW_BUILD_TESTS=ON \
        -DARROW_PYTHON=ON \
        -DARROW_S3=ON \
        -DARROW_WITH_BROTLI=ON \
        -DARROW_WITH_BZ2=ON \
        -DARROW_WITH_LZ4=ON \
        -DARROW_WITH_SNAPPY=ON \
        -DARROW_WITH_UTF8PROC=ON \
        -DARROW_WITH_ZLIB=ON \
        -DARROW_WITH_ZSTD=ON \
        ..
   ```
   
   All my dependencies (abseil/gcs/..) are installed via homebrew (`brew update 
&& brew bundle --file=cpp/Brewfile`). I've also recently updated (M1 `macOS 
12.5 (21G72), Darwin 21.6.0`) and homebrew and the issue started afterwards.
   
   If I cmake with `-DARROW_BUILD_TESTS=ON` I get this at compile time:
   ```
   Undefined symbols for architecture arm64:
     "absl::lts_20220623::FormatTime(absl::lts_20220623::string_view, 
absl::lts_20220623::Time, absl::lts_20220623::TimeZone)", referenced from:
         arrow::fs::(anonymous 
namespace)::GcsIntegrationTest_OpenInputStreamReadMetadata_Test::TestBody() in 
gcsfs_test.cc.o
     "absl::lts_20220623::optional_internal::throw_bad_optional_access()", 
referenced from:
         arrow::fs::(anonymous 
namespace)::GcsFileSystem_ToEncryptionKey_Test::TestBody() in gcsfs_test.cc.o
         arrow::fs::(anonymous 
namespace)::GcsFileSystem_ToObjectMetadata_Test::TestBody() in gcsfs_test.cc.o
         arrow::fs::(anonymous 
namespace)::GcsFileSystem_ObjectMetadataRoundtrip_Test::TestBody() in 
gcsfs_test.cc.o
     "absl::lts_20220623::ParseTime(absl::lts_20220623::string_view, 
absl::lts_20220623::string_view, absl::lts_20220623::Time*, 
std::__1::basic_string<char, std::__1::char_traits<char>, 
std::__1::allocator<char> >*)", referenced from:
         arrow::fs::(anonymous 
namespace)::GcsFileSystem_ObjectMetadataRoundtrip_Test::TestBody() in 
gcsfs_test.cc.o
   ld: symbol(s) not found for architecture arm64
   ```
   
   Otherwise compilation runs fine and things only fail when I import in Python 
or R.
   I'll keep trying as I don't have a building system now.


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