Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Not A Problem
-
6.0.1
-
None
-
None
-
ubuntu 20.04
vcpkg master latest as of 2022-01-08, and tag 2022.01.01
gcc 9 and 10 latest
cmake 3.22.1
Description
I'm trying to build on ubuntu 20.04, using vcpkg master latest, both gcc-9 and gcc-10 latest, cmake 3.22.1. I can build and link Arrow in a small test program and write a csv. When I try to build with parquet I get several link-time errors. Here is the first full linker error:
/usr/bin/ld: /home/ryans/src/vcpkg/installed/x64-linux/lib/libparquet.a(writer.cc.o): in function `parquet::arrow::GetSchemaMetadata(arrow::Schema const&, arrow::MemoryPool*, parquet::ArrowWriterProperties const&, std::shared_ptr<arrow::KeyValueMetadata const>*) [clone .localalias]':
writer.cc.text+0x179): undefined reference to `arrow::util::base64_encode[abi:cxx11](nonstd::sv_lite::basic_string_view<char, std::char_traits<char> >)'
Here are snippets from the rest:
undefined reference to `arrow::internal::unpack32(unsigned int const*, unsigned int*, int, int)'
undefined reference to `arrow::internal::unpack64(unsigned char const*, unsigned long*, int, int)'
undefined reference to `arrow::io::BufferedInputStream::Create(long, arrow::MemoryPool*, std::shared_ptr<arrow::io::InputStream>, long)'
undefined reference to `arrow::util::base64_decode[abi:cxx11](nonstd::sv_lite::basic_string_view<char, std::char_traits<char> >)'
I have tried vcpkg tag 2022.01.01 (I think it is Arrow 6.0.0) and looked like the same set of undefined symbols.