Kouhei Sutou created ARROW-17394:
------------------------------------

             Summary: [C++][Parquet] Fix parquet_static dependencies
                 Key: ARROW-17394
                 URL: https://issues.apache.org/jira/browse/ARROW-17394
             Project: Apache Arrow
          Issue Type: Improvement
          Components: C++, Parquet
            Reporter: Kouhei Sutou
            Assignee: Kouhei Sutou


See also: 
https://github.com/microsoft/vcpkg/issues/22552#issuecomment-1211341648

{quote}
I tried [#22552 
(comment)|https://github.com/microsoft/vcpkg/issues/22552#issuecomment-1093273619]
 (that is based on Apache Arrow 7.0.0).

The following dependencies are missed from link command line:

* {{vcpkg_installed/x64-linux/debug/lib/libthriftd.a}}
* {{vcpkg_installed/x64-linux/debug/lib/liblz4d.a}}
* {{vcpkg_installed/x64-linux/debug/lib/libbrotli\{enc,dec,common\}-static.a}}

It seems that {{thrift::thrift}}, {{lz4::lz4}} and 
{{unofficial::brotli::brotli\{enc,dec,common\}-static}} are missed in 
{{arrow_static}} dependencies:

{noformat}
$ grep INTERFACE_LINK_LIBRARIES 
vcpkg_installed/x64-linux/share/arrow/ArrowTargets.cmake 
  INTERFACE_LINK_LIBRARIES 
"OpenSSL::Crypto;OpenSSL::SSL;BZip2::BZip2;Snappy::snappy;ZLIB::ZLIB;zstd::libzstd_static;re2::re2;Threads::Threads;rt;\$<LINK_ONLY:>"
{noformat}

I'm not sure that this is a problem in Apache Arrow's CMake configuration or 
patches in vcpkg.
{quote}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to