[ https://issues.apache.org/jira/browse/PARQUET-1395?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16585754#comment-16585754 ]
Antoine Pitrou commented on PARQUET-1395: ----------------------------------------- Actually the problem here might be the transitive dependency through {{libarrow.so}}: {code} $ ldd /home/antoine/miniconda3/envs/pyarrow/lib/libarrow.so.11 linux-vdso.so.1 (0x00007ffd67be7000) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f1340113000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f133fef4000) libboost_system.so.1.67.0 => not found libboost_filesystem.so.1.67.0 => not found libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f133fb66000) libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f133f7c8000) libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f133f5b0000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f133f1bf000) /lib64/ld-linux-x86-64.so.2 (0x00007f1340971000) {code} [~wesmckinn] [~xhochy] why would this be? > [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)