You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Ryan Seghers (Jira)" <ji...@apache.org> on 2022/01/29 01:00:00 UTC

[jira] [Created] (ARROW-15500) parquet link undefined reference to base64_encode(), unpack32(), etc

Ryan Seghers created ARROW-15500:
------------------------------------

             Summary: parquet link undefined reference to base64_encode(), unpack32(), etc
                 Key: ARROW-15500
                 URL: https://issues.apache.org/jira/browse/ARROW-15500
             Project: Apache Arrow
          Issue Type: Bug
          Components: Parquet
    Affects Versions: 6.0.1
         Environment: 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

            Reporter: Ryan Seghers


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.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)