Also, i'm building from

```
commit 18ca3922e688a3a730d693ff8f2cfbfd65da8c46
Author: Uwe L. Korn <[email protected]>
Date:   Sun Sep 17 13:55:43 2017 -0400

    PARQUET-1094: Add benchmark for boolean Arrow column I/O

    Author: Uwe L. Korn <[email protected]>

    Closes #391 from xhochy/PARQUET-1094 and squashes the following commits:

    089bb3c [Uwe L. Korn] PARQUET-1094: Add benchmark for boolean Arrow
column I/O
```

On 5 January 2018 at 20:27, ALeX Wang <[email protected]> wrote:

> Hi,
>
> I'm referring to the https://github.com/apache/parquet-cpp/blob/master/ci/
> travis_script_static.sh
> and try to build static library,
>
> My cmake cmdline looks like:
> ```
> cmake3 -DCMAKE_BUILD_TYPE=Release -DPARQUET_BUILD_EXAMPLES=OFF
> -DPARQUET_BUILD_TESTS=OFF  -DPARQUET_ARROW_LINKAGE="static"
>  -DPARQUET_BUILD_SHARED=OFF -DPARQUET_BOOST_USE_SHARED=OFF  .
> ```
>
> However, the compilation failed with:
> ```
> [ 90%] Linking CXX executable ../build/release/parquet-scan
> ../build/release/libarrow.a(file.cc.o): In function
> `arrow::io::FileOutputStream::Open(std::string const&, bool,
> std::shared_ptr<arrow::io::FileOutputStream>*)':
> file.cc:(.text+0x2f1f): undefined reference to `boost::filesystem::path::
> codecvt()'
> ../build/release/libarrow.a(file.cc.o): In function
> `arrow::io::ReadableFile::Open(std::string const&, arrow::MemoryPool*,
> std::shared_ptr<arrow::io::ReadableFile>*)':
> file.cc:(.text+0x33d0): undefined reference to `boost::filesystem::path::
> codecvt()'
> ../build/release/libarrow.a(file.cc.o): In function
> `arrow::io::ReadableFile::Open(std::string const&,
> std::shared_ptr<arrow::io::ReadableFile>*)':
> file.cc:(.text+0x3865): undefined reference to `boost::filesystem::path::
> codecvt()'
> ../build/release/libarrow.a(file.cc.o): In function
> `arrow::io::MemoryMappedFile::MemoryMap::Open(std::string const&,
> arrow::io::FileMode::type)':
> file.cc:(.text._ZN5arrow2io16MemoryMappedFile9MemoryMap4OpenERKSsNS0_
> 8FileMode4typeE[_ZN5arrow2io16MemoryMappedFile9MemoryMap4OpenERKSsNS0_8FileMode4typeE]+0xba):
> undefined reference to `boost::filesystem::path::codecvt()'
> file.cc:(.text._ZN5arrow2io16MemoryMappedFile9MemoryMap4OpenERKSsNS0_
> 8FileMode4typeE[_ZN5arrow2io16MemoryMappedFile9MemoryMap4OpenERKSsNS0_8FileMode4typeE]+0x186):
> undefined reference to `boost::filesystem::path::codecvt()'
> collect2: error: ld returned 1 exit status
> ```
>
> Any idea where I did wrong?
>
> Thanks,
> --
> Alex Wang,
> Open vSwitch developer
>



-- 
Alex Wang,
Open vSwitch developer

Reply via email to