[ 
https://issues.apache.org/jira/browse/ARROW-15897?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17504385#comment-17504385
 ] 

Uwe Korn commented on ARROW-15897:
----------------------------------

The error is exactly as you discovered: conda-forge uses a more recent 
libstdc++ than your system. Reactivating your environment loads the correct 
environment variables. This should also happen automatically if you install 
packages with {{conda}} or a recent {{mamba}} version. 

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

Reply via email to