[ 
https://issues.apache.org/jira/browse/PARQUET-1395?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16585947#comment-16585947
 ] 

Uwe L. Korn edited comment on PARQUET-1395 at 8/20/18 1:58 PM:
---------------------------------------------------------------

Ok, that is definitely the root of the problem.

In the cmake version I use locally, I have CMAKE_SKIP_INSTALL_RPATH=OFF and 
CMAKE_SKIP_RPATH=OFF. The CMAKE_INSTALL_RPATH_USE_LINK_PATH option was not set 
by cmake. I have cmake 3.10.0 from conda-forge installed.


was (Author: xhochy):
Ok, that is definitely the root of the problem.

In the cmake version I use locally, I get have CMAKE_SKIP_INSTALL_RPATH=OFF and 
CMAKE_SKIP_RPATH=OFF. The CMAKE_INSTALL_RPATH_USE_LINK_PATH option was not set 
by cmake. I have cmake 3.10.0 from conda-forge installed.

> [C++] Tests fail due to not finding libboost_system.so
> ------------------------------------------------------
>
>                 Key: PARQUET-1395
>                 URL: https://issues.apache.org/jira/browse/PARQUET-1395
>             Project: Parquet
>          Issue Type: Bug
>          Components: parquet-cpp
>            Reporter: Antoine Pitrou
>            Priority: Major
>
> When building:
> {code}
> -- Boost version: 1.67.0
> -- Found the following Boost libraries:
> --   regex
> -- Boost include dir: /home/antoine/miniconda3/envs/pyarrow/include
> -- Boost libraries: 
> /home/antoine/miniconda3/envs/pyarrow/lib/libboost_regex.so
> {code}
> Then:
> {code}
> $ ./build-debug/debug/memory-test 
> ./build-debug/debug/memory-test: error while loading shared libraries: 
> libboost_system.so.1.67.0: cannot open shared object file: No such file or 
> directory
> {code}
> {code}
> $ ldd ./build-debug/debug/memory-test 
>       linux-vdso.so.1 (0x00007fffcbfed000)
>       libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 
> (0x00007f64e2f07000)
>       libarrow.so.11 => 
> /home/antoine/miniconda3/envs/pyarrow/lib/libarrow.so.11 (0x00007f64e28ad000)
>       libboost_regex.so.1.67.0 => 
> /home/antoine/miniconda3/envs/pyarrow/lib/libboost_regex.so.1.67.0 
> (0x00007f64e25a9000)
>       libstdc++.so.6 => 
> /home/antoine/miniconda3/envs/pyarrow/lib/libstdc++.so.6 (0x00007f64e226a000)
>       libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f64e1ecc000)
>       libgcc_s.so.1 => 
> /home/antoine/miniconda3/envs/pyarrow/lib/libgcc_s.so.1 (0x00007f64e1cb9000)
>       libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f64e18c8000)
>       /lib64/ld-linux-x86-64.so.2 (0x00007f64e3415000)
>       libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f64e16c4000)
>       libboost_system.so.1.67.0 => not found
>       libboost_filesystem.so.1.67.0 => not found
>       librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f64e14bc000)
>       libicudata.so.58 => 
> /home/antoine/miniconda3/envs/pyarrow/lib/./libicudata.so.58 
> (0x00007f64df9bc000)
>       libicui18n.so.58 => 
> /home/antoine/miniconda3/envs/pyarrow/lib/./libicui18n.so.58 
> (0x00007f64df547000)
>       libicuuc.so.58 => 
> /home/antoine/miniconda3/envs/pyarrow/lib/./libicuuc.so.58 
> (0x00007f64df199000)
> {code}
> It looks like our cmake build script doesn't link explicitly with the conda 
> env's libboost_system.so.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to