[
https://issues.apache.org/jira/browse/ARROW-15897?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17504295#comment-17504295
]
Antoine Pitrou commented on ARROW-15897:
----------------------------------------
Wow, trying to use the "compilers" and "clang" conda packages completely breaks
the build here :
{code}
/home/antoine/miniconda3/envs/pyarrow/bin/ld: warning: libbz2.so.1.0, needed by
debug/libarrow.so.800.0.0, not found (try using -rpath or -rpath-link)
/home/antoine/miniconda3/envs/pyarrow/bin/ld: warning: liblz4.so.1, needed by
debug/libarrow.so.800.0.0, not found (try using -rpath or -rpath-link)
/home/antoine/miniconda3/envs/pyarrow/bin/ld: warning: libsnappy.so.1, needed
by debug/libarrow.so.800.0.0, not found (try using -rpath or -rpath-link)
/home/antoine/miniconda3/envs/pyarrow/bin/ld: warning: libzstd.so.1, needed by
debug/libarrow.so.800.0.0, not found (try using -rpath or -rpath-link)
/home/antoine/miniconda3/envs/pyarrow/bin/ld: debug/libarrow.so.800.0.0:
undefined reference to `snappy::MaxCompressedLength(unsigned long)'
[...]
{code}
> [C++] Linker error when building Flight tests
> ---------------------------------------------
>
> Key: ARROW-15897
> URL: https://issues.apache.org/jira/browse/ARROW-15897
> Project: Apache Arrow
> Issue Type: Bug
> Components: C++, FlightRPC
> Reporter: Antoine Pitrou
> Priority: Major
> Fix For: 8.0.0
>
>
> When building the Flight unit tests, I get the following error:
> {code}
> [16/25] Linking CXX executable debug/flight-test-integration-server
> FAILED: debug/flight-test-integration-server
> [... snip long linker command line ...]
> /usr/bin/ld: /home/antoine/miniconda3/envs/pyarrow/lib/libgrpc++.so.1.44.0:
> undefined reference to `std::__throw_bad_array_new_length()@GLIBCXX_3.4.29'
> clang: error: linker command failed with exit code 1 (use -v to see
> invocation)
> {code}
> This is using a pre-built gRPC from conda-forge ({{grpc-cpp 1.44.0
> h3d78c48_1}}).
> Other possibly relevant options: {{CMAKE_CXX_STANDARD=17}},
> {{ARROW_BUILD_STATIC=OFF}}.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)