hi Joerg,

Our developer community did not author that tutorial -- I recommend
following the documentation in the Arrow and Parquet codebases; if the
documentation is inaccurate or incomplete, we should work together to
improve it.

It looks like you may have -DPARQUET_BOOST_USE_SHARED=OFF set
somewhere. If you statically-link the Boost dependencies, you
generally will have to compile Boost yourself because the Linux
packages often are not built with -fPIC.

If not, could you post a complete output of a clean CMake build so we
can see what might be going wrong in the build system?

Thanks
Wes

On Tue, Aug 15, 2017 at 1:58 PM, Jörg Anders
<[email protected]> wrote:
> Hi all
> I tried to compile parqut-cpp as decribed here:
>
> https://tutorials.technology/tutorials/21-how-to-compile-and-install-arrow-from-source-code.html
>
> on "Debian GNU/Linux 8 (jessie)"
> It works but at the last step it says:
> /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libboost_system-mt.a(error_code.o): 
> relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a 
> shared object; recompile with -fPIC
> It seems to be simple: I have to use the -fPIC option.
> I already inserted
>  CMAKE_CXX_FLAGS:STRING=-fPIC
>
> into each CMakeCache.txt. It does not help. I hope you have some experiences 
> with that an you can help me. Is it possible it has to dowith 
> libboost_system-mt.a?
> Thank you in advance
> Jörg
>
>
>
>
>
>
>
  • parqet-cpp Jörg Anders
    • Re: parqet-cpp Wes McKinney

Reply via email to