You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/usr/include/parquet/util/memory.h:44:33: error: template argument 1 is invalid std::unique_ptr<::arrow::Codec> result;
I went and changed ::arrow::Codec to ::arrow::util::Codec in the header file and it's been compiled with a warning:
/usr/bin/ld: warning: libarrow.so.10, needed by /usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu/libparquet.so, may conflict with libarrow.so.11
Wes McKinney / @wesm: [~yzhishko] it appears you have old versions of libarrow and/or libprotobuf installed on your system. Can you remove those and try installing again?
Yury Zhyshko:
No previous arrow or parquet versions installed. Protobuf is at version 10. It's absolutely clean installation of ubuntu, so, I expect to have working straight forward. NOTE: by installing just parquet or arrow libraries I can't compile the example at all.
Wes McKinney / @wesm:
Oh I think I see the problem. @kou should the libparquet-dev packages be removed from the installation page? If you remove libparquet-dev I think it will work
Kouhei Sutou / @kou:
There were libparquet-dev package for apache/parquet-cpp at packages.red-data-tools.org. It uses 1.4.1 as its version.
Apache Arrow 0.11.0 starts including Apache Parquet C++ and libparquet-dev package uses Apache Parquet C++ in Apache Arrow. The libparquet-dev packages uses 0.11.0 as its version.
0.11.0 is less than 1.4.1. So libparquet-dev packages for apache/parquet-cpp was preferred.
I've removed all libparquet-dev packages for apache/parquet-cpp from packages.red-data-tools.org. Now, you can install libparquet-dev for Apache Parquet C++ in Apache Arrow 0.11.0 by default.
Workaround: You can force to install the specified version by sudo apt install -y -V libparquet-dev=0.11.0-1.
I used fresh clean installation of Ubuntu 18.04 and Debian
Follow by instruction to install https://arrow.apache.org/install/
Download example from https://github.com/apache/arrow/tree/master/cpp/examples/parquet/parquet-arrow/src
3) g++ -Wall -fexceptions -lparquet -larrow -O3 -Iinclude -c reader-writer.cc -o reader-writer.o
At the compile stage I see Errors:
I went and changed ::arrow::Codec to ::arrow::util::Codec in the header file and it's been compiled with a warning:
/usr/bin/ld: warning: libarrow.so.10, needed by /usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu/libparquet.so, may conflict with libarrow.so.11
4) g++ -o parquet_test reader-writer.o -s -lparquet -larrow
Environment: Ubuntu 18.04
Debian GNU
Reporter: Yury Zhyshko
Assignee: Kouhei Sutou / @kou
Note: This issue was originally created as ARROW-3485. Please see the migration documentation for further details.
The text was updated successfully, but these errors were encountered: