[Native Execution] Build failure on MacOS when PRESTO_ENABLE_PARQUET=ON
See original GitHub issueThe presto_server target build fails on MacOS with bunch of missing symbols when built with -DPRESTO_ENABLE_PARQUET=ON
bash$ PRESTO_ENABLE_PARQUET=ON make debug
.....
Undefined symbols for architecture x86_64:
"apache::thrift::CodecConfig::__fbthrift_clear()", referenced from:
apache::thrift::CodecConfig::~CodecConfig() in libpresto_thrift-cpp2.a(PrestoThriftAsyncClient.cpp.o)
apache::thrift::CodecConfig::~CodecConfig() in libthriftcpp2.a(Cpp2Channel.cpp.o)
apache::thrift::CodecConfig::~CodecConfig() in libthriftcpp2.a(RequestChannel.cpp.o)
apache::thrift::CodecConfig::~CodecConfig() in libthriftcpp2.a(FramingHandler.cpp.o)
apache::thrift::CodecConfig::~CodecConfig() in libthriftcpp2.a(RpcMetadataUtil.cpp.o)
"apache::thrift::concurrency::Util::currentTimeTicks(long long)", referenced from:
apache::thrift::concurrency::Util::currentTime() in libtransport.a(THttpParser.cpp.o)
"apache::thrift::ContextStack::onReadData(apache::thrift::SerializedMessage const&)", referenced from:
folly::exception_wrapper apache::thrift::detail::ac::recv_wrapped_helper<apache::thrift::BinaryProtocolReader, apache::thrift::ThriftPresult<true> >(apache::thrift::BinaryProtocolReader*, apache::thrift::ClientReceiveState&, apache::thrift::ThriftPresult<true>&) in libpresto_thrift-cpp2.a(PrestoThriftAsyncClient.cpp.o)
folly::exception_wrapper apache::thrift::detail::ac::recv_wrapped_helper<apache::thrift::CompactProtocolReader, apache::thrift::ThriftPresult<true> >(apache::thrift::CompactProtocolReader*, apache::thrift::ClientReceiveState&, apache::thrift::ThriftPresult<true>&) in libpresto_thrift-cpp2.a(PrestoThriftAsyncClient.cpp.o)
.........
Issue Analytics
- State:
- Created a year ago
- Comments:19 (16 by maintainers)
Top Results From Across the Web
build fails on M1 Mac · Issue #31438 · facebook/react-native
Having same issue after updating macOS (11.3 (20E232)) on M1. My project was working fine before update and now am seeing lots of...
Read more >Clang linking error MacOS Big Sur | Apple Developer Forums
Hi All, I am trying to build my helloworld.cpp, but I am having problem since I updated to Big Sur. Below a verbose...
Read more >Why does my native arm64 application built using an x86_64 ...
using a build system that is compiled for x86_64; replace an existing binary (such as during a rebuild). The final binary cannot be...
Read more >2.4.2 Installing MySQL on macOS Using Native Packages
From the Installation Type page you can either click Install to execute the installation wizard using all defaults, click Customize to alter which...
Read more >How To Install and Setup React Native on Mac - KnowledgeHut
You need React Native CLI to develop the app by react-native. React Native CLI is installed by executing the npm command below:.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@mbasmanova @majetideepak Here is the partial fix: https://github.com/prestodb/presto/pull/18213/files
You need to add also on line
158
inpresto-native-execution/CMakeLists.txt
(afterfind_library(RE2 re2)
):You could adopt in somehow as we are waiting for legal team to finish the CLA process so it still can take some time. P.s. Not sure if this will help with your issue 😃
CC: @kgpai