Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-15897

[C++] Linker error when building Flight tests

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • C++, FlightRPC
    • None

    Description

      When building the Flight unit tests, I get the following error:

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

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            apitrou Antoine Pitrou
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: