ARROW-17231: [C++] Restore STATIC_INSTALL_INTERFACE_LIBS for arrow_static - #13707

Closed
dg0yt wants to merge 2 commits into
apache:masterfrom
dg0yt:patch-1
Closed

ARROW-17231: [C++] Restore STATIC_INSTALL_INTERFACE_LIBS for arrow_static#13707
dg0yt wants to merge 2 commits into
apache:masterfrom
dg0yt:patch-1

Conversation

@dg0yt

@dg0ytdg0yt commented Jul 26, 2022

Copy link
Copy Markdown

This change restore the STATIC_INSTALL_INTERFACE_LIBS keyword for lib arrow, which was lost in 2fea818.
It fixes the usability of the exported config for static builds with system dependencies, which lacked all transitive usage requirements.
Noticed in building the minimal example in vcpkg, as part of microsoft/vcpkg#25983.

@github-actions

Copy link
Copy Markdown

Thanks for opening a pull request!

If this is not a minor PR. Could you open an issue for this pull request on JIRA? https://issues.apache.org/jira/browse/ARROW

Opening JIRAs ahead of time contributes to the Openness of the Apache Arrow project.

Then could you also rename pull request title in the following format?

ARROW-${JIRA_ID}: [${COMPONENT}] ${SUMMARY}

or

MINOR: [${COMPONENT}] ${SUMMARY}

See also:

@kou

kou commented Jul 26, 2022

Copy link
Copy Markdown
Member

Good catch!
Could you open a JIRA issue for this?

@dg0yt

Copy link
Copy Markdown
Author

Good catch!
Could you open a JIRA issue for this?

This is pretty much overhead for a single word contribution, isn't it. I would be glad if project members could handle that.

@kou

kou commented Jul 27, 2022

Copy link
Copy Markdown
Member

OK.

I want a test for this to prevent this problem again.
Do you want me to add a test for this too?

@dg0yt

Copy link
Copy Markdown
Author

Hm, this means a post-install test so that it runs in arrow CI. But I don't know where to start in arrow (CI). Is there any existing post-install test? Which CI job does static linkage with dependencies provided by the system?
(I did something similar for GDAL, but I could take existing post-install tests as a template.)

What I did in vcpkg is to install the minimal_build example source code with the arrow port, and add another port vcpkg-ci-arrow which builds the example. This was trivial (given that I know how to write vcpkg ports).

@kou

kou commented Jul 27, 2022

Copy link
Copy Markdown
Member

@koukou changed the title Restore STATIC_INSTALL_INTERFACE_LIBSARROW-17231: [C++] Restore STATIC_INSTALL_INTERFACE_LIBS for arrow_staticJul 27, 2022
@github-actions

Copy link
Copy Markdown

@github-actions

Copy link
Copy Markdown

⚠️ Ticket has not been started in JIRA, please click 'Start Progress'.

@kou

kou commented Jul 27, 2022

Copy link
Copy Markdown
Member

Could you show an error message without this change?

@dg0yt

Copy link
Copy Markdown
Author

Could you show an error message without this change?

In other GH projects, I would have temporarily pushed a revert of the original change, and force-push without the revert after the CI run. (Or I would have pushed the test as first commit.) I can do that here, but I need maintainer approval for CI runs.

For reference, this is from vcpgk with the patch disactivated. Not a single static system lib passed in the linking step.

[1/2] /usr/bin/c++ -isystem /vcpkg/installed/x64-linux/include -fPIC -g -pthread -std=gnu++11 -MD -MT CMakeFiles/arrow-example.dir/example.cc.o -MF CMakeFiles/arrow-example.dir/example.cc.o.d -o CMakeFiles/arrow-example.dir/example.cc.o -c /vcpkg/installed/x64-linux/share/arrow/example/example.cc
[2/2] : && /usr/bin/c++ -fPIC -g -rdynamic CMakeFiles/arrow-example.dir/example.cc.o -o arrow-example /vcpkg/installed/x64-linux/debug/lib/libarrow.a -pthread && :
FAILED: arrow-example : && /usr/bin/c++ -fPIC -g -rdynamic CMakeFiles/arrow-example.dir/example.cc.o -o arrow-example /vcpkg/installed/x64-linux/debug/lib/libarrow.a -pthread && :
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_brotli.cc.o): In function `arrow::util::internal::(anonymous namespace)::BrotliDecompressor::~BrotliDecompressor()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:43: undefined reference to `BrotliDecoderDestroyInstance'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_brotli.cc.o): In function `arrow::util::internal::(anonymous namespace)::BrotliDecompressor::Init()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:48: undefined reference to `BrotliDecoderCreateInstance'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_brotli.cc.o): In function `arrow::util::internal::(anonymous namespace)::BrotliDecompressor::Reset()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:57: undefined reference to `BrotliDecoderDestroyInstance'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_brotli.cc.o): In function `arrow::util::internal::(anonymous namespace)::BrotliDecompressor::Decompress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:68: undefined reference to `BrotliDecoderDecompressStream'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:71: undefined reference to `BrotliDecoderGetErrorCode'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_brotli.cc.o): In function `arrow::util::internal::(anonymous namespace)::BrotliDecompressor::IsFinished()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:78: undefined reference to `BrotliDecoderIsFinished'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_brotli.cc.o): In function `arrow::util::internal::(anonymous namespace)::BrotliDecompressor::BrotliError(BrotliDecoderErrorCode, char const*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:84: undefined reference to `BrotliDecoderErrorString'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_brotli.cc.o): In function `arrow::util::internal::(anonymous namespace)::BrotliCompressor::~BrotliCompressor()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:100: undefined reference to `BrotliEncoderDestroyInstance'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_brotli.cc.o): In function `arrow::util::internal::(anonymous namespace)::BrotliCompressor::Init()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:105: undefined reference to `BrotliEncoderCreateInstance'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:109: undefined reference to `BrotliEncoderSetParameter'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_brotli.cc.o): In function `arrow::util::internal::(anonymous namespace)::BrotliCompressor::Compress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:121: undefined reference to `BrotliEncoderCompressStream'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_brotli.cc.o): In function `arrow::util::internal::(anonymous namespace)::BrotliCompressor::Flush(long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:136: undefined reference to `BrotliEncoderCompressStream'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:142: undefined reference to `BrotliEncoderHasMoreOutput'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_brotli.cc.o): In function `arrow::util::internal::(anonymous namespace)::BrotliCompressor::End(long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:151: undefined reference to `BrotliEncoderCompressStream'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:157: undefined reference to `BrotliEncoderHasMoreOutput'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:158: undefined reference to `BrotliEncoderIsFinished'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_brotli.cc.o): In function `arrow::util::internal::(anonymous namespace)::BrotliCodec::Decompress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:186: undefined reference to `BrotliDecoderDecompress'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_brotli.cc.o): In function `arrow::util::internal::(anonymous namespace)::BrotliCodec::MaxCompressedLen(long, unsigned char const*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:196: undefined reference to `BrotliEncoderMaxCompressedSize'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_brotli.cc.o): In function `arrow::util::internal::(anonymous namespace)::BrotliCodec::Compress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:204: undefined reference to `BrotliEncoderCompress'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_bz2.cc.o): In function `arrow::util::internal::(anonymous namespace)::BZ2Decompressor::~BZ2Decompressor()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_bz2.cc:98: undefined reference to `BZ2_bzDecompressEnd'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_bz2.cc.o): In function `arrow::util::internal::(anonymous namespace)::BZ2Decompressor::Init()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_bz2.cc:106: undefined reference to `BZ2_bzDecompressInit'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_bz2.cc.o): In function `arrow::util::internal::(anonymous namespace)::BZ2Decompressor::Reset()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_bz2.cc:117: undefined reference to `BZ2_bzDecompressEnd'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_bz2.cc.o): In function `arrow::util::internal::(anonymous namespace)::BZ2Decompressor::Decompress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_bz2.cc:131: undefined reference to `BZ2_bzDecompress'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_bz2.cc.o): In function `arrow::util::internal::(anonymous namespace)::BZ2Compressor::~BZ2Compressor()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_bz2.cc:161: undefined reference to `BZ2_bzCompressEnd'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_bz2.cc.o): In function `arrow::util::internal::(anonymous namespace)::BZ2Compressor::Init()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_bz2.cc:169: undefined reference to `BZ2_bzCompressInit'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_bz2.cc.o): In function `arrow::util::internal::(anonymous namespace)::BZ2Compressor::Compress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_bz2.cc:185: undefined reference to `BZ2_bzCompress'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_bz2.cc.o): In function `arrow::util::internal::(anonymous namespace)::BZ2Compressor::Flush(long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_bz2.cc:200: undefined reference to `BZ2_bzCompress'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_bz2.cc.o): In function `arrow::util::internal::(anonymous namespace)::BZ2Compressor::End(long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_bz2.cc:215: undefined reference to `BZ2_bzCompress'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::LZ4Error(unsigned long, char const*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:49: undefined reference to `LZ4F_getErrorName'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::LZ4Decompressor::~LZ4Decompressor()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:73: undefined reference to `LZ4F_freeDecompressionContext'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::LZ4Decompressor::Init()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:81: undefined reference to `LZ4F_createDecompressionContext'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:82: undefined reference to `LZ4F_isError'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::LZ4Decompressor::Reset()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:93: undefined reference to `LZ4F_resetDecompressionContext'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::LZ4Decompressor::Decompress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:112: undefined reference to `LZ4F_decompress'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:114: undefined reference to `LZ4F_isError'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::LZ4Compressor::~LZ4Compressor()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:139: undefined reference to `LZ4F_freeCompressionContext'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::LZ4Compressor::Init()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:148: undefined reference to `LZ4F_createCompressionContext'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:149: undefined reference to `LZ4F_isError'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::LZ4Compressor::Compress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:181: undefined reference to `LZ4F_compressBegin'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:181: undefined reference to `LZ4F_isError'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:183: undefined reference to `LZ4F_compressBound'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:187: undefined reference to `LZ4F_compressUpdate'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:189: undefined reference to `LZ4F_isError'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::LZ4Compressor::Flush(long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:203: undefined reference to `LZ4F_compressBegin'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:203: undefined reference to `LZ4F_isError'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:205: undefined reference to `LZ4F_compressBound'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:210: undefined reference to `LZ4F_flush'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:211: undefined reference to `LZ4F_isError'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::LZ4Compressor::End(long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:225: undefined reference to `LZ4F_compressBegin'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:225: undefined reference to `LZ4F_isError'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:227: undefined reference to `LZ4F_compressBound'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:232: undefined reference to `LZ4F_compressEnd'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:233: undefined reference to `LZ4F_isError'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::Lz4FrameCodec::MaxCompressedLen(long, unsigned char const*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:264: undefined reference to `LZ4F_compressFrameBound'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::Lz4FrameCodec::Compress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:271: undefined reference to `LZ4F_compressFrame'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:272: undefined reference to `LZ4F_isError'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::Lz4FrameCodec::maximum_compression_level() const':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:322: undefined reference to `LZ4F_compressionLevel_max'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::Lz4Codec::Decompress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:345: undefined reference to `LZ4_decompress_safe'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::Lz4Codec::MaxCompressedLen(long, unsigned char const*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:356: undefined reference to `LZ4_compressBound'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::Lz4Codec::Compress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:368: undefined reference to `LZ4_compress_default'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:372: undefined reference to `LZ4_compress_HC'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::Lz4Codec::maximum_compression_level() const':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:400: undefined reference to `LZ4F_compressionLevel_max'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_snappy.cc.o): In function `arrow::util::internal::(anonymous namespace)::SnappyCodec::Decompress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_snappy.cc:47: undefined reference to `snappy::GetUncompressedLength(char const*, unsigned long, unsigned long*)'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_snappy.cc:56: undefined reference to `snappy::RawUncompress(char const*, unsigned long, char*)'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_snappy.cc.o): In function `arrow::util::internal::(anonymous namespace)::SnappyCodec::MaxCompressedLen(long, unsigned char const*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_snappy.cc:67: undefined reference to `snappy::MaxCompressedLength(unsigned long)'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_snappy.cc.o): In function `arrow::util::internal::(anonymous namespace)::SnappyCodec::Compress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_snappy.cc:74: undefined reference to `snappy::RawCompress(char const*, unsigned long, char*, unsigned long*)'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipDecompressor::~GZipDecompressor()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:96: undefined reference to `inflateEnd'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipDecompressor::Init()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:107: undefined reference to `inflateInit2_'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipDecompressor::Reset()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:119: undefined reference to `inflateReset'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipDecompressor::Decompress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:136: undefined reference to `inflate'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipCompressor::~GZipCompressor()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:179: undefined reference to `deflateEnd'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipCompressor::Init(arrow::util::internal::GZipFormat::type)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:191: undefined reference to `deflateInit2_'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipCompressor::Compress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:212: undefined reference to `deflate'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipCompressor::Flush(long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:237: undefined reference to `deflate'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipCompressor::End(long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:268: undefined reference to `deflate'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:276: undefined reference to `deflateEnd'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipCodec::InitCompressor()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:337: undefined reference to `deflateInit2_'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipCodec::EndCompressor()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:346: undefined reference to `deflateEnd'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipCodec::InitDecompressor()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:358: undefined reference to `inflateInit2_'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipCodec::EndDecompressor()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:367: undefined reference to `inflateEnd'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipCodec::Decompress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:386: undefined reference to `inflateReset'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:405: undefined reference to `inflate'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipCodec::MaxCompressedLen(long, unsigned char const*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:428: undefined reference to `deflateBound'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipCodec::Compress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:445: undefined reference to `deflate'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:455: undefined reference to `deflateReset'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDError(unsigned long, char const*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:40: undefined reference to `ZSTD_getErrorName'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDDecompressor::ZSTDDecompressor()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:48: undefined reference to `ZSTD_createDStream'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDDecompressor::~ZSTDDecompressor()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:50: undefined reference to `ZSTD_freeDStream'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDDecompressor::Init()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:54: undefined reference to `ZSTD_initDStream'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:55: undefined reference to `ZSTD_isError'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDDecompressor::Decompress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:75: undefined reference to `ZSTD_decompressStream'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:76: undefined reference to `ZSTD_isError'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDCompressor::ZSTDCompressor(int)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:100: undefined reference to `ZSTD_createCStream'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDCompressor::~ZSTDCompressor()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:102: undefined reference to `ZSTD_freeCStream'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDCompressor::Init()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:105: undefined reference to `ZSTD_initCStream'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:106: undefined reference to `ZSTD_isError'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDCompressor::Compress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:126: undefined reference to `ZSTD_compressStream'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:127: undefined reference to `ZSTD_isError'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDCompressor::Flush(long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:142: undefined reference to `ZSTD_flushStream'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:143: undefined reference to `ZSTD_isError'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDCompressor::End(long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:157: undefined reference to `ZSTD_endStream'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:158: undefined reference to `ZSTD_isError'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDCodec::Decompress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:192: undefined reference to `ZSTD_decompress'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:193: undefined reference to `ZSTD_isError'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDCodec::MaxCompressedLen(long, unsigned char const*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:205: undefined reference to `ZSTD_compressBound'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDCodec::Compress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:211: undefined reference to `ZSTD_compress'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:212: undefined reference to `ZSTD_isError'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDCodec::minimum_compression_level() const':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:231: undefined reference to `ZSTD_minCLevel'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDCodec::maximum_compression_level() const':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:232: undefined reference to `ZSTD_maxCLevel'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.

@dg0yt

Copy link
Copy Markdown
Author

TBH I don't really understand the issue title "arrow_static requires needless dependencies". The private dependencies are not "needless".

@kou

kou commented Jul 28, 2022

Copy link
Copy Markdown
Member

I've added "Exported" to "arrow_static".

(It seems that you should have created a JIRA issue by yourself because this is not "a single word contribution".)

@kou

kou commented Jul 28, 2022

Copy link
Copy Markdown
Member

Thanks for the error log.
It showed a problem what I assumed... I thought this is caused by find_package(Arrow) but it seems that it's not related.

- name: Run minimal example (static, system dependencies)
run: |
cd cpp/examples/minimal_build
docker-compose run --rm static-system-dependency

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this reproduce this problem?
I couldn't reproduce this problem by this without your cpp/src/arrow/CMakeLists.txt change.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I admit I can't test this particular part locally.
FTR: is this already run elsewhere in the CI configurations?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kou

kou commented Aug 16, 2022

Copy link
Copy Markdown
Member

#13892 includes this. Closed in favor of #13892 .

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@dg0yt@kou
, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Add copy buttons to all
 blocks\n(function() {\n function addCopyButtons() {\n document.querySelectorAll('pre code').forEach(function(codeBlock) {\n if (codeBlock.parentElement.hasAttribute('data-copy-added')) return;\n codeBlock.parentElement.setAttribute('data-copy-added', 'true');\n \n var btn = document.createElement('button');\n btn.textContent = 'Copy';\n btn.style.cssText = 'position:absolute;top:4px;right:4px;padding:2px 8px;font-size:11px;background:#4ecdc4;border:none;border-radius:4px;color:#1a1a2e;cursor:pointer;opacity:0.7;transition:opacity 0.2s;';\n btn.onmouseover = function() { this.style.opacity = '1'; };\n btn.onmouseout = function() { this.style.opacity = '0.7'; };\n btn.onclick = function() {\n navigator.clipboard.writeText(codeBlock.textContent).then(function() {\n btn.textContent = 'Copied!';\n setTimeout(function() { btn.textContent = 'Copy'; }, 1500);\n });\n };\n codeBlock.parentElement.style.position = 'relative';\n codeBlock.parentElement.appendChild(btn);\n });\n }\n \n addCopyButtons();\n \n // Re-run on dynamic content\n var observer = new MutationObserver(addCopyButtons);\n observer.observe(document.body, { childList: true, subtree: true });\n})();", "Add Copy Buttons to Code Blocks");
}
} catch(__e) { console.warn('[Userscript:Add Copy Buttons to Code Blocks]', __e); }
})();
(function(){
try {
var __m = "github.com";
var __re = new RegExp('^' + "github\\.com" + '
Skip to content

ARROW-17231: [C++] Restore STATIC_INSTALL_INTERFACE_LIBS for arrow_static - #13707

Closed
dg0yt wants to merge 2 commits into
apache:masterfrom
dg0yt:patch-1
Closed

ARROW-17231: [C++] Restore STATIC_INSTALL_INTERFACE_LIBS for arrow_static#13707
dg0yt wants to merge 2 commits into
apache:masterfrom
dg0yt:patch-1

Conversation

@dg0yt

@dg0ytdg0yt commented Jul 26, 2022

Copy link
Copy Markdown

This change restore the STATIC_INSTALL_INTERFACE_LIBS keyword for lib arrow, which was lost in 2fea818.
It fixes the usability of the exported config for static builds with system dependencies, which lacked all transitive usage requirements.
Noticed in building the minimal example in vcpkg, as part of microsoft/vcpkg#25983.

@github-actions

Copy link
Copy Markdown

Thanks for opening a pull request!

If this is not a minor PR. Could you open an issue for this pull request on JIRA? https://issues.apache.org/jira/browse/ARROW

Opening JIRAs ahead of time contributes to the Openness of the Apache Arrow project.

Then could you also rename pull request title in the following format?

ARROW-${JIRA_ID}: [${COMPONENT}] ${SUMMARY}

or

MINOR: [${COMPONENT}] ${SUMMARY}

See also:

@kou

kou commented Jul 26, 2022

Copy link
Copy Markdown
Member

Good catch!
Could you open a JIRA issue for this?

@dg0yt

Copy link
Copy Markdown
Author

Good catch!
Could you open a JIRA issue for this?

This is pretty much overhead for a single word contribution, isn't it. I would be glad if project members could handle that.

@kou

kou commented Jul 27, 2022

Copy link
Copy Markdown
Member

OK.

I want a test for this to prevent this problem again.
Do you want me to add a test for this too?

@dg0yt

Copy link
Copy Markdown
Author

Hm, this means a post-install test so that it runs in arrow CI. But I don't know where to start in arrow (CI). Is there any existing post-install test? Which CI job does static linkage with dependencies provided by the system?
(I did something similar for GDAL, but I could take existing post-install tests as a template.)

What I did in vcpkg is to install the minimal_build example source code with the arrow port, and add another port vcpkg-ci-arrow which builds the example. This was trivial (given that I know how to write vcpkg ports).

@kou

kou commented Jul 27, 2022

Copy link
Copy Markdown
Member

@koukou changed the title Restore STATIC_INSTALL_INTERFACE_LIBSARROW-17231: [C++] Restore STATIC_INSTALL_INTERFACE_LIBS for arrow_staticJul 27, 2022
@github-actions

Copy link
Copy Markdown

@github-actions

Copy link
Copy Markdown

⚠️ Ticket has not been started in JIRA, please click 'Start Progress'.

@kou

kou commented Jul 27, 2022

Copy link
Copy Markdown
Member

Could you show an error message without this change?

@dg0yt

Copy link
Copy Markdown
Author

Could you show an error message without this change?

In other GH projects, I would have temporarily pushed a revert of the original change, and force-push without the revert after the CI run. (Or I would have pushed the test as first commit.) I can do that here, but I need maintainer approval for CI runs.

For reference, this is from vcpgk with the patch disactivated. Not a single static system lib passed in the linking step.

[1/2] /usr/bin/c++ -isystem /vcpkg/installed/x64-linux/include -fPIC -g -pthread -std=gnu++11 -MD -MT CMakeFiles/arrow-example.dir/example.cc.o -MF CMakeFiles/arrow-example.dir/example.cc.o.d -o CMakeFiles/arrow-example.dir/example.cc.o -c /vcpkg/installed/x64-linux/share/arrow/example/example.cc
[2/2] : && /usr/bin/c++ -fPIC -g -rdynamic CMakeFiles/arrow-example.dir/example.cc.o -o arrow-example /vcpkg/installed/x64-linux/debug/lib/libarrow.a -pthread && :
FAILED: arrow-example : && /usr/bin/c++ -fPIC -g -rdynamic CMakeFiles/arrow-example.dir/example.cc.o -o arrow-example /vcpkg/installed/x64-linux/debug/lib/libarrow.a -pthread && :
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_brotli.cc.o): In function `arrow::util::internal::(anonymous namespace)::BrotliDecompressor::~BrotliDecompressor()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:43: undefined reference to `BrotliDecoderDestroyInstance'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_brotli.cc.o): In function `arrow::util::internal::(anonymous namespace)::BrotliDecompressor::Init()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:48: undefined reference to `BrotliDecoderCreateInstance'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_brotli.cc.o): In function `arrow::util::internal::(anonymous namespace)::BrotliDecompressor::Reset()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:57: undefined reference to `BrotliDecoderDestroyInstance'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_brotli.cc.o): In function `arrow::util::internal::(anonymous namespace)::BrotliDecompressor::Decompress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:68: undefined reference to `BrotliDecoderDecompressStream'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:71: undefined reference to `BrotliDecoderGetErrorCode'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_brotli.cc.o): In function `arrow::util::internal::(anonymous namespace)::BrotliDecompressor::IsFinished()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:78: undefined reference to `BrotliDecoderIsFinished'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_brotli.cc.o): In function `arrow::util::internal::(anonymous namespace)::BrotliDecompressor::BrotliError(BrotliDecoderErrorCode, char const*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:84: undefined reference to `BrotliDecoderErrorString'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_brotli.cc.o): In function `arrow::util::internal::(anonymous namespace)::BrotliCompressor::~BrotliCompressor()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:100: undefined reference to `BrotliEncoderDestroyInstance'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_brotli.cc.o): In function `arrow::util::internal::(anonymous namespace)::BrotliCompressor::Init()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:105: undefined reference to `BrotliEncoderCreateInstance'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:109: undefined reference to `BrotliEncoderSetParameter'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_brotli.cc.o): In function `arrow::util::internal::(anonymous namespace)::BrotliCompressor::Compress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:121: undefined reference to `BrotliEncoderCompressStream'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_brotli.cc.o): In function `arrow::util::internal::(anonymous namespace)::BrotliCompressor::Flush(long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:136: undefined reference to `BrotliEncoderCompressStream'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:142: undefined reference to `BrotliEncoderHasMoreOutput'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_brotli.cc.o): In function `arrow::util::internal::(anonymous namespace)::BrotliCompressor::End(long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:151: undefined reference to `BrotliEncoderCompressStream'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:157: undefined reference to `BrotliEncoderHasMoreOutput'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:158: undefined reference to `BrotliEncoderIsFinished'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_brotli.cc.o): In function `arrow::util::internal::(anonymous namespace)::BrotliCodec::Decompress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:186: undefined reference to `BrotliDecoderDecompress'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_brotli.cc.o): In function `arrow::util::internal::(anonymous namespace)::BrotliCodec::MaxCompressedLen(long, unsigned char const*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:196: undefined reference to `BrotliEncoderMaxCompressedSize'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_brotli.cc.o): In function `arrow::util::internal::(anonymous namespace)::BrotliCodec::Compress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:204: undefined reference to `BrotliEncoderCompress'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_bz2.cc.o): In function `arrow::util::internal::(anonymous namespace)::BZ2Decompressor::~BZ2Decompressor()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_bz2.cc:98: undefined reference to `BZ2_bzDecompressEnd'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_bz2.cc.o): In function `arrow::util::internal::(anonymous namespace)::BZ2Decompressor::Init()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_bz2.cc:106: undefined reference to `BZ2_bzDecompressInit'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_bz2.cc.o): In function `arrow::util::internal::(anonymous namespace)::BZ2Decompressor::Reset()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_bz2.cc:117: undefined reference to `BZ2_bzDecompressEnd'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_bz2.cc.o): In function `arrow::util::internal::(anonymous namespace)::BZ2Decompressor::Decompress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_bz2.cc:131: undefined reference to `BZ2_bzDecompress'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_bz2.cc.o): In function `arrow::util::internal::(anonymous namespace)::BZ2Compressor::~BZ2Compressor()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_bz2.cc:161: undefined reference to `BZ2_bzCompressEnd'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_bz2.cc.o): In function `arrow::util::internal::(anonymous namespace)::BZ2Compressor::Init()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_bz2.cc:169: undefined reference to `BZ2_bzCompressInit'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_bz2.cc.o): In function `arrow::util::internal::(anonymous namespace)::BZ2Compressor::Compress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_bz2.cc:185: undefined reference to `BZ2_bzCompress'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_bz2.cc.o): In function `arrow::util::internal::(anonymous namespace)::BZ2Compressor::Flush(long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_bz2.cc:200: undefined reference to `BZ2_bzCompress'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_bz2.cc.o): In function `arrow::util::internal::(anonymous namespace)::BZ2Compressor::End(long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_bz2.cc:215: undefined reference to `BZ2_bzCompress'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::LZ4Error(unsigned long, char const*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:49: undefined reference to `LZ4F_getErrorName'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::LZ4Decompressor::~LZ4Decompressor()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:73: undefined reference to `LZ4F_freeDecompressionContext'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::LZ4Decompressor::Init()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:81: undefined reference to `LZ4F_createDecompressionContext'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:82: undefined reference to `LZ4F_isError'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::LZ4Decompressor::Reset()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:93: undefined reference to `LZ4F_resetDecompressionContext'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::LZ4Decompressor::Decompress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:112: undefined reference to `LZ4F_decompress'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:114: undefined reference to `LZ4F_isError'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::LZ4Compressor::~LZ4Compressor()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:139: undefined reference to `LZ4F_freeCompressionContext'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::LZ4Compressor::Init()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:148: undefined reference to `LZ4F_createCompressionContext'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:149: undefined reference to `LZ4F_isError'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::LZ4Compressor::Compress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:181: undefined reference to `LZ4F_compressBegin'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:181: undefined reference to `LZ4F_isError'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:183: undefined reference to `LZ4F_compressBound'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:187: undefined reference to `LZ4F_compressUpdate'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:189: undefined reference to `LZ4F_isError'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::LZ4Compressor::Flush(long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:203: undefined reference to `LZ4F_compressBegin'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:203: undefined reference to `LZ4F_isError'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:205: undefined reference to `LZ4F_compressBound'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:210: undefined reference to `LZ4F_flush'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:211: undefined reference to `LZ4F_isError'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::LZ4Compressor::End(long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:225: undefined reference to `LZ4F_compressBegin'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:225: undefined reference to `LZ4F_isError'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:227: undefined reference to `LZ4F_compressBound'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:232: undefined reference to `LZ4F_compressEnd'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:233: undefined reference to `LZ4F_isError'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::Lz4FrameCodec::MaxCompressedLen(long, unsigned char const*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:264: undefined reference to `LZ4F_compressFrameBound'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::Lz4FrameCodec::Compress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:271: undefined reference to `LZ4F_compressFrame'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:272: undefined reference to `LZ4F_isError'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::Lz4FrameCodec::maximum_compression_level() const':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:322: undefined reference to `LZ4F_compressionLevel_max'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::Lz4Codec::Decompress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:345: undefined reference to `LZ4_decompress_safe'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::Lz4Codec::MaxCompressedLen(long, unsigned char const*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:356: undefined reference to `LZ4_compressBound'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::Lz4Codec::Compress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:368: undefined reference to `LZ4_compress_default'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:372: undefined reference to `LZ4_compress_HC'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::Lz4Codec::maximum_compression_level() const':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:400: undefined reference to `LZ4F_compressionLevel_max'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_snappy.cc.o): In function `arrow::util::internal::(anonymous namespace)::SnappyCodec::Decompress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_snappy.cc:47: undefined reference to `snappy::GetUncompressedLength(char const*, unsigned long, unsigned long*)'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_snappy.cc:56: undefined reference to `snappy::RawUncompress(char const*, unsigned long, char*)'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_snappy.cc.o): In function `arrow::util::internal::(anonymous namespace)::SnappyCodec::MaxCompressedLen(long, unsigned char const*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_snappy.cc:67: undefined reference to `snappy::MaxCompressedLength(unsigned long)'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_snappy.cc.o): In function `arrow::util::internal::(anonymous namespace)::SnappyCodec::Compress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_snappy.cc:74: undefined reference to `snappy::RawCompress(char const*, unsigned long, char*, unsigned long*)'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipDecompressor::~GZipDecompressor()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:96: undefined reference to `inflateEnd'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipDecompressor::Init()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:107: undefined reference to `inflateInit2_'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipDecompressor::Reset()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:119: undefined reference to `inflateReset'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipDecompressor::Decompress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:136: undefined reference to `inflate'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipCompressor::~GZipCompressor()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:179: undefined reference to `deflateEnd'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipCompressor::Init(arrow::util::internal::GZipFormat::type)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:191: undefined reference to `deflateInit2_'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipCompressor::Compress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:212: undefined reference to `deflate'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipCompressor::Flush(long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:237: undefined reference to `deflate'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipCompressor::End(long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:268: undefined reference to `deflate'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:276: undefined reference to `deflateEnd'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipCodec::InitCompressor()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:337: undefined reference to `deflateInit2_'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipCodec::EndCompressor()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:346: undefined reference to `deflateEnd'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipCodec::InitDecompressor()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:358: undefined reference to `inflateInit2_'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipCodec::EndDecompressor()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:367: undefined reference to `inflateEnd'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipCodec::Decompress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:386: undefined reference to `inflateReset'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:405: undefined reference to `inflate'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipCodec::MaxCompressedLen(long, unsigned char const*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:428: undefined reference to `deflateBound'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipCodec::Compress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:445: undefined reference to `deflate'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:455: undefined reference to `deflateReset'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDError(unsigned long, char const*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:40: undefined reference to `ZSTD_getErrorName'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDDecompressor::ZSTDDecompressor()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:48: undefined reference to `ZSTD_createDStream'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDDecompressor::~ZSTDDecompressor()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:50: undefined reference to `ZSTD_freeDStream'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDDecompressor::Init()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:54: undefined reference to `ZSTD_initDStream'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:55: undefined reference to `ZSTD_isError'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDDecompressor::Decompress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:75: undefined reference to `ZSTD_decompressStream'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:76: undefined reference to `ZSTD_isError'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDCompressor::ZSTDCompressor(int)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:100: undefined reference to `ZSTD_createCStream'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDCompressor::~ZSTDCompressor()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:102: undefined reference to `ZSTD_freeCStream'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDCompressor::Init()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:105: undefined reference to `ZSTD_initCStream'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:106: undefined reference to `ZSTD_isError'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDCompressor::Compress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:126: undefined reference to `ZSTD_compressStream'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:127: undefined reference to `ZSTD_isError'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDCompressor::Flush(long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:142: undefined reference to `ZSTD_flushStream'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:143: undefined reference to `ZSTD_isError'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDCompressor::End(long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:157: undefined reference to `ZSTD_endStream'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:158: undefined reference to `ZSTD_isError'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDCodec::Decompress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:192: undefined reference to `ZSTD_decompress'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:193: undefined reference to `ZSTD_isError'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDCodec::MaxCompressedLen(long, unsigned char const*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:205: undefined reference to `ZSTD_compressBound'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDCodec::Compress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:211: undefined reference to `ZSTD_compress'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:212: undefined reference to `ZSTD_isError'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDCodec::minimum_compression_level() const':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:231: undefined reference to `ZSTD_minCLevel'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDCodec::maximum_compression_level() const':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:232: undefined reference to `ZSTD_maxCLevel'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.

@dg0yt

Copy link
Copy Markdown
Author

TBH I don't really understand the issue title "arrow_static requires needless dependencies". The private dependencies are not "needless".

@kou

kou commented Jul 28, 2022

Copy link
Copy Markdown
Member

I've added "Exported" to "arrow_static".

(It seems that you should have created a JIRA issue by yourself because this is not "a single word contribution".)

@kou

kou commented Jul 28, 2022

Copy link
Copy Markdown
Member

Thanks for the error log.
It showed a problem what I assumed... I thought this is caused by find_package(Arrow) but it seems that it's not related.

- name: Run minimal example (static, system dependencies)
run: |
cd cpp/examples/minimal_build
docker-compose run --rm static-system-dependency

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this reproduce this problem?
I couldn't reproduce this problem by this without your cpp/src/arrow/CMakeLists.txt change.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I admit I can't test this particular part locally.
FTR: is this already run elsewhere in the CI configurations?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kou

kou commented Aug 16, 2022

Copy link
Copy Markdown
Member

#13892 includes this. Closed in favor of #13892 .

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@dg0yt@kou
, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Force GitHub README to respect dark mode\n(function() {\n var style = document.createElement('style');\n style.textContent = '\n .markdown-body {\n color-scheme: dark light;\n }\n .markdown-body pre { background: #161b22 !important; }\n .markdown-body code { background: rgba(110, 118, 129, 0.4) !important; }\n .markdown-body table th, .markdown-body table td { border-color: #30363d !important; }\n .markdown-body img { background: #0d1117; }\n .markdown-body blockquote { border-left-color: #8b949e; }\n .markdown-body hr { border-color: #30363d; }\n ';\n document.head.appendChild(style);\n})();", "GitHub Dark Mode README Fix"); } } catch(__e) { console.warn('[Userscript:GitHub Dark Mode README Fix]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + '
Skip to content

ARROW-17231: [C++] Restore STATIC_INSTALL_INTERFACE_LIBS for arrow_static - #13707

Closed
dg0yt wants to merge 2 commits into
apache:masterfrom
dg0yt:patch-1
Closed

ARROW-17231: [C++] Restore STATIC_INSTALL_INTERFACE_LIBS for arrow_static#13707
dg0yt wants to merge 2 commits into
apache:masterfrom
dg0yt:patch-1

Conversation

@dg0yt

@dg0ytdg0yt commented Jul 26, 2022

Copy link
Copy Markdown

This change restore the STATIC_INSTALL_INTERFACE_LIBS keyword for lib arrow, which was lost in 2fea818.
It fixes the usability of the exported config for static builds with system dependencies, which lacked all transitive usage requirements.
Noticed in building the minimal example in vcpkg, as part of microsoft/vcpkg#25983.

@github-actions

Copy link
Copy Markdown

Thanks for opening a pull request!

If this is not a minor PR. Could you open an issue for this pull request on JIRA? https://issues.apache.org/jira/browse/ARROW

Opening JIRAs ahead of time contributes to the Openness of the Apache Arrow project.

Then could you also rename pull request title in the following format?

ARROW-${JIRA_ID}: [${COMPONENT}] ${SUMMARY}

or

MINOR: [${COMPONENT}] ${SUMMARY}

See also:

@kou

kou commented Jul 26, 2022

Copy link
Copy Markdown
Member

Good catch!
Could you open a JIRA issue for this?

@dg0yt

Copy link
Copy Markdown
Author

Good catch!
Could you open a JIRA issue for this?

This is pretty much overhead for a single word contribution, isn't it. I would be glad if project members could handle that.

@kou

kou commented Jul 27, 2022

Copy link
Copy Markdown
Member

OK.

I want a test for this to prevent this problem again.
Do you want me to add a test for this too?

@dg0yt

Copy link
Copy Markdown
Author

Hm, this means a post-install test so that it runs in arrow CI. But I don't know where to start in arrow (CI). Is there any existing post-install test? Which CI job does static linkage with dependencies provided by the system?
(I did something similar for GDAL, but I could take existing post-install tests as a template.)

What I did in vcpkg is to install the minimal_build example source code with the arrow port, and add another port vcpkg-ci-arrow which builds the example. This was trivial (given that I know how to write vcpkg ports).

@kou

kou commented Jul 27, 2022

Copy link
Copy Markdown
Member

@koukou changed the title Restore STATIC_INSTALL_INTERFACE_LIBSARROW-17231: [C++] Restore STATIC_INSTALL_INTERFACE_LIBS for arrow_staticJul 27, 2022
@github-actions

Copy link
Copy Markdown

@github-actions

Copy link
Copy Markdown

⚠️ Ticket has not been started in JIRA, please click 'Start Progress'.

@kou

kou commented Jul 27, 2022

Copy link
Copy Markdown
Member

Could you show an error message without this change?

@dg0yt

Copy link
Copy Markdown
Author

Could you show an error message without this change?

In other GH projects, I would have temporarily pushed a revert of the original change, and force-push without the revert after the CI run. (Or I would have pushed the test as first commit.) I can do that here, but I need maintainer approval for CI runs.

For reference, this is from vcpgk with the patch disactivated. Not a single static system lib passed in the linking step.

[1/2] /usr/bin/c++ -isystem /vcpkg/installed/x64-linux/include -fPIC -g -pthread -std=gnu++11 -MD -MT CMakeFiles/arrow-example.dir/example.cc.o -MF CMakeFiles/arrow-example.dir/example.cc.o.d -o CMakeFiles/arrow-example.dir/example.cc.o -c /vcpkg/installed/x64-linux/share/arrow/example/example.cc
[2/2] : && /usr/bin/c++ -fPIC -g -rdynamic CMakeFiles/arrow-example.dir/example.cc.o -o arrow-example /vcpkg/installed/x64-linux/debug/lib/libarrow.a -pthread && :
FAILED: arrow-example : && /usr/bin/c++ -fPIC -g -rdynamic CMakeFiles/arrow-example.dir/example.cc.o -o arrow-example /vcpkg/installed/x64-linux/debug/lib/libarrow.a -pthread && :
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_brotli.cc.o): In function `arrow::util::internal::(anonymous namespace)::BrotliDecompressor::~BrotliDecompressor()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:43: undefined reference to `BrotliDecoderDestroyInstance'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_brotli.cc.o): In function `arrow::util::internal::(anonymous namespace)::BrotliDecompressor::Init()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:48: undefined reference to `BrotliDecoderCreateInstance'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_brotli.cc.o): In function `arrow::util::internal::(anonymous namespace)::BrotliDecompressor::Reset()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:57: undefined reference to `BrotliDecoderDestroyInstance'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_brotli.cc.o): In function `arrow::util::internal::(anonymous namespace)::BrotliDecompressor::Decompress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:68: undefined reference to `BrotliDecoderDecompressStream'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:71: undefined reference to `BrotliDecoderGetErrorCode'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_brotli.cc.o): In function `arrow::util::internal::(anonymous namespace)::BrotliDecompressor::IsFinished()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:78: undefined reference to `BrotliDecoderIsFinished'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_brotli.cc.o): In function `arrow::util::internal::(anonymous namespace)::BrotliDecompressor::BrotliError(BrotliDecoderErrorCode, char const*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:84: undefined reference to `BrotliDecoderErrorString'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_brotli.cc.o): In function `arrow::util::internal::(anonymous namespace)::BrotliCompressor::~BrotliCompressor()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:100: undefined reference to `BrotliEncoderDestroyInstance'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_brotli.cc.o): In function `arrow::util::internal::(anonymous namespace)::BrotliCompressor::Init()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:105: undefined reference to `BrotliEncoderCreateInstance'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:109: undefined reference to `BrotliEncoderSetParameter'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_brotli.cc.o): In function `arrow::util::internal::(anonymous namespace)::BrotliCompressor::Compress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:121: undefined reference to `BrotliEncoderCompressStream'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_brotli.cc.o): In function `arrow::util::internal::(anonymous namespace)::BrotliCompressor::Flush(long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:136: undefined reference to `BrotliEncoderCompressStream'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:142: undefined reference to `BrotliEncoderHasMoreOutput'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_brotli.cc.o): In function `arrow::util::internal::(anonymous namespace)::BrotliCompressor::End(long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:151: undefined reference to `BrotliEncoderCompressStream'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:157: undefined reference to `BrotliEncoderHasMoreOutput'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:158: undefined reference to `BrotliEncoderIsFinished'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_brotli.cc.o): In function `arrow::util::internal::(anonymous namespace)::BrotliCodec::Decompress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:186: undefined reference to `BrotliDecoderDecompress'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_brotli.cc.o): In function `arrow::util::internal::(anonymous namespace)::BrotliCodec::MaxCompressedLen(long, unsigned char const*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:196: undefined reference to `BrotliEncoderMaxCompressedSize'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_brotli.cc.o): In function `arrow::util::internal::(anonymous namespace)::BrotliCodec::Compress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:204: undefined reference to `BrotliEncoderCompress'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_bz2.cc.o): In function `arrow::util::internal::(anonymous namespace)::BZ2Decompressor::~BZ2Decompressor()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_bz2.cc:98: undefined reference to `BZ2_bzDecompressEnd'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_bz2.cc.o): In function `arrow::util::internal::(anonymous namespace)::BZ2Decompressor::Init()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_bz2.cc:106: undefined reference to `BZ2_bzDecompressInit'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_bz2.cc.o): In function `arrow::util::internal::(anonymous namespace)::BZ2Decompressor::Reset()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_bz2.cc:117: undefined reference to `BZ2_bzDecompressEnd'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_bz2.cc.o): In function `arrow::util::internal::(anonymous namespace)::BZ2Decompressor::Decompress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_bz2.cc:131: undefined reference to `BZ2_bzDecompress'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_bz2.cc.o): In function `arrow::util::internal::(anonymous namespace)::BZ2Compressor::~BZ2Compressor()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_bz2.cc:161: undefined reference to `BZ2_bzCompressEnd'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_bz2.cc.o): In function `arrow::util::internal::(anonymous namespace)::BZ2Compressor::Init()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_bz2.cc:169: undefined reference to `BZ2_bzCompressInit'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_bz2.cc.o): In function `arrow::util::internal::(anonymous namespace)::BZ2Compressor::Compress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_bz2.cc:185: undefined reference to `BZ2_bzCompress'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_bz2.cc.o): In function `arrow::util::internal::(anonymous namespace)::BZ2Compressor::Flush(long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_bz2.cc:200: undefined reference to `BZ2_bzCompress'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_bz2.cc.o): In function `arrow::util::internal::(anonymous namespace)::BZ2Compressor::End(long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_bz2.cc:215: undefined reference to `BZ2_bzCompress'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::LZ4Error(unsigned long, char const*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:49: undefined reference to `LZ4F_getErrorName'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::LZ4Decompressor::~LZ4Decompressor()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:73: undefined reference to `LZ4F_freeDecompressionContext'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::LZ4Decompressor::Init()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:81: undefined reference to `LZ4F_createDecompressionContext'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:82: undefined reference to `LZ4F_isError'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::LZ4Decompressor::Reset()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:93: undefined reference to `LZ4F_resetDecompressionContext'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::LZ4Decompressor::Decompress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:112: undefined reference to `LZ4F_decompress'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:114: undefined reference to `LZ4F_isError'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::LZ4Compressor::~LZ4Compressor()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:139: undefined reference to `LZ4F_freeCompressionContext'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::LZ4Compressor::Init()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:148: undefined reference to `LZ4F_createCompressionContext'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:149: undefined reference to `LZ4F_isError'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::LZ4Compressor::Compress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:181: undefined reference to `LZ4F_compressBegin'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:181: undefined reference to `LZ4F_isError'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:183: undefined reference to `LZ4F_compressBound'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:187: undefined reference to `LZ4F_compressUpdate'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:189: undefined reference to `LZ4F_isError'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::LZ4Compressor::Flush(long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:203: undefined reference to `LZ4F_compressBegin'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:203: undefined reference to `LZ4F_isError'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:205: undefined reference to `LZ4F_compressBound'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:210: undefined reference to `LZ4F_flush'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:211: undefined reference to `LZ4F_isError'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::LZ4Compressor::End(long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:225: undefined reference to `LZ4F_compressBegin'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:225: undefined reference to `LZ4F_isError'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:227: undefined reference to `LZ4F_compressBound'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:232: undefined reference to `LZ4F_compressEnd'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:233: undefined reference to `LZ4F_isError'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::Lz4FrameCodec::MaxCompressedLen(long, unsigned char const*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:264: undefined reference to `LZ4F_compressFrameBound'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::Lz4FrameCodec::Compress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:271: undefined reference to `LZ4F_compressFrame'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:272: undefined reference to `LZ4F_isError'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::Lz4FrameCodec::maximum_compression_level() const':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:322: undefined reference to `LZ4F_compressionLevel_max'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::Lz4Codec::Decompress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:345: undefined reference to `LZ4_decompress_safe'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::Lz4Codec::MaxCompressedLen(long, unsigned char const*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:356: undefined reference to `LZ4_compressBound'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::Lz4Codec::Compress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:368: undefined reference to `LZ4_compress_default'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:372: undefined reference to `LZ4_compress_HC'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::Lz4Codec::maximum_compression_level() const':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:400: undefined reference to `LZ4F_compressionLevel_max'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_snappy.cc.o): In function `arrow::util::internal::(anonymous namespace)::SnappyCodec::Decompress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_snappy.cc:47: undefined reference to `snappy::GetUncompressedLength(char const*, unsigned long, unsigned long*)'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_snappy.cc:56: undefined reference to `snappy::RawUncompress(char const*, unsigned long, char*)'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_snappy.cc.o): In function `arrow::util::internal::(anonymous namespace)::SnappyCodec::MaxCompressedLen(long, unsigned char const*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_snappy.cc:67: undefined reference to `snappy::MaxCompressedLength(unsigned long)'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_snappy.cc.o): In function `arrow::util::internal::(anonymous namespace)::SnappyCodec::Compress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_snappy.cc:74: undefined reference to `snappy::RawCompress(char const*, unsigned long, char*, unsigned long*)'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipDecompressor::~GZipDecompressor()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:96: undefined reference to `inflateEnd'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipDecompressor::Init()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:107: undefined reference to `inflateInit2_'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipDecompressor::Reset()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:119: undefined reference to `inflateReset'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipDecompressor::Decompress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:136: undefined reference to `inflate'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipCompressor::~GZipCompressor()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:179: undefined reference to `deflateEnd'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipCompressor::Init(arrow::util::internal::GZipFormat::type)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:191: undefined reference to `deflateInit2_'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipCompressor::Compress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:212: undefined reference to `deflate'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipCompressor::Flush(long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:237: undefined reference to `deflate'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipCompressor::End(long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:268: undefined reference to `deflate'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:276: undefined reference to `deflateEnd'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipCodec::InitCompressor()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:337: undefined reference to `deflateInit2_'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipCodec::EndCompressor()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:346: undefined reference to `deflateEnd'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipCodec::InitDecompressor()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:358: undefined reference to `inflateInit2_'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipCodec::EndDecompressor()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:367: undefined reference to `inflateEnd'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipCodec::Decompress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:386: undefined reference to `inflateReset'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:405: undefined reference to `inflate'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipCodec::MaxCompressedLen(long, unsigned char const*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:428: undefined reference to `deflateBound'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipCodec::Compress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:445: undefined reference to `deflate'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:455: undefined reference to `deflateReset'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDError(unsigned long, char const*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:40: undefined reference to `ZSTD_getErrorName'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDDecompressor::ZSTDDecompressor()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:48: undefined reference to `ZSTD_createDStream'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDDecompressor::~ZSTDDecompressor()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:50: undefined reference to `ZSTD_freeDStream'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDDecompressor::Init()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:54: undefined reference to `ZSTD_initDStream'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:55: undefined reference to `ZSTD_isError'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDDecompressor::Decompress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:75: undefined reference to `ZSTD_decompressStream'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:76: undefined reference to `ZSTD_isError'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDCompressor::ZSTDCompressor(int)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:100: undefined reference to `ZSTD_createCStream'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDCompressor::~ZSTDCompressor()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:102: undefined reference to `ZSTD_freeCStream'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDCompressor::Init()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:105: undefined reference to `ZSTD_initCStream'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:106: undefined reference to `ZSTD_isError'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDCompressor::Compress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:126: undefined reference to `ZSTD_compressStream'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:127: undefined reference to `ZSTD_isError'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDCompressor::Flush(long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:142: undefined reference to `ZSTD_flushStream'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:143: undefined reference to `ZSTD_isError'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDCompressor::End(long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:157: undefined reference to `ZSTD_endStream'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:158: undefined reference to `ZSTD_isError'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDCodec::Decompress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:192: undefined reference to `ZSTD_decompress'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:193: undefined reference to `ZSTD_isError'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDCodec::MaxCompressedLen(long, unsigned char const*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:205: undefined reference to `ZSTD_compressBound'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDCodec::Compress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:211: undefined reference to `ZSTD_compress'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:212: undefined reference to `ZSTD_isError'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDCodec::minimum_compression_level() const':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:231: undefined reference to `ZSTD_minCLevel'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDCodec::maximum_compression_level() const':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:232: undefined reference to `ZSTD_maxCLevel'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.

@dg0yt

Copy link
Copy Markdown
Author

TBH I don't really understand the issue title "arrow_static requires needless dependencies". The private dependencies are not "needless".

@kou

kou commented Jul 28, 2022

Copy link
Copy Markdown
Member

I've added "Exported" to "arrow_static".

(It seems that you should have created a JIRA issue by yourself because this is not "a single word contribution".)

@kou

kou commented Jul 28, 2022

Copy link
Copy Markdown
Member

Thanks for the error log.
It showed a problem what I assumed... I thought this is caused by find_package(Arrow) but it seems that it's not related.

- name: Run minimal example (static, system dependencies)
run: |
cd cpp/examples/minimal_build
docker-compose run --rm static-system-dependency

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this reproduce this problem?
I couldn't reproduce this problem by this without your cpp/src/arrow/CMakeLists.txt change.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I admit I can't test this particular part locally.
FTR: is this already run elsewhere in the CI configurations?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kou

kou commented Aug 16, 2022

Copy link
Copy Markdown
Member

#13892 includes this. Closed in favor of #13892 .

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@dg0yt@kou
, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Highlight search terms from Google/DuckDuckGo/Bing referrer\n(function() {\n var ref = document.referrer;\n var terms = [];\n \n if (ref.includes('google.com') || ref.includes('duckduckgo.com') || ref.includes('bing.com')) {\n var url = new URL(ref);\n var q = url.searchParams.get('q') || url.searchParams.get('p');\n if (q) {\n terms = q.split(/\\s+/).filter(function(t) { return t.length > 2; });\n }\n }\n \n if (terms.length === 0) return;\n \n var style = document.createElement('style');\n style.textContent = '.userscript-highlight { background: #fbbf24; color: #1a1a2e; padding: 1px 3px; border-radius: 2px; }';\n document.head.appendChild(style);\n \n function highlight(node) {\n if (node.nodeType === 3) { // text node\n var text = node.textContent;\n var found = false;\n terms.forEach(function(term) {\n var regex = new RegExp('(' + term.replace(/[.*+?^${}()|[\\]\\\\]/g, '\\\\') + ')', 'gi');\n if (regex.test(text)) {\n found = true;\n var frag = document.createDocumentFragment();\n var parts = text.split(regex);\n parts.forEach(function(part, i) {\n if (i % 2 === 0) {\n frag.appendChild(document.createTextNode(part));\n } else {\n var span = document.createElement('span');\n span.className = 'userscript-highlight';\n span.textContent = part;\n frag.appendChild(span);\n }\n });\n node.parentNode.replaceChild(frag, node);\n }\n });\n } else if (node.nodeType === 1 && node.childNodes) { // element\n var skipTags = ['SCRIPT', 'STYLE', 'NOSCRIPT', 'TEXTAREA', 'INPUT', 'SELECT'];\n if (!skipTags.includes(node.tagName)) {\n Array.from(node.childNodes).forEach(highlight);\n }\n }\n }\n \n highlight(document.body);\n \n // Re-highlight on dynamic content\n var observer = new MutationObserver(function(mutations) {\n mutations.forEach(function(m) {\n m.addedNodes.forEach(function(node) {\n if (node.nodeType === 1 || node.nodeType === 3) highlight(node);\n });\n });\n });\n observer.observe(document.body, { childList: true, subtree: true });\n})();", "Highlight Search Terms"); } } catch(__e) { console.warn('[Userscript:Highlight Search Terms]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + '
Skip to content

ARROW-17231: [C++] Restore STATIC_INSTALL_INTERFACE_LIBS for arrow_static - #13707

Closed
dg0yt wants to merge 2 commits into
apache:masterfrom
dg0yt:patch-1
Closed

ARROW-17231: [C++] Restore STATIC_INSTALL_INTERFACE_LIBS for arrow_static#13707
dg0yt wants to merge 2 commits into
apache:masterfrom
dg0yt:patch-1

Conversation

@dg0yt

@dg0ytdg0yt commented Jul 26, 2022

Copy link
Copy Markdown

This change restore the STATIC_INSTALL_INTERFACE_LIBS keyword for lib arrow, which was lost in 2fea818.
It fixes the usability of the exported config for static builds with system dependencies, which lacked all transitive usage requirements.
Noticed in building the minimal example in vcpkg, as part of microsoft/vcpkg#25983.

@github-actions

Copy link
Copy Markdown

Thanks for opening a pull request!

If this is not a minor PR. Could you open an issue for this pull request on JIRA? https://issues.apache.org/jira/browse/ARROW

Opening JIRAs ahead of time contributes to the Openness of the Apache Arrow project.

Then could you also rename pull request title in the following format?

ARROW-${JIRA_ID}: [${COMPONENT}] ${SUMMARY}

or

MINOR: [${COMPONENT}] ${SUMMARY}

See also:

@kou

kou commented Jul 26, 2022

Copy link
Copy Markdown
Member

Good catch!
Could you open a JIRA issue for this?

@dg0yt

Copy link
Copy Markdown
Author

Good catch!
Could you open a JIRA issue for this?

This is pretty much overhead for a single word contribution, isn't it. I would be glad if project members could handle that.

@kou

kou commented Jul 27, 2022

Copy link
Copy Markdown
Member

OK.

I want a test for this to prevent this problem again.
Do you want me to add a test for this too?

@dg0yt

Copy link
Copy Markdown
Author

Hm, this means a post-install test so that it runs in arrow CI. But I don't know where to start in arrow (CI). Is there any existing post-install test? Which CI job does static linkage with dependencies provided by the system?
(I did something similar for GDAL, but I could take existing post-install tests as a template.)

What I did in vcpkg is to install the minimal_build example source code with the arrow port, and add another port vcpkg-ci-arrow which builds the example. This was trivial (given that I know how to write vcpkg ports).

@kou

kou commented Jul 27, 2022

Copy link
Copy Markdown
Member

@koukou changed the title Restore STATIC_INSTALL_INTERFACE_LIBSARROW-17231: [C++] Restore STATIC_INSTALL_INTERFACE_LIBS for arrow_staticJul 27, 2022
@github-actions

Copy link
Copy Markdown

@github-actions

Copy link
Copy Markdown

⚠️ Ticket has not been started in JIRA, please click 'Start Progress'.

@kou

kou commented Jul 27, 2022

Copy link
Copy Markdown
Member

Could you show an error message without this change?

@dg0yt

Copy link
Copy Markdown
Author

Could you show an error message without this change?

In other GH projects, I would have temporarily pushed a revert of the original change, and force-push without the revert after the CI run. (Or I would have pushed the test as first commit.) I can do that here, but I need maintainer approval for CI runs.

For reference, this is from vcpgk with the patch disactivated. Not a single static system lib passed in the linking step.

[1/2] /usr/bin/c++ -isystem /vcpkg/installed/x64-linux/include -fPIC -g -pthread -std=gnu++11 -MD -MT CMakeFiles/arrow-example.dir/example.cc.o -MF CMakeFiles/arrow-example.dir/example.cc.o.d -o CMakeFiles/arrow-example.dir/example.cc.o -c /vcpkg/installed/x64-linux/share/arrow/example/example.cc
[2/2] : && /usr/bin/c++ -fPIC -g -rdynamic CMakeFiles/arrow-example.dir/example.cc.o -o arrow-example /vcpkg/installed/x64-linux/debug/lib/libarrow.a -pthread && :
FAILED: arrow-example : && /usr/bin/c++ -fPIC -g -rdynamic CMakeFiles/arrow-example.dir/example.cc.o -o arrow-example /vcpkg/installed/x64-linux/debug/lib/libarrow.a -pthread && :
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_brotli.cc.o): In function `arrow::util::internal::(anonymous namespace)::BrotliDecompressor::~BrotliDecompressor()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:43: undefined reference to `BrotliDecoderDestroyInstance'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_brotli.cc.o): In function `arrow::util::internal::(anonymous namespace)::BrotliDecompressor::Init()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:48: undefined reference to `BrotliDecoderCreateInstance'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_brotli.cc.o): In function `arrow::util::internal::(anonymous namespace)::BrotliDecompressor::Reset()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:57: undefined reference to `BrotliDecoderDestroyInstance'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_brotli.cc.o): In function `arrow::util::internal::(anonymous namespace)::BrotliDecompressor::Decompress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:68: undefined reference to `BrotliDecoderDecompressStream'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:71: undefined reference to `BrotliDecoderGetErrorCode'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_brotli.cc.o): In function `arrow::util::internal::(anonymous namespace)::BrotliDecompressor::IsFinished()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:78: undefined reference to `BrotliDecoderIsFinished'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_brotli.cc.o): In function `arrow::util::internal::(anonymous namespace)::BrotliDecompressor::BrotliError(BrotliDecoderErrorCode, char const*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:84: undefined reference to `BrotliDecoderErrorString'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_brotli.cc.o): In function `arrow::util::internal::(anonymous namespace)::BrotliCompressor::~BrotliCompressor()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:100: undefined reference to `BrotliEncoderDestroyInstance'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_brotli.cc.o): In function `arrow::util::internal::(anonymous namespace)::BrotliCompressor::Init()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:105: undefined reference to `BrotliEncoderCreateInstance'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:109: undefined reference to `BrotliEncoderSetParameter'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_brotli.cc.o): In function `arrow::util::internal::(anonymous namespace)::BrotliCompressor::Compress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:121: undefined reference to `BrotliEncoderCompressStream'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_brotli.cc.o): In function `arrow::util::internal::(anonymous namespace)::BrotliCompressor::Flush(long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:136: undefined reference to `BrotliEncoderCompressStream'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:142: undefined reference to `BrotliEncoderHasMoreOutput'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_brotli.cc.o): In function `arrow::util::internal::(anonymous namespace)::BrotliCompressor::End(long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:151: undefined reference to `BrotliEncoderCompressStream'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:157: undefined reference to `BrotliEncoderHasMoreOutput'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:158: undefined reference to `BrotliEncoderIsFinished'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_brotli.cc.o): In function `arrow::util::internal::(anonymous namespace)::BrotliCodec::Decompress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:186: undefined reference to `BrotliDecoderDecompress'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_brotli.cc.o): In function `arrow::util::internal::(anonymous namespace)::BrotliCodec::MaxCompressedLen(long, unsigned char const*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:196: undefined reference to `BrotliEncoderMaxCompressedSize'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_brotli.cc.o): In function `arrow::util::internal::(anonymous namespace)::BrotliCodec::Compress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:204: undefined reference to `BrotliEncoderCompress'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_bz2.cc.o): In function `arrow::util::internal::(anonymous namespace)::BZ2Decompressor::~BZ2Decompressor()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_bz2.cc:98: undefined reference to `BZ2_bzDecompressEnd'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_bz2.cc.o): In function `arrow::util::internal::(anonymous namespace)::BZ2Decompressor::Init()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_bz2.cc:106: undefined reference to `BZ2_bzDecompressInit'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_bz2.cc.o): In function `arrow::util::internal::(anonymous namespace)::BZ2Decompressor::Reset()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_bz2.cc:117: undefined reference to `BZ2_bzDecompressEnd'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_bz2.cc.o): In function `arrow::util::internal::(anonymous namespace)::BZ2Decompressor::Decompress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_bz2.cc:131: undefined reference to `BZ2_bzDecompress'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_bz2.cc.o): In function `arrow::util::internal::(anonymous namespace)::BZ2Compressor::~BZ2Compressor()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_bz2.cc:161: undefined reference to `BZ2_bzCompressEnd'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_bz2.cc.o): In function `arrow::util::internal::(anonymous namespace)::BZ2Compressor::Init()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_bz2.cc:169: undefined reference to `BZ2_bzCompressInit'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_bz2.cc.o): In function `arrow::util::internal::(anonymous namespace)::BZ2Compressor::Compress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_bz2.cc:185: undefined reference to `BZ2_bzCompress'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_bz2.cc.o): In function `arrow::util::internal::(anonymous namespace)::BZ2Compressor::Flush(long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_bz2.cc:200: undefined reference to `BZ2_bzCompress'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_bz2.cc.o): In function `arrow::util::internal::(anonymous namespace)::BZ2Compressor::End(long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_bz2.cc:215: undefined reference to `BZ2_bzCompress'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::LZ4Error(unsigned long, char const*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:49: undefined reference to `LZ4F_getErrorName'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::LZ4Decompressor::~LZ4Decompressor()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:73: undefined reference to `LZ4F_freeDecompressionContext'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::LZ4Decompressor::Init()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:81: undefined reference to `LZ4F_createDecompressionContext'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:82: undefined reference to `LZ4F_isError'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::LZ4Decompressor::Reset()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:93: undefined reference to `LZ4F_resetDecompressionContext'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::LZ4Decompressor::Decompress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:112: undefined reference to `LZ4F_decompress'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:114: undefined reference to `LZ4F_isError'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::LZ4Compressor::~LZ4Compressor()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:139: undefined reference to `LZ4F_freeCompressionContext'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::LZ4Compressor::Init()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:148: undefined reference to `LZ4F_createCompressionContext'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:149: undefined reference to `LZ4F_isError'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::LZ4Compressor::Compress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:181: undefined reference to `LZ4F_compressBegin'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:181: undefined reference to `LZ4F_isError'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:183: undefined reference to `LZ4F_compressBound'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:187: undefined reference to `LZ4F_compressUpdate'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:189: undefined reference to `LZ4F_isError'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::LZ4Compressor::Flush(long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:203: undefined reference to `LZ4F_compressBegin'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:203: undefined reference to `LZ4F_isError'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:205: undefined reference to `LZ4F_compressBound'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:210: undefined reference to `LZ4F_flush'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:211: undefined reference to `LZ4F_isError'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::LZ4Compressor::End(long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:225: undefined reference to `LZ4F_compressBegin'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:225: undefined reference to `LZ4F_isError'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:227: undefined reference to `LZ4F_compressBound'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:232: undefined reference to `LZ4F_compressEnd'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:233: undefined reference to `LZ4F_isError'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::Lz4FrameCodec::MaxCompressedLen(long, unsigned char const*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:264: undefined reference to `LZ4F_compressFrameBound'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::Lz4FrameCodec::Compress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:271: undefined reference to `LZ4F_compressFrame'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:272: undefined reference to `LZ4F_isError'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::Lz4FrameCodec::maximum_compression_level() const':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:322: undefined reference to `LZ4F_compressionLevel_max'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::Lz4Codec::Decompress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:345: undefined reference to `LZ4_decompress_safe'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::Lz4Codec::MaxCompressedLen(long, unsigned char const*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:356: undefined reference to `LZ4_compressBound'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::Lz4Codec::Compress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:368: undefined reference to `LZ4_compress_default'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:372: undefined reference to `LZ4_compress_HC'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::Lz4Codec::maximum_compression_level() const':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:400: undefined reference to `LZ4F_compressionLevel_max'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_snappy.cc.o): In function `arrow::util::internal::(anonymous namespace)::SnappyCodec::Decompress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_snappy.cc:47: undefined reference to `snappy::GetUncompressedLength(char const*, unsigned long, unsigned long*)'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_snappy.cc:56: undefined reference to `snappy::RawUncompress(char const*, unsigned long, char*)'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_snappy.cc.o): In function `arrow::util::internal::(anonymous namespace)::SnappyCodec::MaxCompressedLen(long, unsigned char const*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_snappy.cc:67: undefined reference to `snappy::MaxCompressedLength(unsigned long)'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_snappy.cc.o): In function `arrow::util::internal::(anonymous namespace)::SnappyCodec::Compress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_snappy.cc:74: undefined reference to `snappy::RawCompress(char const*, unsigned long, char*, unsigned long*)'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipDecompressor::~GZipDecompressor()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:96: undefined reference to `inflateEnd'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipDecompressor::Init()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:107: undefined reference to `inflateInit2_'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipDecompressor::Reset()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:119: undefined reference to `inflateReset'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipDecompressor::Decompress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:136: undefined reference to `inflate'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipCompressor::~GZipCompressor()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:179: undefined reference to `deflateEnd'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipCompressor::Init(arrow::util::internal::GZipFormat::type)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:191: undefined reference to `deflateInit2_'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipCompressor::Compress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:212: undefined reference to `deflate'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipCompressor::Flush(long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:237: undefined reference to `deflate'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipCompressor::End(long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:268: undefined reference to `deflate'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:276: undefined reference to `deflateEnd'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipCodec::InitCompressor()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:337: undefined reference to `deflateInit2_'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipCodec::EndCompressor()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:346: undefined reference to `deflateEnd'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipCodec::InitDecompressor()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:358: undefined reference to `inflateInit2_'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipCodec::EndDecompressor()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:367: undefined reference to `inflateEnd'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipCodec::Decompress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:386: undefined reference to `inflateReset'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:405: undefined reference to `inflate'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipCodec::MaxCompressedLen(long, unsigned char const*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:428: undefined reference to `deflateBound'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipCodec::Compress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:445: undefined reference to `deflate'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:455: undefined reference to `deflateReset'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDError(unsigned long, char const*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:40: undefined reference to `ZSTD_getErrorName'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDDecompressor::ZSTDDecompressor()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:48: undefined reference to `ZSTD_createDStream'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDDecompressor::~ZSTDDecompressor()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:50: undefined reference to `ZSTD_freeDStream'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDDecompressor::Init()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:54: undefined reference to `ZSTD_initDStream'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:55: undefined reference to `ZSTD_isError'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDDecompressor::Decompress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:75: undefined reference to `ZSTD_decompressStream'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:76: undefined reference to `ZSTD_isError'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDCompressor::ZSTDCompressor(int)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:100: undefined reference to `ZSTD_createCStream'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDCompressor::~ZSTDCompressor()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:102: undefined reference to `ZSTD_freeCStream'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDCompressor::Init()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:105: undefined reference to `ZSTD_initCStream'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:106: undefined reference to `ZSTD_isError'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDCompressor::Compress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:126: undefined reference to `ZSTD_compressStream'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:127: undefined reference to `ZSTD_isError'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDCompressor::Flush(long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:142: undefined reference to `ZSTD_flushStream'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:143: undefined reference to `ZSTD_isError'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDCompressor::End(long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:157: undefined reference to `ZSTD_endStream'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:158: undefined reference to `ZSTD_isError'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDCodec::Decompress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:192: undefined reference to `ZSTD_decompress'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:193: undefined reference to `ZSTD_isError'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDCodec::MaxCompressedLen(long, unsigned char const*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:205: undefined reference to `ZSTD_compressBound'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDCodec::Compress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:211: undefined reference to `ZSTD_compress'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:212: undefined reference to `ZSTD_isError'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDCodec::minimum_compression_level() const':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:231: undefined reference to `ZSTD_minCLevel'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDCodec::maximum_compression_level() const':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:232: undefined reference to `ZSTD_maxCLevel'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.

@dg0yt

Copy link
Copy Markdown
Author

TBH I don't really understand the issue title "arrow_static requires needless dependencies". The private dependencies are not "needless".

@kou

kou commented Jul 28, 2022

Copy link
Copy Markdown
Member

I've added "Exported" to "arrow_static".

(It seems that you should have created a JIRA issue by yourself because this is not "a single word contribution".)

@kou

kou commented Jul 28, 2022

Copy link
Copy Markdown
Member

Thanks for the error log.
It showed a problem what I assumed... I thought this is caused by find_package(Arrow) but it seems that it's not related.

- name: Run minimal example (static, system dependencies)
run: |
cd cpp/examples/minimal_build
docker-compose run --rm static-system-dependency

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this reproduce this problem?
I couldn't reproduce this problem by this without your cpp/src/arrow/CMakeLists.txt change.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I admit I can't test this particular part locally.
FTR: is this already run elsewhere in the CI configurations?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kou

kou commented Aug 16, 2022

Copy link
Copy Markdown
Member

#13892 includes this. Closed in favor of #13892 .

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@dg0yt@kou
, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Strip utm_, fbclid, gclid, etc. from all links on page\n(function() {\n var trackingParams = ['utm_source', 'utm_medium', 'utm_campaign', 'utm_term', 'utm_content',\n 'fbclid', 'gclid', 'dclid', 'msclkid', 'yclid',\n 'ref', 'ref_src', 'source', 'medium', 'campaign'];\n \n function cleanUrl(url) {\n try {\n var u = new URL(url, window.location.origin);\n var changed = false;\n trackingParams.forEach(function(p) {\n if (u.searchParams.has(p)) {\n u.searchParams.delete(p);\n changed = true;\n }\n });\n return changed ? u.toString() : url;\n } catch (e) {\n return url;\n }\n }\n \n function cleanLinks() {\n document.querySelectorAll('a[href]').forEach(function(a) {\n var clean = cleanUrl(a.href);\n if (clean !== a.href) a.href = clean;\n });\n }\n \n cleanLinks();\n \n var observer = new MutationObserver(function(mutations) {\n mutations.forEach(function(m) {\n m.addedNodes.forEach(function(node) {\n if (node.nodeType === 1) {\n if (node.tagName === 'A') cleanLinks();\n node.querySelectorAll('a[href]').forEach(function(a) {\n var clean = cleanUrl(a.href);\n if (clean !== a.href) a.href = clean;\n });\n }\n });\n });\n });\n observer.observe(document.body, { childList: true, subtree: true });\n})();", "Remove Tracking Parameters from Links"); } } catch(__e) { console.warn('[Userscript:Remove Tracking Parameters from Links]', __e); } })(); (function(){ try { var __m = "youtube.com"; var __re = new RegExp('^' + "youtube\\.com" + '
Skip to content

ARROW-17231: [C++] Restore STATIC_INSTALL_INTERFACE_LIBS for arrow_static - #13707

Closed
dg0yt wants to merge 2 commits into
apache:masterfrom
dg0yt:patch-1
Closed

ARROW-17231: [C++] Restore STATIC_INSTALL_INTERFACE_LIBS for arrow_static#13707
dg0yt wants to merge 2 commits into
apache:masterfrom
dg0yt:patch-1

Conversation

@dg0yt

@dg0ytdg0yt commented Jul 26, 2022

Copy link
Copy Markdown

This change restore the STATIC_INSTALL_INTERFACE_LIBS keyword for lib arrow, which was lost in 2fea818.
It fixes the usability of the exported config for static builds with system dependencies, which lacked all transitive usage requirements.
Noticed in building the minimal example in vcpkg, as part of microsoft/vcpkg#25983.

@github-actions

Copy link
Copy Markdown

Thanks for opening a pull request!

If this is not a minor PR. Could you open an issue for this pull request on JIRA? https://issues.apache.org/jira/browse/ARROW

Opening JIRAs ahead of time contributes to the Openness of the Apache Arrow project.

Then could you also rename pull request title in the following format?

ARROW-${JIRA_ID}: [${COMPONENT}] ${SUMMARY}

or

MINOR: [${COMPONENT}] ${SUMMARY}

See also:

@kou

kou commented Jul 26, 2022

Copy link
Copy Markdown
Member

Good catch!
Could you open a JIRA issue for this?

@dg0yt

Copy link
Copy Markdown
Author

Good catch!
Could you open a JIRA issue for this?

This is pretty much overhead for a single word contribution, isn't it. I would be glad if project members could handle that.

@kou

kou commented Jul 27, 2022

Copy link
Copy Markdown
Member

OK.

I want a test for this to prevent this problem again.
Do you want me to add a test for this too?

@dg0yt

Copy link
Copy Markdown
Author

Hm, this means a post-install test so that it runs in arrow CI. But I don't know where to start in arrow (CI). Is there any existing post-install test? Which CI job does static linkage with dependencies provided by the system?
(I did something similar for GDAL, but I could take existing post-install tests as a template.)

What I did in vcpkg is to install the minimal_build example source code with the arrow port, and add another port vcpkg-ci-arrow which builds the example. This was trivial (given that I know how to write vcpkg ports).

@kou

kou commented Jul 27, 2022

Copy link
Copy Markdown
Member

@koukou changed the title Restore STATIC_INSTALL_INTERFACE_LIBSARROW-17231: [C++] Restore STATIC_INSTALL_INTERFACE_LIBS for arrow_staticJul 27, 2022
@github-actions

Copy link
Copy Markdown

@github-actions

Copy link
Copy Markdown

⚠️ Ticket has not been started in JIRA, please click 'Start Progress'.

@kou

kou commented Jul 27, 2022

Copy link
Copy Markdown
Member

Could you show an error message without this change?

@dg0yt

Copy link
Copy Markdown
Author

Could you show an error message without this change?

In other GH projects, I would have temporarily pushed a revert of the original change, and force-push without the revert after the CI run. (Or I would have pushed the test as first commit.) I can do that here, but I need maintainer approval for CI runs.

For reference, this is from vcpgk with the patch disactivated. Not a single static system lib passed in the linking step.

[1/2] /usr/bin/c++ -isystem /vcpkg/installed/x64-linux/include -fPIC -g -pthread -std=gnu++11 -MD -MT CMakeFiles/arrow-example.dir/example.cc.o -MF CMakeFiles/arrow-example.dir/example.cc.o.d -o CMakeFiles/arrow-example.dir/example.cc.o -c /vcpkg/installed/x64-linux/share/arrow/example/example.cc
[2/2] : && /usr/bin/c++ -fPIC -g -rdynamic CMakeFiles/arrow-example.dir/example.cc.o -o arrow-example /vcpkg/installed/x64-linux/debug/lib/libarrow.a -pthread && :
FAILED: arrow-example : && /usr/bin/c++ -fPIC -g -rdynamic CMakeFiles/arrow-example.dir/example.cc.o -o arrow-example /vcpkg/installed/x64-linux/debug/lib/libarrow.a -pthread && :
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_brotli.cc.o): In function `arrow::util::internal::(anonymous namespace)::BrotliDecompressor::~BrotliDecompressor()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:43: undefined reference to `BrotliDecoderDestroyInstance'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_brotli.cc.o): In function `arrow::util::internal::(anonymous namespace)::BrotliDecompressor::Init()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:48: undefined reference to `BrotliDecoderCreateInstance'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_brotli.cc.o): In function `arrow::util::internal::(anonymous namespace)::BrotliDecompressor::Reset()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:57: undefined reference to `BrotliDecoderDestroyInstance'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_brotli.cc.o): In function `arrow::util::internal::(anonymous namespace)::BrotliDecompressor::Decompress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:68: undefined reference to `BrotliDecoderDecompressStream'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:71: undefined reference to `BrotliDecoderGetErrorCode'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_brotli.cc.o): In function `arrow::util::internal::(anonymous namespace)::BrotliDecompressor::IsFinished()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:78: undefined reference to `BrotliDecoderIsFinished'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_brotli.cc.o): In function `arrow::util::internal::(anonymous namespace)::BrotliDecompressor::BrotliError(BrotliDecoderErrorCode, char const*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:84: undefined reference to `BrotliDecoderErrorString'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_brotli.cc.o): In function `arrow::util::internal::(anonymous namespace)::BrotliCompressor::~BrotliCompressor()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:100: undefined reference to `BrotliEncoderDestroyInstance'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_brotli.cc.o): In function `arrow::util::internal::(anonymous namespace)::BrotliCompressor::Init()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:105: undefined reference to `BrotliEncoderCreateInstance'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:109: undefined reference to `BrotliEncoderSetParameter'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_brotli.cc.o): In function `arrow::util::internal::(anonymous namespace)::BrotliCompressor::Compress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:121: undefined reference to `BrotliEncoderCompressStream'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_brotli.cc.o): In function `arrow::util::internal::(anonymous namespace)::BrotliCompressor::Flush(long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:136: undefined reference to `BrotliEncoderCompressStream'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:142: undefined reference to `BrotliEncoderHasMoreOutput'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_brotli.cc.o): In function `arrow::util::internal::(anonymous namespace)::BrotliCompressor::End(long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:151: undefined reference to `BrotliEncoderCompressStream'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:157: undefined reference to `BrotliEncoderHasMoreOutput'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:158: undefined reference to `BrotliEncoderIsFinished'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_brotli.cc.o): In function `arrow::util::internal::(anonymous namespace)::BrotliCodec::Decompress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:186: undefined reference to `BrotliDecoderDecompress'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_brotli.cc.o): In function `arrow::util::internal::(anonymous namespace)::BrotliCodec::MaxCompressedLen(long, unsigned char const*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:196: undefined reference to `BrotliEncoderMaxCompressedSize'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_brotli.cc.o): In function `arrow::util::internal::(anonymous namespace)::BrotliCodec::Compress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:204: undefined reference to `BrotliEncoderCompress'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_bz2.cc.o): In function `arrow::util::internal::(anonymous namespace)::BZ2Decompressor::~BZ2Decompressor()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_bz2.cc:98: undefined reference to `BZ2_bzDecompressEnd'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_bz2.cc.o): In function `arrow::util::internal::(anonymous namespace)::BZ2Decompressor::Init()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_bz2.cc:106: undefined reference to `BZ2_bzDecompressInit'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_bz2.cc.o): In function `arrow::util::internal::(anonymous namespace)::BZ2Decompressor::Reset()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_bz2.cc:117: undefined reference to `BZ2_bzDecompressEnd'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_bz2.cc.o): In function `arrow::util::internal::(anonymous namespace)::BZ2Decompressor::Decompress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_bz2.cc:131: undefined reference to `BZ2_bzDecompress'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_bz2.cc.o): In function `arrow::util::internal::(anonymous namespace)::BZ2Compressor::~BZ2Compressor()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_bz2.cc:161: undefined reference to `BZ2_bzCompressEnd'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_bz2.cc.o): In function `arrow::util::internal::(anonymous namespace)::BZ2Compressor::Init()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_bz2.cc:169: undefined reference to `BZ2_bzCompressInit'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_bz2.cc.o): In function `arrow::util::internal::(anonymous namespace)::BZ2Compressor::Compress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_bz2.cc:185: undefined reference to `BZ2_bzCompress'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_bz2.cc.o): In function `arrow::util::internal::(anonymous namespace)::BZ2Compressor::Flush(long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_bz2.cc:200: undefined reference to `BZ2_bzCompress'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_bz2.cc.o): In function `arrow::util::internal::(anonymous namespace)::BZ2Compressor::End(long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_bz2.cc:215: undefined reference to `BZ2_bzCompress'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::LZ4Error(unsigned long, char const*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:49: undefined reference to `LZ4F_getErrorName'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::LZ4Decompressor::~LZ4Decompressor()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:73: undefined reference to `LZ4F_freeDecompressionContext'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::LZ4Decompressor::Init()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:81: undefined reference to `LZ4F_createDecompressionContext'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:82: undefined reference to `LZ4F_isError'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::LZ4Decompressor::Reset()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:93: undefined reference to `LZ4F_resetDecompressionContext'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::LZ4Decompressor::Decompress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:112: undefined reference to `LZ4F_decompress'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:114: undefined reference to `LZ4F_isError'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::LZ4Compressor::~LZ4Compressor()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:139: undefined reference to `LZ4F_freeCompressionContext'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::LZ4Compressor::Init()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:148: undefined reference to `LZ4F_createCompressionContext'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:149: undefined reference to `LZ4F_isError'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::LZ4Compressor::Compress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:181: undefined reference to `LZ4F_compressBegin'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:181: undefined reference to `LZ4F_isError'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:183: undefined reference to `LZ4F_compressBound'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:187: undefined reference to `LZ4F_compressUpdate'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:189: undefined reference to `LZ4F_isError'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::LZ4Compressor::Flush(long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:203: undefined reference to `LZ4F_compressBegin'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:203: undefined reference to `LZ4F_isError'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:205: undefined reference to `LZ4F_compressBound'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:210: undefined reference to `LZ4F_flush'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:211: undefined reference to `LZ4F_isError'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::LZ4Compressor::End(long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:225: undefined reference to `LZ4F_compressBegin'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:225: undefined reference to `LZ4F_isError'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:227: undefined reference to `LZ4F_compressBound'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:232: undefined reference to `LZ4F_compressEnd'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:233: undefined reference to `LZ4F_isError'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::Lz4FrameCodec::MaxCompressedLen(long, unsigned char const*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:264: undefined reference to `LZ4F_compressFrameBound'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::Lz4FrameCodec::Compress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:271: undefined reference to `LZ4F_compressFrame'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:272: undefined reference to `LZ4F_isError'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::Lz4FrameCodec::maximum_compression_level() const':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:322: undefined reference to `LZ4F_compressionLevel_max'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::Lz4Codec::Decompress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:345: undefined reference to `LZ4_decompress_safe'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::Lz4Codec::MaxCompressedLen(long, unsigned char const*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:356: undefined reference to `LZ4_compressBound'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::Lz4Codec::Compress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:368: undefined reference to `LZ4_compress_default'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:372: undefined reference to `LZ4_compress_HC'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::Lz4Codec::maximum_compression_level() const':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:400: undefined reference to `LZ4F_compressionLevel_max'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_snappy.cc.o): In function `arrow::util::internal::(anonymous namespace)::SnappyCodec::Decompress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_snappy.cc:47: undefined reference to `snappy::GetUncompressedLength(char const*, unsigned long, unsigned long*)'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_snappy.cc:56: undefined reference to `snappy::RawUncompress(char const*, unsigned long, char*)'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_snappy.cc.o): In function `arrow::util::internal::(anonymous namespace)::SnappyCodec::MaxCompressedLen(long, unsigned char const*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_snappy.cc:67: undefined reference to `snappy::MaxCompressedLength(unsigned long)'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_snappy.cc.o): In function `arrow::util::internal::(anonymous namespace)::SnappyCodec::Compress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_snappy.cc:74: undefined reference to `snappy::RawCompress(char const*, unsigned long, char*, unsigned long*)'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipDecompressor::~GZipDecompressor()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:96: undefined reference to `inflateEnd'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipDecompressor::Init()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:107: undefined reference to `inflateInit2_'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipDecompressor::Reset()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:119: undefined reference to `inflateReset'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipDecompressor::Decompress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:136: undefined reference to `inflate'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipCompressor::~GZipCompressor()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:179: undefined reference to `deflateEnd'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipCompressor::Init(arrow::util::internal::GZipFormat::type)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:191: undefined reference to `deflateInit2_'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipCompressor::Compress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:212: undefined reference to `deflate'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipCompressor::Flush(long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:237: undefined reference to `deflate'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipCompressor::End(long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:268: undefined reference to `deflate'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:276: undefined reference to `deflateEnd'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipCodec::InitCompressor()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:337: undefined reference to `deflateInit2_'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipCodec::EndCompressor()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:346: undefined reference to `deflateEnd'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipCodec::InitDecompressor()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:358: undefined reference to `inflateInit2_'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipCodec::EndDecompressor()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:367: undefined reference to `inflateEnd'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipCodec::Decompress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:386: undefined reference to `inflateReset'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:405: undefined reference to `inflate'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipCodec::MaxCompressedLen(long, unsigned char const*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:428: undefined reference to `deflateBound'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipCodec::Compress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:445: undefined reference to `deflate'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:455: undefined reference to `deflateReset'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDError(unsigned long, char const*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:40: undefined reference to `ZSTD_getErrorName'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDDecompressor::ZSTDDecompressor()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:48: undefined reference to `ZSTD_createDStream'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDDecompressor::~ZSTDDecompressor()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:50: undefined reference to `ZSTD_freeDStream'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDDecompressor::Init()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:54: undefined reference to `ZSTD_initDStream'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:55: undefined reference to `ZSTD_isError'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDDecompressor::Decompress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:75: undefined reference to `ZSTD_decompressStream'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:76: undefined reference to `ZSTD_isError'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDCompressor::ZSTDCompressor(int)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:100: undefined reference to `ZSTD_createCStream'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDCompressor::~ZSTDCompressor()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:102: undefined reference to `ZSTD_freeCStream'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDCompressor::Init()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:105: undefined reference to `ZSTD_initCStream'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:106: undefined reference to `ZSTD_isError'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDCompressor::Compress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:126: undefined reference to `ZSTD_compressStream'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:127: undefined reference to `ZSTD_isError'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDCompressor::Flush(long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:142: undefined reference to `ZSTD_flushStream'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:143: undefined reference to `ZSTD_isError'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDCompressor::End(long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:157: undefined reference to `ZSTD_endStream'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:158: undefined reference to `ZSTD_isError'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDCodec::Decompress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:192: undefined reference to `ZSTD_decompress'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:193: undefined reference to `ZSTD_isError'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDCodec::MaxCompressedLen(long, unsigned char const*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:205: undefined reference to `ZSTD_compressBound'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDCodec::Compress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:211: undefined reference to `ZSTD_compress'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:212: undefined reference to `ZSTD_isError'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDCodec::minimum_compression_level() const':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:231: undefined reference to `ZSTD_minCLevel'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDCodec::maximum_compression_level() const':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:232: undefined reference to `ZSTD_maxCLevel'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.

@dg0yt

Copy link
Copy Markdown
Author

TBH I don't really understand the issue title "arrow_static requires needless dependencies". The private dependencies are not "needless".

@kou

kou commented Jul 28, 2022

Copy link
Copy Markdown
Member

I've added "Exported" to "arrow_static".

(It seems that you should have created a JIRA issue by yourself because this is not "a single word contribution".)

@kou

kou commented Jul 28, 2022

Copy link
Copy Markdown
Member

Thanks for the error log.
It showed a problem what I assumed... I thought this is caused by find_package(Arrow) but it seems that it's not related.

- name: Run minimal example (static, system dependencies)
run: |
cd cpp/examples/minimal_build
docker-compose run --rm static-system-dependency

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this reproduce this problem?
I couldn't reproduce this problem by this without your cpp/src/arrow/CMakeLists.txt change.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I admit I can't test this particular part locally.
FTR: is this already run elsewhere in the CI configurations?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kou

kou commented Aug 16, 2022

Copy link
Copy Markdown
Member

#13892 includes this. Closed in favor of #13892 .

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@dg0yt@kou
, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Auto-enable theater mode on YouTube\n(function() {\n function tryTheater() {\n var btn = document.querySelector('button[aria-label=\"Theater mode\"], ytd-player #player button[title=\"Theater mode\"]');\n if (btn && !btn.classList.contains('activated')) {\n btn.click();\n }\n }\n \n // Try immediately\n tryTheater();\n \n // Try after navigation (SPA)\n var lastUrl = location.href;\n setInterval(function() {\n if (location.href !== lastUrl) {\n lastUrl = location.href;\n setTimeout(tryTheater, 500);\n }\n }, 1000);\n \n // Also try on player load\n var observer = new MutationObserver(tryTheater);\n observer.observe(document.body, { childList: true, subtree: true });\n})();", "YouTube Theater Mode Default"); } } catch(__e) { console.warn('[Userscript:YouTube Theater Mode Default]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + '
Skip to content

ARROW-17231: [C++] Restore STATIC_INSTALL_INTERFACE_LIBS for arrow_static - #13707

Closed
dg0yt wants to merge 2 commits into
apache:masterfrom
dg0yt:patch-1
Closed

ARROW-17231: [C++] Restore STATIC_INSTALL_INTERFACE_LIBS for arrow_static#13707
dg0yt wants to merge 2 commits into
apache:masterfrom
dg0yt:patch-1

Conversation

@dg0yt

@dg0ytdg0yt commented Jul 26, 2022

Copy link
Copy Markdown

This change restore the STATIC_INSTALL_INTERFACE_LIBS keyword for lib arrow, which was lost in 2fea818.
It fixes the usability of the exported config for static builds with system dependencies, which lacked all transitive usage requirements.
Noticed in building the minimal example in vcpkg, as part of microsoft/vcpkg#25983.

@github-actions

Copy link
Copy Markdown

Thanks for opening a pull request!

If this is not a minor PR. Could you open an issue for this pull request on JIRA? https://issues.apache.org/jira/browse/ARROW

Opening JIRAs ahead of time contributes to the Openness of the Apache Arrow project.

Then could you also rename pull request title in the following format?

ARROW-${JIRA_ID}: [${COMPONENT}] ${SUMMARY}

or

MINOR: [${COMPONENT}] ${SUMMARY}

See also:

@kou

kou commented Jul 26, 2022

Copy link
Copy Markdown
Member

Good catch!
Could you open a JIRA issue for this?

@dg0yt

Copy link
Copy Markdown
Author

Good catch!
Could you open a JIRA issue for this?

This is pretty much overhead for a single word contribution, isn't it. I would be glad if project members could handle that.

@kou

kou commented Jul 27, 2022

Copy link
Copy Markdown
Member

OK.

I want a test for this to prevent this problem again.
Do you want me to add a test for this too?

@dg0yt

Copy link
Copy Markdown
Author

Hm, this means a post-install test so that it runs in arrow CI. But I don't know where to start in arrow (CI). Is there any existing post-install test? Which CI job does static linkage with dependencies provided by the system?
(I did something similar for GDAL, but I could take existing post-install tests as a template.)

What I did in vcpkg is to install the minimal_build example source code with the arrow port, and add another port vcpkg-ci-arrow which builds the example. This was trivial (given that I know how to write vcpkg ports).

@kou

kou commented Jul 27, 2022

Copy link
Copy Markdown
Member

@koukou changed the title Restore STATIC_INSTALL_INTERFACE_LIBSARROW-17231: [C++] Restore STATIC_INSTALL_INTERFACE_LIBS for arrow_staticJul 27, 2022
@github-actions

Copy link
Copy Markdown

@github-actions

Copy link
Copy Markdown

⚠️ Ticket has not been started in JIRA, please click 'Start Progress'.

@kou

kou commented Jul 27, 2022

Copy link
Copy Markdown
Member

Could you show an error message without this change?

@dg0yt

Copy link
Copy Markdown
Author

Could you show an error message without this change?

In other GH projects, I would have temporarily pushed a revert of the original change, and force-push without the revert after the CI run. (Or I would have pushed the test as first commit.) I can do that here, but I need maintainer approval for CI runs.

For reference, this is from vcpgk with the patch disactivated. Not a single static system lib passed in the linking step.

[1/2] /usr/bin/c++ -isystem /vcpkg/installed/x64-linux/include -fPIC -g -pthread -std=gnu++11 -MD -MT CMakeFiles/arrow-example.dir/example.cc.o -MF CMakeFiles/arrow-example.dir/example.cc.o.d -o CMakeFiles/arrow-example.dir/example.cc.o -c /vcpkg/installed/x64-linux/share/arrow/example/example.cc
[2/2] : && /usr/bin/c++ -fPIC -g -rdynamic CMakeFiles/arrow-example.dir/example.cc.o -o arrow-example /vcpkg/installed/x64-linux/debug/lib/libarrow.a -pthread && :
FAILED: arrow-example : && /usr/bin/c++ -fPIC -g -rdynamic CMakeFiles/arrow-example.dir/example.cc.o -o arrow-example /vcpkg/installed/x64-linux/debug/lib/libarrow.a -pthread && :
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_brotli.cc.o): In function `arrow::util::internal::(anonymous namespace)::BrotliDecompressor::~BrotliDecompressor()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:43: undefined reference to `BrotliDecoderDestroyInstance'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_brotli.cc.o): In function `arrow::util::internal::(anonymous namespace)::BrotliDecompressor::Init()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:48: undefined reference to `BrotliDecoderCreateInstance'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_brotli.cc.o): In function `arrow::util::internal::(anonymous namespace)::BrotliDecompressor::Reset()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:57: undefined reference to `BrotliDecoderDestroyInstance'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_brotli.cc.o): In function `arrow::util::internal::(anonymous namespace)::BrotliDecompressor::Decompress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:68: undefined reference to `BrotliDecoderDecompressStream'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:71: undefined reference to `BrotliDecoderGetErrorCode'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_brotli.cc.o): In function `arrow::util::internal::(anonymous namespace)::BrotliDecompressor::IsFinished()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:78: undefined reference to `BrotliDecoderIsFinished'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_brotli.cc.o): In function `arrow::util::internal::(anonymous namespace)::BrotliDecompressor::BrotliError(BrotliDecoderErrorCode, char const*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:84: undefined reference to `BrotliDecoderErrorString'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_brotli.cc.o): In function `arrow::util::internal::(anonymous namespace)::BrotliCompressor::~BrotliCompressor()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:100: undefined reference to `BrotliEncoderDestroyInstance'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_brotli.cc.o): In function `arrow::util::internal::(anonymous namespace)::BrotliCompressor::Init()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:105: undefined reference to `BrotliEncoderCreateInstance'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:109: undefined reference to `BrotliEncoderSetParameter'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_brotli.cc.o): In function `arrow::util::internal::(anonymous namespace)::BrotliCompressor::Compress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:121: undefined reference to `BrotliEncoderCompressStream'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_brotli.cc.o): In function `arrow::util::internal::(anonymous namespace)::BrotliCompressor::Flush(long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:136: undefined reference to `BrotliEncoderCompressStream'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:142: undefined reference to `BrotliEncoderHasMoreOutput'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_brotli.cc.o): In function `arrow::util::internal::(anonymous namespace)::BrotliCompressor::End(long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:151: undefined reference to `BrotliEncoderCompressStream'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:157: undefined reference to `BrotliEncoderHasMoreOutput'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:158: undefined reference to `BrotliEncoderIsFinished'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_brotli.cc.o): In function `arrow::util::internal::(anonymous namespace)::BrotliCodec::Decompress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:186: undefined reference to `BrotliDecoderDecompress'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_brotli.cc.o): In function `arrow::util::internal::(anonymous namespace)::BrotliCodec::MaxCompressedLen(long, unsigned char const*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:196: undefined reference to `BrotliEncoderMaxCompressedSize'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_brotli.cc.o): In function `arrow::util::internal::(anonymous namespace)::BrotliCodec::Compress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:204: undefined reference to `BrotliEncoderCompress'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_bz2.cc.o): In function `arrow::util::internal::(anonymous namespace)::BZ2Decompressor::~BZ2Decompressor()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_bz2.cc:98: undefined reference to `BZ2_bzDecompressEnd'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_bz2.cc.o): In function `arrow::util::internal::(anonymous namespace)::BZ2Decompressor::Init()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_bz2.cc:106: undefined reference to `BZ2_bzDecompressInit'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_bz2.cc.o): In function `arrow::util::internal::(anonymous namespace)::BZ2Decompressor::Reset()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_bz2.cc:117: undefined reference to `BZ2_bzDecompressEnd'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_bz2.cc.o): In function `arrow::util::internal::(anonymous namespace)::BZ2Decompressor::Decompress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_bz2.cc:131: undefined reference to `BZ2_bzDecompress'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_bz2.cc.o): In function `arrow::util::internal::(anonymous namespace)::BZ2Compressor::~BZ2Compressor()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_bz2.cc:161: undefined reference to `BZ2_bzCompressEnd'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_bz2.cc.o): In function `arrow::util::internal::(anonymous namespace)::BZ2Compressor::Init()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_bz2.cc:169: undefined reference to `BZ2_bzCompressInit'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_bz2.cc.o): In function `arrow::util::internal::(anonymous namespace)::BZ2Compressor::Compress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_bz2.cc:185: undefined reference to `BZ2_bzCompress'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_bz2.cc.o): In function `arrow::util::internal::(anonymous namespace)::BZ2Compressor::Flush(long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_bz2.cc:200: undefined reference to `BZ2_bzCompress'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_bz2.cc.o): In function `arrow::util::internal::(anonymous namespace)::BZ2Compressor::End(long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_bz2.cc:215: undefined reference to `BZ2_bzCompress'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::LZ4Error(unsigned long, char const*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:49: undefined reference to `LZ4F_getErrorName'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::LZ4Decompressor::~LZ4Decompressor()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:73: undefined reference to `LZ4F_freeDecompressionContext'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::LZ4Decompressor::Init()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:81: undefined reference to `LZ4F_createDecompressionContext'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:82: undefined reference to `LZ4F_isError'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::LZ4Decompressor::Reset()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:93: undefined reference to `LZ4F_resetDecompressionContext'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::LZ4Decompressor::Decompress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:112: undefined reference to `LZ4F_decompress'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:114: undefined reference to `LZ4F_isError'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::LZ4Compressor::~LZ4Compressor()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:139: undefined reference to `LZ4F_freeCompressionContext'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::LZ4Compressor::Init()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:148: undefined reference to `LZ4F_createCompressionContext'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:149: undefined reference to `LZ4F_isError'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::LZ4Compressor::Compress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:181: undefined reference to `LZ4F_compressBegin'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:181: undefined reference to `LZ4F_isError'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:183: undefined reference to `LZ4F_compressBound'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:187: undefined reference to `LZ4F_compressUpdate'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:189: undefined reference to `LZ4F_isError'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::LZ4Compressor::Flush(long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:203: undefined reference to `LZ4F_compressBegin'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:203: undefined reference to `LZ4F_isError'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:205: undefined reference to `LZ4F_compressBound'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:210: undefined reference to `LZ4F_flush'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:211: undefined reference to `LZ4F_isError'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::LZ4Compressor::End(long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:225: undefined reference to `LZ4F_compressBegin'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:225: undefined reference to `LZ4F_isError'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:227: undefined reference to `LZ4F_compressBound'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:232: undefined reference to `LZ4F_compressEnd'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:233: undefined reference to `LZ4F_isError'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::Lz4FrameCodec::MaxCompressedLen(long, unsigned char const*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:264: undefined reference to `LZ4F_compressFrameBound'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::Lz4FrameCodec::Compress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:271: undefined reference to `LZ4F_compressFrame'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:272: undefined reference to `LZ4F_isError'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::Lz4FrameCodec::maximum_compression_level() const':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:322: undefined reference to `LZ4F_compressionLevel_max'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::Lz4Codec::Decompress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:345: undefined reference to `LZ4_decompress_safe'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::Lz4Codec::MaxCompressedLen(long, unsigned char const*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:356: undefined reference to `LZ4_compressBound'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::Lz4Codec::Compress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:368: undefined reference to `LZ4_compress_default'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:372: undefined reference to `LZ4_compress_HC'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::Lz4Codec::maximum_compression_level() const':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:400: undefined reference to `LZ4F_compressionLevel_max'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_snappy.cc.o): In function `arrow::util::internal::(anonymous namespace)::SnappyCodec::Decompress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_snappy.cc:47: undefined reference to `snappy::GetUncompressedLength(char const*, unsigned long, unsigned long*)'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_snappy.cc:56: undefined reference to `snappy::RawUncompress(char const*, unsigned long, char*)'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_snappy.cc.o): In function `arrow::util::internal::(anonymous namespace)::SnappyCodec::MaxCompressedLen(long, unsigned char const*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_snappy.cc:67: undefined reference to `snappy::MaxCompressedLength(unsigned long)'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_snappy.cc.o): In function `arrow::util::internal::(anonymous namespace)::SnappyCodec::Compress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_snappy.cc:74: undefined reference to `snappy::RawCompress(char const*, unsigned long, char*, unsigned long*)'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipDecompressor::~GZipDecompressor()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:96: undefined reference to `inflateEnd'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipDecompressor::Init()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:107: undefined reference to `inflateInit2_'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipDecompressor::Reset()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:119: undefined reference to `inflateReset'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipDecompressor::Decompress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:136: undefined reference to `inflate'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipCompressor::~GZipCompressor()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:179: undefined reference to `deflateEnd'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipCompressor::Init(arrow::util::internal::GZipFormat::type)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:191: undefined reference to `deflateInit2_'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipCompressor::Compress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:212: undefined reference to `deflate'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipCompressor::Flush(long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:237: undefined reference to `deflate'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipCompressor::End(long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:268: undefined reference to `deflate'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:276: undefined reference to `deflateEnd'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipCodec::InitCompressor()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:337: undefined reference to `deflateInit2_'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipCodec::EndCompressor()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:346: undefined reference to `deflateEnd'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipCodec::InitDecompressor()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:358: undefined reference to `inflateInit2_'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipCodec::EndDecompressor()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:367: undefined reference to `inflateEnd'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipCodec::Decompress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:386: undefined reference to `inflateReset'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:405: undefined reference to `inflate'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipCodec::MaxCompressedLen(long, unsigned char const*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:428: undefined reference to `deflateBound'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipCodec::Compress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:445: undefined reference to `deflate'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:455: undefined reference to `deflateReset'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDError(unsigned long, char const*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:40: undefined reference to `ZSTD_getErrorName'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDDecompressor::ZSTDDecompressor()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:48: undefined reference to `ZSTD_createDStream'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDDecompressor::~ZSTDDecompressor()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:50: undefined reference to `ZSTD_freeDStream'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDDecompressor::Init()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:54: undefined reference to `ZSTD_initDStream'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:55: undefined reference to `ZSTD_isError'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDDecompressor::Decompress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:75: undefined reference to `ZSTD_decompressStream'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:76: undefined reference to `ZSTD_isError'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDCompressor::ZSTDCompressor(int)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:100: undefined reference to `ZSTD_createCStream'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDCompressor::~ZSTDCompressor()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:102: undefined reference to `ZSTD_freeCStream'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDCompressor::Init()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:105: undefined reference to `ZSTD_initCStream'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:106: undefined reference to `ZSTD_isError'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDCompressor::Compress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:126: undefined reference to `ZSTD_compressStream'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:127: undefined reference to `ZSTD_isError'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDCompressor::Flush(long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:142: undefined reference to `ZSTD_flushStream'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:143: undefined reference to `ZSTD_isError'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDCompressor::End(long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:157: undefined reference to `ZSTD_endStream'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:158: undefined reference to `ZSTD_isError'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDCodec::Decompress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:192: undefined reference to `ZSTD_decompress'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:193: undefined reference to `ZSTD_isError'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDCodec::MaxCompressedLen(long, unsigned char const*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:205: undefined reference to `ZSTD_compressBound'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDCodec::Compress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:211: undefined reference to `ZSTD_compress'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:212: undefined reference to `ZSTD_isError'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDCodec::minimum_compression_level() const':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:231: undefined reference to `ZSTD_minCLevel'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDCodec::maximum_compression_level() const':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:232: undefined reference to `ZSTD_maxCLevel'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.

@dg0yt

Copy link
Copy Markdown
Author

TBH I don't really understand the issue title "arrow_static requires needless dependencies". The private dependencies are not "needless".

@kou

kou commented Jul 28, 2022

Copy link
Copy Markdown
Member

I've added "Exported" to "arrow_static".

(It seems that you should have created a JIRA issue by yourself because this is not "a single word contribution".)

@kou

kou commented Jul 28, 2022

Copy link
Copy Markdown
Member

Thanks for the error log.
It showed a problem what I assumed... I thought this is caused by find_package(Arrow) but it seems that it's not related.

- name: Run minimal example (static, system dependencies)
run: |
cd cpp/examples/minimal_build
docker-compose run --rm static-system-dependency

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this reproduce this problem?
I couldn't reproduce this problem by this without your cpp/src/arrow/CMakeLists.txt change.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I admit I can't test this particular part locally.
FTR: is this already run elsewhere in the CI configurations?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kou

kou commented Aug 16, 2022

Copy link
Copy Markdown
Member

#13892 includes this. Closed in favor of #13892 .

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@dg0yt@kou
, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Remove or un-stick sticky/fixed headers that block content\n(function() {\n function unstick() {\n document.querySelectorAll('header, nav, [role=\"banner\"], .header, .navbar, .sticky, .fixed-top, [style*=\"position: fixed\"], [style*=\"position:sticky\"]').forEach(function(el) {\n if (el.style.position === 'fixed' || el.style.position === 'sticky' || \n getComputedStyle(el).position === 'fixed' || getComputedStyle(el).position === 'sticky') {\n el.style.position = 'static';\n el.style.top = 'auto';\n el.style.zIndex = 'auto';\n }\n });\n }\n \n unstick();\n \n var observer = new MutationObserver(unstick);\n observer.observe(document.body, { childList: true, subtree: true, attributes: true, attributeFilter: ['style', 'class'] });\n})();", "Kill Sticky Headers"); } } catch(__e) { console.warn('[Userscript:Kill Sticky Headers]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + '
Skip to content

ARROW-17231: [C++] Restore STATIC_INSTALL_INTERFACE_LIBS for arrow_static - #13707

Closed
dg0yt wants to merge 2 commits into
apache:masterfrom
dg0yt:patch-1
Closed

ARROW-17231: [C++] Restore STATIC_INSTALL_INTERFACE_LIBS for arrow_static#13707
dg0yt wants to merge 2 commits into
apache:masterfrom
dg0yt:patch-1

Conversation

@dg0yt

@dg0ytdg0yt commented Jul 26, 2022

Copy link
Copy Markdown

This change restore the STATIC_INSTALL_INTERFACE_LIBS keyword for lib arrow, which was lost in 2fea818.
It fixes the usability of the exported config for static builds with system dependencies, which lacked all transitive usage requirements.
Noticed in building the minimal example in vcpkg, as part of microsoft/vcpkg#25983.

@github-actions

Copy link
Copy Markdown

Thanks for opening a pull request!

If this is not a minor PR. Could you open an issue for this pull request on JIRA? https://issues.apache.org/jira/browse/ARROW

Opening JIRAs ahead of time contributes to the Openness of the Apache Arrow project.

Then could you also rename pull request title in the following format?

ARROW-${JIRA_ID}: [${COMPONENT}] ${SUMMARY}

or

MINOR: [${COMPONENT}] ${SUMMARY}

See also:

@kou

kou commented Jul 26, 2022

Copy link
Copy Markdown
Member

Good catch!
Could you open a JIRA issue for this?

@dg0yt

Copy link
Copy Markdown
Author

Good catch!
Could you open a JIRA issue for this?

This is pretty much overhead for a single word contribution, isn't it. I would be glad if project members could handle that.

@kou

kou commented Jul 27, 2022

Copy link
Copy Markdown
Member

OK.

I want a test for this to prevent this problem again.
Do you want me to add a test for this too?

@dg0yt

Copy link
Copy Markdown
Author

Hm, this means a post-install test so that it runs in arrow CI. But I don't know where to start in arrow (CI). Is there any existing post-install test? Which CI job does static linkage with dependencies provided by the system?
(I did something similar for GDAL, but I could take existing post-install tests as a template.)

What I did in vcpkg is to install the minimal_build example source code with the arrow port, and add another port vcpkg-ci-arrow which builds the example. This was trivial (given that I know how to write vcpkg ports).

@kou

kou commented Jul 27, 2022

Copy link
Copy Markdown
Member

@koukou changed the title Restore STATIC_INSTALL_INTERFACE_LIBSARROW-17231: [C++] Restore STATIC_INSTALL_INTERFACE_LIBS for arrow_staticJul 27, 2022
@github-actions

Copy link
Copy Markdown

@github-actions

Copy link
Copy Markdown

⚠️ Ticket has not been started in JIRA, please click 'Start Progress'.

@kou

kou commented Jul 27, 2022

Copy link
Copy Markdown
Member

Could you show an error message without this change?

@dg0yt

Copy link
Copy Markdown
Author

Could you show an error message without this change?

In other GH projects, I would have temporarily pushed a revert of the original change, and force-push without the revert after the CI run. (Or I would have pushed the test as first commit.) I can do that here, but I need maintainer approval for CI runs.

For reference, this is from vcpgk with the patch disactivated. Not a single static system lib passed in the linking step.

[1/2] /usr/bin/c++ -isystem /vcpkg/installed/x64-linux/include -fPIC -g -pthread -std=gnu++11 -MD -MT CMakeFiles/arrow-example.dir/example.cc.o -MF CMakeFiles/arrow-example.dir/example.cc.o.d -o CMakeFiles/arrow-example.dir/example.cc.o -c /vcpkg/installed/x64-linux/share/arrow/example/example.cc
[2/2] : && /usr/bin/c++ -fPIC -g -rdynamic CMakeFiles/arrow-example.dir/example.cc.o -o arrow-example /vcpkg/installed/x64-linux/debug/lib/libarrow.a -pthread && :
FAILED: arrow-example : && /usr/bin/c++ -fPIC -g -rdynamic CMakeFiles/arrow-example.dir/example.cc.o -o arrow-example /vcpkg/installed/x64-linux/debug/lib/libarrow.a -pthread && :
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_brotli.cc.o): In function `arrow::util::internal::(anonymous namespace)::BrotliDecompressor::~BrotliDecompressor()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:43: undefined reference to `BrotliDecoderDestroyInstance'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_brotli.cc.o): In function `arrow::util::internal::(anonymous namespace)::BrotliDecompressor::Init()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:48: undefined reference to `BrotliDecoderCreateInstance'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_brotli.cc.o): In function `arrow::util::internal::(anonymous namespace)::BrotliDecompressor::Reset()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:57: undefined reference to `BrotliDecoderDestroyInstance'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_brotli.cc.o): In function `arrow::util::internal::(anonymous namespace)::BrotliDecompressor::Decompress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:68: undefined reference to `BrotliDecoderDecompressStream'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:71: undefined reference to `BrotliDecoderGetErrorCode'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_brotli.cc.o): In function `arrow::util::internal::(anonymous namespace)::BrotliDecompressor::IsFinished()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:78: undefined reference to `BrotliDecoderIsFinished'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_brotli.cc.o): In function `arrow::util::internal::(anonymous namespace)::BrotliDecompressor::BrotliError(BrotliDecoderErrorCode, char const*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:84: undefined reference to `BrotliDecoderErrorString'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_brotli.cc.o): In function `arrow::util::internal::(anonymous namespace)::BrotliCompressor::~BrotliCompressor()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:100: undefined reference to `BrotliEncoderDestroyInstance'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_brotli.cc.o): In function `arrow::util::internal::(anonymous namespace)::BrotliCompressor::Init()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:105: undefined reference to `BrotliEncoderCreateInstance'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:109: undefined reference to `BrotliEncoderSetParameter'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_brotli.cc.o): In function `arrow::util::internal::(anonymous namespace)::BrotliCompressor::Compress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:121: undefined reference to `BrotliEncoderCompressStream'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_brotli.cc.o): In function `arrow::util::internal::(anonymous namespace)::BrotliCompressor::Flush(long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:136: undefined reference to `BrotliEncoderCompressStream'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:142: undefined reference to `BrotliEncoderHasMoreOutput'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_brotli.cc.o): In function `arrow::util::internal::(anonymous namespace)::BrotliCompressor::End(long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:151: undefined reference to `BrotliEncoderCompressStream'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:157: undefined reference to `BrotliEncoderHasMoreOutput'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:158: undefined reference to `BrotliEncoderIsFinished'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_brotli.cc.o): In function `arrow::util::internal::(anonymous namespace)::BrotliCodec::Decompress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:186: undefined reference to `BrotliDecoderDecompress'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_brotli.cc.o): In function `arrow::util::internal::(anonymous namespace)::BrotliCodec::MaxCompressedLen(long, unsigned char const*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:196: undefined reference to `BrotliEncoderMaxCompressedSize'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_brotli.cc.o): In function `arrow::util::internal::(anonymous namespace)::BrotliCodec::Compress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:204: undefined reference to `BrotliEncoderCompress'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_bz2.cc.o): In function `arrow::util::internal::(anonymous namespace)::BZ2Decompressor::~BZ2Decompressor()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_bz2.cc:98: undefined reference to `BZ2_bzDecompressEnd'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_bz2.cc.o): In function `arrow::util::internal::(anonymous namespace)::BZ2Decompressor::Init()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_bz2.cc:106: undefined reference to `BZ2_bzDecompressInit'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_bz2.cc.o): In function `arrow::util::internal::(anonymous namespace)::BZ2Decompressor::Reset()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_bz2.cc:117: undefined reference to `BZ2_bzDecompressEnd'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_bz2.cc.o): In function `arrow::util::internal::(anonymous namespace)::BZ2Decompressor::Decompress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_bz2.cc:131: undefined reference to `BZ2_bzDecompress'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_bz2.cc.o): In function `arrow::util::internal::(anonymous namespace)::BZ2Compressor::~BZ2Compressor()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_bz2.cc:161: undefined reference to `BZ2_bzCompressEnd'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_bz2.cc.o): In function `arrow::util::internal::(anonymous namespace)::BZ2Compressor::Init()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_bz2.cc:169: undefined reference to `BZ2_bzCompressInit'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_bz2.cc.o): In function `arrow::util::internal::(anonymous namespace)::BZ2Compressor::Compress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_bz2.cc:185: undefined reference to `BZ2_bzCompress'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_bz2.cc.o): In function `arrow::util::internal::(anonymous namespace)::BZ2Compressor::Flush(long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_bz2.cc:200: undefined reference to `BZ2_bzCompress'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_bz2.cc.o): In function `arrow::util::internal::(anonymous namespace)::BZ2Compressor::End(long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_bz2.cc:215: undefined reference to `BZ2_bzCompress'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::LZ4Error(unsigned long, char const*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:49: undefined reference to `LZ4F_getErrorName'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::LZ4Decompressor::~LZ4Decompressor()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:73: undefined reference to `LZ4F_freeDecompressionContext'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::LZ4Decompressor::Init()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:81: undefined reference to `LZ4F_createDecompressionContext'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:82: undefined reference to `LZ4F_isError'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::LZ4Decompressor::Reset()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:93: undefined reference to `LZ4F_resetDecompressionContext'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::LZ4Decompressor::Decompress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:112: undefined reference to `LZ4F_decompress'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:114: undefined reference to `LZ4F_isError'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::LZ4Compressor::~LZ4Compressor()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:139: undefined reference to `LZ4F_freeCompressionContext'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::LZ4Compressor::Init()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:148: undefined reference to `LZ4F_createCompressionContext'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:149: undefined reference to `LZ4F_isError'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::LZ4Compressor::Compress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:181: undefined reference to `LZ4F_compressBegin'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:181: undefined reference to `LZ4F_isError'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:183: undefined reference to `LZ4F_compressBound'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:187: undefined reference to `LZ4F_compressUpdate'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:189: undefined reference to `LZ4F_isError'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::LZ4Compressor::Flush(long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:203: undefined reference to `LZ4F_compressBegin'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:203: undefined reference to `LZ4F_isError'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:205: undefined reference to `LZ4F_compressBound'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:210: undefined reference to `LZ4F_flush'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:211: undefined reference to `LZ4F_isError'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::LZ4Compressor::End(long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:225: undefined reference to `LZ4F_compressBegin'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:225: undefined reference to `LZ4F_isError'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:227: undefined reference to `LZ4F_compressBound'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:232: undefined reference to `LZ4F_compressEnd'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:233: undefined reference to `LZ4F_isError'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::Lz4FrameCodec::MaxCompressedLen(long, unsigned char const*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:264: undefined reference to `LZ4F_compressFrameBound'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::Lz4FrameCodec::Compress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:271: undefined reference to `LZ4F_compressFrame'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:272: undefined reference to `LZ4F_isError'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::Lz4FrameCodec::maximum_compression_level() const':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:322: undefined reference to `LZ4F_compressionLevel_max'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::Lz4Codec::Decompress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:345: undefined reference to `LZ4_decompress_safe'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::Lz4Codec::MaxCompressedLen(long, unsigned char const*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:356: undefined reference to `LZ4_compressBound'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::Lz4Codec::Compress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:368: undefined reference to `LZ4_compress_default'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:372: undefined reference to `LZ4_compress_HC'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::Lz4Codec::maximum_compression_level() const':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:400: undefined reference to `LZ4F_compressionLevel_max'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_snappy.cc.o): In function `arrow::util::internal::(anonymous namespace)::SnappyCodec::Decompress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_snappy.cc:47: undefined reference to `snappy::GetUncompressedLength(char const*, unsigned long, unsigned long*)'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_snappy.cc:56: undefined reference to `snappy::RawUncompress(char const*, unsigned long, char*)'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_snappy.cc.o): In function `arrow::util::internal::(anonymous namespace)::SnappyCodec::MaxCompressedLen(long, unsigned char const*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_snappy.cc:67: undefined reference to `snappy::MaxCompressedLength(unsigned long)'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_snappy.cc.o): In function `arrow::util::internal::(anonymous namespace)::SnappyCodec::Compress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_snappy.cc:74: undefined reference to `snappy::RawCompress(char const*, unsigned long, char*, unsigned long*)'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipDecompressor::~GZipDecompressor()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:96: undefined reference to `inflateEnd'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipDecompressor::Init()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:107: undefined reference to `inflateInit2_'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipDecompressor::Reset()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:119: undefined reference to `inflateReset'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipDecompressor::Decompress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:136: undefined reference to `inflate'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipCompressor::~GZipCompressor()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:179: undefined reference to `deflateEnd'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipCompressor::Init(arrow::util::internal::GZipFormat::type)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:191: undefined reference to `deflateInit2_'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipCompressor::Compress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:212: undefined reference to `deflate'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipCompressor::Flush(long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:237: undefined reference to `deflate'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipCompressor::End(long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:268: undefined reference to `deflate'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:276: undefined reference to `deflateEnd'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipCodec::InitCompressor()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:337: undefined reference to `deflateInit2_'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipCodec::EndCompressor()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:346: undefined reference to `deflateEnd'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipCodec::InitDecompressor()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:358: undefined reference to `inflateInit2_'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipCodec::EndDecompressor()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:367: undefined reference to `inflateEnd'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipCodec::Decompress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:386: undefined reference to `inflateReset'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:405: undefined reference to `inflate'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipCodec::MaxCompressedLen(long, unsigned char const*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:428: undefined reference to `deflateBound'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipCodec::Compress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:445: undefined reference to `deflate'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:455: undefined reference to `deflateReset'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDError(unsigned long, char const*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:40: undefined reference to `ZSTD_getErrorName'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDDecompressor::ZSTDDecompressor()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:48: undefined reference to `ZSTD_createDStream'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDDecompressor::~ZSTDDecompressor()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:50: undefined reference to `ZSTD_freeDStream'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDDecompressor::Init()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:54: undefined reference to `ZSTD_initDStream'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:55: undefined reference to `ZSTD_isError'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDDecompressor::Decompress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:75: undefined reference to `ZSTD_decompressStream'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:76: undefined reference to `ZSTD_isError'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDCompressor::ZSTDCompressor(int)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:100: undefined reference to `ZSTD_createCStream'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDCompressor::~ZSTDCompressor()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:102: undefined reference to `ZSTD_freeCStream'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDCompressor::Init()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:105: undefined reference to `ZSTD_initCStream'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:106: undefined reference to `ZSTD_isError'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDCompressor::Compress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:126: undefined reference to `ZSTD_compressStream'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:127: undefined reference to `ZSTD_isError'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDCompressor::Flush(long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:142: undefined reference to `ZSTD_flushStream'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:143: undefined reference to `ZSTD_isError'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDCompressor::End(long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:157: undefined reference to `ZSTD_endStream'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:158: undefined reference to `ZSTD_isError'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDCodec::Decompress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:192: undefined reference to `ZSTD_decompress'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:193: undefined reference to `ZSTD_isError'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDCodec::MaxCompressedLen(long, unsigned char const*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:205: undefined reference to `ZSTD_compressBound'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDCodec::Compress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:211: undefined reference to `ZSTD_compress'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:212: undefined reference to `ZSTD_isError'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDCodec::minimum_compression_level() const':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:231: undefined reference to `ZSTD_minCLevel'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDCodec::maximum_compression_level() const':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:232: undefined reference to `ZSTD_maxCLevel'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.

@dg0yt

Copy link
Copy Markdown
Author

TBH I don't really understand the issue title "arrow_static requires needless dependencies". The private dependencies are not "needless".

@kou

kou commented Jul 28, 2022

Copy link
Copy Markdown
Member

I've added "Exported" to "arrow_static".

(It seems that you should have created a JIRA issue by yourself because this is not "a single word contribution".)

@kou

kou commented Jul 28, 2022

Copy link
Copy Markdown
Member

Thanks for the error log.
It showed a problem what I assumed... I thought this is caused by find_package(Arrow) but it seems that it's not related.

- name: Run minimal example (static, system dependencies)
run: |
cd cpp/examples/minimal_build
docker-compose run --rm static-system-dependency

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this reproduce this problem?
I couldn't reproduce this problem by this without your cpp/src/arrow/CMakeLists.txt change.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I admit I can't test this particular part locally.
FTR: is this already run elsewhere in the CI configurations?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kou

kou commented Aug 16, 2022

Copy link
Copy Markdown
Member

#13892 includes this. Closed in favor of #13892 .

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@dg0yt@kou
, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Universal Dark Mode - works on any site\n(function() {\n var enabled = true;\n \n function applyDarkMode() {\n if (!enabled) return;\n \n // Create style element if it doesn't exist\n var style = document.getElementById('universal-dark-mode-style');\n if (!style) {\n style = document.createElement('style');\n style.id = 'universal-dark-mode-style';\n document.head.appendChild(style);\n }\n \n // Dark mode CSS - inverts colors but preserves images/video\n style.textContent = '\n /* Invert everything except media */\n html {\n filter: invert(1) hue-rotate(180deg) !important;\n background: #1a1a2e !important;\n }\n \n /* Restore images, videos, iframes, canvas */\n img, video, iframe, canvas, svg, picture, [style*=\"background-image\"] {\n filter: invert(1) hue-rotate(180deg) !important;\n }\n \n /* Preserve specific elements that should not be inverted */\n .no-dark-mode, .no-dark-mode *,\n [data-theme=\"light\"], [data-theme=\"light\"],\n .ace_editor, .ace_editor *,\n .CodeMirror, .CodeMirror *,\n .monaco-editor, .monaco-editor *,\n .markdown-body pre, .markdown-body pre *,\n .highlight, .highlight *,\n pre code, pre code * {\n filter: none !important;\n }\n \n /* Fix common UI elements */\n .modal, .popup, .dropdown-menu, .tooltip, .popover {\n filter: invert(1) hue-rotate(180deg) !important;\n background: #2d2d44 !important;\n border-color: #444 !important;\n }\n \n /* Scrollbars */\n ::-webkit-scrollbar { background: #1a1a2e !important; }\n ::-webkit-scrollbar-thumb { background: #444 !important; }\n ::-webkit-scrollbar-thumb:hover { background: #555 !important; }\n \n /* Selection */\n ::selection { background: #4ecdc4 !important; color: #1a1a2e !important; }\n ::-moz-selection { background: #4ecdc4 !important; color: #1a1a2e !important; }\n ';\n }\n \n function removeDarkMode() {\n var style = document.getElementById('universal-dark-mode-style');\n if (style) style.remove();\n }\n \n // Toggle with Alt+Shift+D\n document.addEventListener('keydown', function(e) {\n if (e.altKey && e.shiftKey && e.key === 'D') {\n e.preventDefault();\n enabled = !enabled;\n if (enabled) {\n applyDarkMode();\n console.log('[Universal Dark Mode] Enabled');\n } else {\n removeDarkMode();\n console.log('[Universal Dark Mode] Disabled');\n }\n }\n });\n \n // Apply on load\n applyDarkMode();\n \n // Re-apply on dynamic content\n var observer = new MutationObserver(function(mutations) {\n if (enabled && !document.getElementById('universal-dark-mode-style')) {\n applyDarkMode();\n }\n });\n observer.observe(document.head, { childList: true });\n \n console.log('[Universal Dark Mode] Loaded - Press Alt+Shift+D to toggle');\n})();", "Universal Dark Mode"); } } catch(__e) { console.warn('[Userscript:Universal Dark Mode]', __e); } })(); })();
Skip to content

ARROW-17231: [C++] Restore STATIC_INSTALL_INTERFACE_LIBS for arrow_static - #13707

Closed
dg0yt wants to merge 2 commits into
apache:masterfrom
dg0yt:patch-1
Closed

ARROW-17231: [C++] Restore STATIC_INSTALL_INTERFACE_LIBS for arrow_static#13707
dg0yt wants to merge 2 commits into
apache:masterfrom
dg0yt:patch-1

Conversation

@dg0yt

@dg0ytdg0yt commented Jul 26, 2022

Copy link
Copy Markdown

This change restore the STATIC_INSTALL_INTERFACE_LIBS keyword for lib arrow, which was lost in 2fea818.
It fixes the usability of the exported config for static builds with system dependencies, which lacked all transitive usage requirements.
Noticed in building the minimal example in vcpkg, as part of microsoft/vcpkg#25983.

@github-actions

Copy link
Copy Markdown

Thanks for opening a pull request!

If this is not a minor PR. Could you open an issue for this pull request on JIRA? https://issues.apache.org/jira/browse/ARROW

Opening JIRAs ahead of time contributes to the Openness of the Apache Arrow project.

Then could you also rename pull request title in the following format?

ARROW-${JIRA_ID}: [${COMPONENT}] ${SUMMARY}

or

MINOR: [${COMPONENT}] ${SUMMARY}

See also:

@kou

kou commented Jul 26, 2022

Copy link
Copy Markdown
Member

Good catch!
Could you open a JIRA issue for this?

@dg0yt

Copy link
Copy Markdown
Author

Good catch!
Could you open a JIRA issue for this?

This is pretty much overhead for a single word contribution, isn't it. I would be glad if project members could handle that.

@kou

kou commented Jul 27, 2022

Copy link
Copy Markdown
Member

OK.

I want a test for this to prevent this problem again.
Do you want me to add a test for this too?

@dg0yt

Copy link
Copy Markdown
Author

Hm, this means a post-install test so that it runs in arrow CI. But I don't know where to start in arrow (CI). Is there any existing post-install test? Which CI job does static linkage with dependencies provided by the system?
(I did something similar for GDAL, but I could take existing post-install tests as a template.)

What I did in vcpkg is to install the minimal_build example source code with the arrow port, and add another port vcpkg-ci-arrow which builds the example. This was trivial (given that I know how to write vcpkg ports).

@kou

kou commented Jul 27, 2022

Copy link
Copy Markdown
Member

@koukou changed the title Restore STATIC_INSTALL_INTERFACE_LIBSARROW-17231: [C++] Restore STATIC_INSTALL_INTERFACE_LIBS for arrow_staticJul 27, 2022
@github-actions

Copy link
Copy Markdown

@github-actions

Copy link
Copy Markdown

⚠️ Ticket has not been started in JIRA, please click 'Start Progress'.

@kou

kou commented Jul 27, 2022

Copy link
Copy Markdown
Member

Could you show an error message without this change?

@dg0yt

Copy link
Copy Markdown
Author

Could you show an error message without this change?

In other GH projects, I would have temporarily pushed a revert of the original change, and force-push without the revert after the CI run. (Or I would have pushed the test as first commit.) I can do that here, but I need maintainer approval for CI runs.

For reference, this is from vcpgk with the patch disactivated. Not a single static system lib passed in the linking step.

[1/2] /usr/bin/c++ -isystem /vcpkg/installed/x64-linux/include -fPIC -g -pthread -std=gnu++11 -MD -MT CMakeFiles/arrow-example.dir/example.cc.o -MF CMakeFiles/arrow-example.dir/example.cc.o.d -o CMakeFiles/arrow-example.dir/example.cc.o -c /vcpkg/installed/x64-linux/share/arrow/example/example.cc
[2/2] : && /usr/bin/c++ -fPIC -g -rdynamic CMakeFiles/arrow-example.dir/example.cc.o -o arrow-example /vcpkg/installed/x64-linux/debug/lib/libarrow.a -pthread && :
FAILED: arrow-example : && /usr/bin/c++ -fPIC -g -rdynamic CMakeFiles/arrow-example.dir/example.cc.o -o arrow-example /vcpkg/installed/x64-linux/debug/lib/libarrow.a -pthread && :
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_brotli.cc.o): In function `arrow::util::internal::(anonymous namespace)::BrotliDecompressor::~BrotliDecompressor()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:43: undefined reference to `BrotliDecoderDestroyInstance'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_brotli.cc.o): In function `arrow::util::internal::(anonymous namespace)::BrotliDecompressor::Init()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:48: undefined reference to `BrotliDecoderCreateInstance'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_brotli.cc.o): In function `arrow::util::internal::(anonymous namespace)::BrotliDecompressor::Reset()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:57: undefined reference to `BrotliDecoderDestroyInstance'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_brotli.cc.o): In function `arrow::util::internal::(anonymous namespace)::BrotliDecompressor::Decompress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:68: undefined reference to `BrotliDecoderDecompressStream'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:71: undefined reference to `BrotliDecoderGetErrorCode'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_brotli.cc.o): In function `arrow::util::internal::(anonymous namespace)::BrotliDecompressor::IsFinished()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:78: undefined reference to `BrotliDecoderIsFinished'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_brotli.cc.o): In function `arrow::util::internal::(anonymous namespace)::BrotliDecompressor::BrotliError(BrotliDecoderErrorCode, char const*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:84: undefined reference to `BrotliDecoderErrorString'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_brotli.cc.o): In function `arrow::util::internal::(anonymous namespace)::BrotliCompressor::~BrotliCompressor()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:100: undefined reference to `BrotliEncoderDestroyInstance'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_brotli.cc.o): In function `arrow::util::internal::(anonymous namespace)::BrotliCompressor::Init()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:105: undefined reference to `BrotliEncoderCreateInstance'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:109: undefined reference to `BrotliEncoderSetParameter'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_brotli.cc.o): In function `arrow::util::internal::(anonymous namespace)::BrotliCompressor::Compress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:121: undefined reference to `BrotliEncoderCompressStream'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_brotli.cc.o): In function `arrow::util::internal::(anonymous namespace)::BrotliCompressor::Flush(long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:136: undefined reference to `BrotliEncoderCompressStream'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:142: undefined reference to `BrotliEncoderHasMoreOutput'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_brotli.cc.o): In function `arrow::util::internal::(anonymous namespace)::BrotliCompressor::End(long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:151: undefined reference to `BrotliEncoderCompressStream'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:157: undefined reference to `BrotliEncoderHasMoreOutput'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:158: undefined reference to `BrotliEncoderIsFinished'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_brotli.cc.o): In function `arrow::util::internal::(anonymous namespace)::BrotliCodec::Decompress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:186: undefined reference to `BrotliDecoderDecompress'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_brotli.cc.o): In function `arrow::util::internal::(anonymous namespace)::BrotliCodec::MaxCompressedLen(long, unsigned char const*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:196: undefined reference to `BrotliEncoderMaxCompressedSize'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_brotli.cc.o): In function `arrow::util::internal::(anonymous namespace)::BrotliCodec::Compress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_brotli.cc:204: undefined reference to `BrotliEncoderCompress'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_bz2.cc.o): In function `arrow::util::internal::(anonymous namespace)::BZ2Decompressor::~BZ2Decompressor()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_bz2.cc:98: undefined reference to `BZ2_bzDecompressEnd'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_bz2.cc.o): In function `arrow::util::internal::(anonymous namespace)::BZ2Decompressor::Init()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_bz2.cc:106: undefined reference to `BZ2_bzDecompressInit'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_bz2.cc.o): In function `arrow::util::internal::(anonymous namespace)::BZ2Decompressor::Reset()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_bz2.cc:117: undefined reference to `BZ2_bzDecompressEnd'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_bz2.cc.o): In function `arrow::util::internal::(anonymous namespace)::BZ2Decompressor::Decompress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_bz2.cc:131: undefined reference to `BZ2_bzDecompress'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_bz2.cc.o): In function `arrow::util::internal::(anonymous namespace)::BZ2Compressor::~BZ2Compressor()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_bz2.cc:161: undefined reference to `BZ2_bzCompressEnd'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_bz2.cc.o): In function `arrow::util::internal::(anonymous namespace)::BZ2Compressor::Init()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_bz2.cc:169: undefined reference to `BZ2_bzCompressInit'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_bz2.cc.o): In function `arrow::util::internal::(anonymous namespace)::BZ2Compressor::Compress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_bz2.cc:185: undefined reference to `BZ2_bzCompress'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_bz2.cc.o): In function `arrow::util::internal::(anonymous namespace)::BZ2Compressor::Flush(long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_bz2.cc:200: undefined reference to `BZ2_bzCompress'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_bz2.cc.o): In function `arrow::util::internal::(anonymous namespace)::BZ2Compressor::End(long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_bz2.cc:215: undefined reference to `BZ2_bzCompress'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::LZ4Error(unsigned long, char const*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:49: undefined reference to `LZ4F_getErrorName'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::LZ4Decompressor::~LZ4Decompressor()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:73: undefined reference to `LZ4F_freeDecompressionContext'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::LZ4Decompressor::Init()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:81: undefined reference to `LZ4F_createDecompressionContext'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:82: undefined reference to `LZ4F_isError'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::LZ4Decompressor::Reset()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:93: undefined reference to `LZ4F_resetDecompressionContext'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::LZ4Decompressor::Decompress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:112: undefined reference to `LZ4F_decompress'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:114: undefined reference to `LZ4F_isError'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::LZ4Compressor::~LZ4Compressor()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:139: undefined reference to `LZ4F_freeCompressionContext'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::LZ4Compressor::Init()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:148: undefined reference to `LZ4F_createCompressionContext'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:149: undefined reference to `LZ4F_isError'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::LZ4Compressor::Compress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:181: undefined reference to `LZ4F_compressBegin'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:181: undefined reference to `LZ4F_isError'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:183: undefined reference to `LZ4F_compressBound'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:187: undefined reference to `LZ4F_compressUpdate'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:189: undefined reference to `LZ4F_isError'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::LZ4Compressor::Flush(long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:203: undefined reference to `LZ4F_compressBegin'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:203: undefined reference to `LZ4F_isError'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:205: undefined reference to `LZ4F_compressBound'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:210: undefined reference to `LZ4F_flush'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:211: undefined reference to `LZ4F_isError'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::LZ4Compressor::End(long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:225: undefined reference to `LZ4F_compressBegin'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:225: undefined reference to `LZ4F_isError'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:227: undefined reference to `LZ4F_compressBound'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:232: undefined reference to `LZ4F_compressEnd'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:233: undefined reference to `LZ4F_isError'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::Lz4FrameCodec::MaxCompressedLen(long, unsigned char const*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:264: undefined reference to `LZ4F_compressFrameBound'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::Lz4FrameCodec::Compress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:271: undefined reference to `LZ4F_compressFrame'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:272: undefined reference to `LZ4F_isError'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::Lz4FrameCodec::maximum_compression_level() const':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:322: undefined reference to `LZ4F_compressionLevel_max'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::Lz4Codec::Decompress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:345: undefined reference to `LZ4_decompress_safe'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::Lz4Codec::MaxCompressedLen(long, unsigned char const*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:356: undefined reference to `LZ4_compressBound'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::Lz4Codec::Compress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:368: undefined reference to `LZ4_compress_default'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:372: undefined reference to `LZ4_compress_HC'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_lz4.cc.o): In function `arrow::util::internal::(anonymous namespace)::Lz4Codec::maximum_compression_level() const':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_lz4.cc:400: undefined reference to `LZ4F_compressionLevel_max'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_snappy.cc.o): In function `arrow::util::internal::(anonymous namespace)::SnappyCodec::Decompress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_snappy.cc:47: undefined reference to `snappy::GetUncompressedLength(char const*, unsigned long, unsigned long*)'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_snappy.cc:56: undefined reference to `snappy::RawUncompress(char const*, unsigned long, char*)'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_snappy.cc.o): In function `arrow::util::internal::(anonymous namespace)::SnappyCodec::MaxCompressedLen(long, unsigned char const*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_snappy.cc:67: undefined reference to `snappy::MaxCompressedLength(unsigned long)'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_snappy.cc.o): In function `arrow::util::internal::(anonymous namespace)::SnappyCodec::Compress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_snappy.cc:74: undefined reference to `snappy::RawCompress(char const*, unsigned long, char*, unsigned long*)'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipDecompressor::~GZipDecompressor()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:96: undefined reference to `inflateEnd'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipDecompressor::Init()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:107: undefined reference to `inflateInit2_'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipDecompressor::Reset()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:119: undefined reference to `inflateReset'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipDecompressor::Decompress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:136: undefined reference to `inflate'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipCompressor::~GZipCompressor()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:179: undefined reference to `deflateEnd'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipCompressor::Init(arrow::util::internal::GZipFormat::type)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:191: undefined reference to `deflateInit2_'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipCompressor::Compress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:212: undefined reference to `deflate'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipCompressor::Flush(long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:237: undefined reference to `deflate'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipCompressor::End(long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:268: undefined reference to `deflate'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:276: undefined reference to `deflateEnd'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipCodec::InitCompressor()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:337: undefined reference to `deflateInit2_'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipCodec::EndCompressor()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:346: undefined reference to `deflateEnd'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipCodec::InitDecompressor()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:358: undefined reference to `inflateInit2_'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipCodec::EndDecompressor()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:367: undefined reference to `inflateEnd'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipCodec::Decompress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:386: undefined reference to `inflateReset'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:405: undefined reference to `inflate'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipCodec::MaxCompressedLen(long, unsigned char const*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:428: undefined reference to `deflateBound'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zlib.cc.o): In function `arrow::util::internal::(anonymous namespace)::GZipCodec::Compress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:445: undefined reference to `deflate'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zlib.cc:455: undefined reference to `deflateReset'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDError(unsigned long, char const*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:40: undefined reference to `ZSTD_getErrorName'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDDecompressor::ZSTDDecompressor()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:48: undefined reference to `ZSTD_createDStream'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDDecompressor::~ZSTDDecompressor()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:50: undefined reference to `ZSTD_freeDStream'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDDecompressor::Init()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:54: undefined reference to `ZSTD_initDStream'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:55: undefined reference to `ZSTD_isError'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDDecompressor::Decompress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:75: undefined reference to `ZSTD_decompressStream'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:76: undefined reference to `ZSTD_isError'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDCompressor::ZSTDCompressor(int)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:100: undefined reference to `ZSTD_createCStream'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDCompressor::~ZSTDCompressor()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:102: undefined reference to `ZSTD_freeCStream'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDCompressor::Init()':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:105: undefined reference to `ZSTD_initCStream'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:106: undefined reference to `ZSTD_isError'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDCompressor::Compress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:126: undefined reference to `ZSTD_compressStream'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:127: undefined reference to `ZSTD_isError'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDCompressor::Flush(long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:142: undefined reference to `ZSTD_flushStream'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:143: undefined reference to `ZSTD_isError'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDCompressor::End(long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:157: undefined reference to `ZSTD_endStream'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:158: undefined reference to `ZSTD_isError'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDCodec::Decompress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:192: undefined reference to `ZSTD_decompress'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:193: undefined reference to `ZSTD_isError'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDCodec::MaxCompressedLen(long, unsigned char const*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:205: undefined reference to `ZSTD_compressBound'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDCodec::Compress(long, unsigned char const*, long, unsigned char*)':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:211: undefined reference to `ZSTD_compress'
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:212: undefined reference to `ZSTD_isError'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDCodec::minimum_compression_level() const':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:231: undefined reference to `ZSTD_minCLevel'
/vcpkg/installed/x64-linux/debug/lib/libarrow.a(compression_zstd.cc.o): In function `arrow::util::internal::(anonymous namespace)::ZSTDCodec::maximum_compression_level() const':
/vcpkg/buildtrees/arrow/src/rrow-8.0.1-a30817761f.clean/cpp/src/arrow/util/compression_zstd.cc:232: undefined reference to `ZSTD_maxCLevel'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.

@dg0yt

Copy link
Copy Markdown
Author

TBH I don't really understand the issue title "arrow_static requires needless dependencies". The private dependencies are not "needless".

@kou

kou commented Jul 28, 2022

Copy link
Copy Markdown
Member

I've added "Exported" to "arrow_static".

(It seems that you should have created a JIRA issue by yourself because this is not "a single word contribution".)

@kou

kou commented Jul 28, 2022

Copy link
Copy Markdown
Member

Thanks for the error log.
It showed a problem what I assumed... I thought this is caused by find_package(Arrow) but it seems that it's not related.

- name: Run minimal example (static, system dependencies)
run: |
cd cpp/examples/minimal_build
docker-compose run --rm static-system-dependency

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this reproduce this problem?
I couldn't reproduce this problem by this without your cpp/src/arrow/CMakeLists.txt change.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I admit I can't test this particular part locally.
FTR: is this already run elsewhere in the CI configurations?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kou

kou commented Aug 16, 2022

Copy link
Copy Markdown
Member

#13892 includes this. Closed in favor of #13892 .

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@dg0yt@kou