hi Renato, I think you want something like
-lparquet -L/parquet-cpp_install/release/lib/ The first part instructs gcc to look for and link to libparquet.so, the 2nd bit modifies the shared library search path (if libparquet were installed in your system path you wouldn't need this part) Note that by default libparquet depends on the Arrow shared libraries, so you need both libarrow.so and libparquet.so to be in your loader path - Wes On Thu, Dec 7, 2017 at 1:24 PM, Renato Marroquín Mogrovejo <[email protected]> wrote: > Hi devs, > > 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.
