You might be missing a "-l" flag or two in addition to the "-I" flag. You might also need a "-L" flag.
On Thu, Dec 7, 2017 at 1:34 PM, Renato Marroquín Mogrovejo < renatoj.marroq...@gmail.com> wrote: > Hi devs, > > I have also sent this question to the parquet mailing list, but I guess > this is the right place for it. > Anyway, this is a really novice question, so please excuse. > I am trying to link against parquet-cpp installation with the following > command > > g++ -std=c++11 parquet_rw.cc -I/parquet-cpp_install/release/include/ > > But I am getting the following error messages > > undefined reference to `arrow::io::FileOutputStream:: > Open(std::__cxx11::basic_string<char, std::char_traits<char>, > std::allocator<char> > const&, std::shared_ptr<arrow::io:: > FileOutputStream>*)'parquet_rw.cc:(.text+0x409): undefined reference to > `arrow::Status::ToString[abi:cxx11]() const'parquet_rw.cc:(.text+0x46d): > undefined reference to `parquet::ParquetException:: > Throw(std::__cxx11::basic_string<char, std::char_traits<char>, > std::allocator<char> > const&)' > ... > > Could you please help to figure out what I am missing? > Thanks in advanced! > > > Renato M. >