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

Antoine Pitrou commented on PARQUET-1395:
-----------------------------------------

Actually, not the same files.
{code}
$ sha1sum /home/antoine/miniconda3/envs/pyarrow/lib/libarrow.so.11
b7dd1e0fa645660289ecf46cd4a6f28b2a0c0de0  
/home/antoine/miniconda3/envs/pyarrow/lib/libarrow.so.11
$ sha1sum build-test/debug/libarrow.so.11
a0252ac139ce3905d18db989ba74ce00f698c954  build-test/debug/libarrow.so.11
{code}

Which begs the question: what happens when installing that modifies .so files?

> [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