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

[C++] Bundled ORC fails linking

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.16.0
    • Component/s: C++

      Description

      This shows up when building the tests as well:

      [1/2] Linking CXX executable debug/orc-adapter-test
      FAILED: debug/orc-adapter-test 
      : && /usr/bin/ccache /usr/bin/clang++-7  -Qunused-arguments -fcolor-diagnostics -fuse-ld=gold -ggdb -O0  -Wall -Wextra -Wdocumentation         -Wno-unused-parameter -Wno-unknown-warning-option -Werror -Wno-unknown-warning-option -msse4.2 -maltivec  -D_GLIBCXX_USE_CXX11_ABI=1 -D_GLIBCXX_USE_CXX11_ABI=1 -fno-omit-frame-pointer -g  -rdynamic src/arrow/adapters/orc/CMakeFiles/orc-adapter-test.dir/adapter_test.cc.o  -o debug/orc-adapter-test  -Wl,-rpath,/home/antoine/arrow/dev/cpp/build-test/debug:/home/antoine/miniconda3/envs/pyarrow/lib /home/antoine/miniconda3/envs/pyarrow/lib/libgtest_main.so /home/antoine/miniconda3/envs/pyarrow/lib/libgtest.so -lpthread -ldl debug/libarrow_testing.so.100.0.0 debug/libarrow.so.100.0.0 orc_ep-install/lib/liborc.a /home/antoine/miniconda3/envs/pyarrow/lib/libgtest.so -ldl double-conversion_ep/src/double-conversion_ep/lib/libdouble-conversion.a /home/antoine/miniconda3/envs/pyarrow/lib/libssl.so /home/antoine/miniconda3/envs/pyarrow/lib/libcrypto.so /home/antoine/miniconda3/envs/pyarrow/lib/libbrotlienc-static.a /home/antoine/miniconda3/envs/pyarrow/lib/libbrotlidec-static.a /home/antoine/miniconda3/envs/pyarrow/lib/libbrotlicommon-static.a /home/antoine/miniconda3/envs/pyarrow/lib/libprotobuf.so /home/antoine/miniconda3/envs/pyarrow/lib/libaws-cpp-sdk-config.so /home/antoine/miniconda3/envs/pyarrow/lib/libaws-cpp-sdk-transfer.so /home/antoine/miniconda3/envs/pyarrow/lib/libaws-cpp-sdk-s3.so /home/antoine/miniconda3/envs/pyarrow/lib/libaws-cpp-sdk-core.so /home/antoine/miniconda3/envs/pyarrow/lib/libaws-c-event-stream.so.1.0.0 /home/antoine/miniconda3/envs/pyarrow/lib/libaws-c-common.so.1.0.0 -lm -lpthread /home/antoine/miniconda3/envs/pyarrow/lib/libaws-checksums.so jemalloc_ep-prefix/src/jemalloc_ep/dist//lib/libjemalloc_pic.a mimalloc_ep/src/mimalloc_ep/lib/mimalloc-1.0/libmimalloc-debug.a -pthread -lrt -Wl,-rpath-link,/home/antoine/miniconda3/envs/pyarrow/lib && :
      /home/antoine/arrow/dev/cpp/build-test/orc_ep-prefix/src/orc_ep/c++/src/Compression.cc:284: error: undefined reference to 'deflateInit2_'
      /home/antoine/arrow/dev/cpp/build-test/orc_ep-prefix/src/orc_ep/c++/src/Compression.cc:232: error: undefined reference to 'deflateReset'
      /home/antoine/arrow/dev/cpp/build-test/orc_ep-prefix/src/orc_ep/c++/src/Compression.cc:254: error: undefined reference to 'deflate'
      /home/antoine/arrow/dev/cpp/build-test/orc_ep-prefix/src/orc_ep/c++/src/Compression.cc:291: error: undefined reference to 'deflateEnd'
      /home/antoine/arrow/dev/cpp/build-test/orc_ep-prefix/src/orc_ep/c++/src/Compression.cc:405: error: undefined reference to 'inflateInit2_'
      /home/antoine/arrow/dev/cpp/build-test/orc_ep-prefix/src/orc_ep/c++/src/Compression.cc:430: error: undefined reference to 'inflateEnd'
      /home/antoine/arrow/dev/cpp/build-test/orc_ep-prefix/src/orc_ep/c++/src/Compression.cc:471: error: undefined reference to 'inflateReset'
      /home/antoine/arrow/dev/cpp/build-test/orc_ep-prefix/src/orc_ep/c++/src/Compression.cc:477: error: undefined reference to 'inflate'
      /home/antoine/arrow/dev/cpp/build-test/orc_ep-prefix/src/orc_ep/c++/src/Compression.cc:820: error: undefined reference to 'snappy::GetUncompressedLength(char const*, unsigned long, unsigned long*)'
      /home/antoine/arrow/dev/cpp/build-test/orc_ep-prefix/src/orc_ep/c++/src/Compression.cc:828: error: undefined reference to 'snappy::RawUncompress(char const*, unsigned long, char*)'
      /home/antoine/arrow/dev/cpp/build-test/orc_ep-prefix/src/orc_ep/c++/src/Compression.cc:894: error: undefined reference to 'LZ4_decompress_safe'
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                apitrou Antoine Pitrou
                Reporter:
                apitrou Antoine Pitrou
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 20m
                  1h 20m