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

Kouhei Sutou commented on ARROW-7838:
-------------------------------------

What CMake options do you use?
I couldn't build {{plasma-store-server}} that links to {{libboost*}} with my 
CMake options. 

> [C++] Installed plasma-store-server fails finding Boost
> -------------------------------------------------------
>
>                 Key: ARROW-7838
>                 URL: https://issues.apache.org/jira/browse/ARROW-7838
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: C++, C++ - Plasma
>            Reporter: Antoine Pitrou
>            Priority: Major
>
> In my build directory I have:
> {code}
> $ ldd build-test/debug/plasma-store-server 
>       linux-vdso.so.1 (0x00007ffc0001f000)
>       libplasma.so.100 => 
> /home/antoine/arrow/dev/cpp/build-test/debug/libplasma.so.100 
> (0x00007efbff629000)
>       libarrow_cuda.so.100 => 
> /home/antoine/arrow/dev/cpp/build-test/debug/libarrow_cuda.so.100 
> (0x00007efbff58d000)
>       libarrow.so.100 => 
> /home/antoine/arrow/dev/cpp/build-test/debug/libarrow.so.100 
> (0x00007efbfcbae000)
>       libssl.so.1.1 => 
> /home/antoine/miniconda3/envs/pyarrow/lib/libssl.so.1.1 (0x00007efbfcb1e000)
>       libcrypto.so.1.1 => 
> /home/antoine/miniconda3/envs/pyarrow/lib/libcrypto.so.1.1 
> (0x00007efbfc870000)
>       libaws-cpp-sdk-config.so => 
> /home/antoine/miniconda3/envs/pyarrow/lib/libaws-cpp-sdk-config.so 
> (0x00007efbfc6be000)
>       libaws-cpp-sdk-transfer.so => 
> /home/antoine/miniconda3/envs/pyarrow/lib/libaws-cpp-sdk-transfer.so 
> (0x00007efbff557000)
>       libaws-cpp-sdk-s3.so => 
> /home/antoine/miniconda3/envs/pyarrow/lib/libaws-cpp-sdk-s3.so 
> (0x00007efbfc478000)
>       libaws-cpp-sdk-core.so => 
> /home/antoine/miniconda3/envs/pyarrow/lib/libaws-cpp-sdk-core.so 
> (0x00007efbfc37b000)
>       libaws-c-event-stream.so.0unstable => 
> /home/antoine/miniconda3/envs/pyarrow/lib/libaws-c-event-stream.so.0unstable 
> (0x00007efbff54e000)
>       libaws-c-common.so.0unstable => 
> /home/antoine/miniconda3/envs/pyarrow/lib/libaws-c-common.so.0unstable 
> (0x00007efbff52d000)
>       libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007efbfbfa2000)
>       libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 
> (0x00007efbfbd83000)
>       libaws-checksums.so => 
> /home/antoine/miniconda3/envs/pyarrow/lib/libaws-checksums.so 
> (0x00007efbff51d000)
>       librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007efbfbb7b000)
>       libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007efbfb977000)
>       libcuda.so.1 => /usr/lib/x86_64-linux-gnu/libcuda.so.1 
> (0x00007efbfadd7000)
>       libstdc++.so.6 => 
> /home/antoine/miniconda3/envs/pyarrow/lib/libstdc++.so.6 (0x00007efbfac63000)
>       libgcc_s.so.1 => 
> /home/antoine/miniconda3/envs/pyarrow/lib/libgcc_s.so.1 (0x00007efbff507000)
>       libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007efbfa872000)
>       /lib64/ld-linux-x86-64.so.2 (0x00007efbff4d7000)
>       libbz2.so.1.0 => 
> /home/antoine/miniconda3/envs/pyarrow/lib/libbz2.so.1.0 (0x00007efbfa85e000)
>       liblz4.so.1 => /home/antoine/miniconda3/envs/pyarrow/lib/liblz4.so.1 
> (0x00007efbfa829000)
>       libsnappy.so.1 => 
> /home/antoine/miniconda3/envs/pyarrow/lib/libsnappy.so.1 (0x00007efbfa81e000)
>       libz.so.1 => /home/antoine/miniconda3/envs/pyarrow/lib/libz.so.1 
> (0x00007efbfa804000)
>       libzstd.so.1 => /home/antoine/miniconda3/envs/pyarrow/lib/libzstd.so.1 
> (0x00007efbfa748000)
>       libboost_filesystem.so.1.68.0 => 
> /home/antoine/miniconda3/envs/pyarrow/lib/libboost_filesystem.so.1.68.0 
> (0x00007efbfa72a000)
>       libboost_system.so.1.68.0 => 
> /home/antoine/miniconda3/envs/pyarrow/lib/libboost_system.so.1.68.0 
> (0x00007efbff4fe000)
>       libcurl.so.4 => 
> /home/antoine/miniconda3/envs/pyarrow/lib/./libcurl.so.4 (0x00007efbfa6a4000)
>       libnvidia-fatbinaryloader.so.390.116 => 
> /usr/lib/x86_64-linux-gnu/libnvidia-fatbinaryloader.so.390.116 
> (0x00007efbfa456000)
>       libssh2.so.1 => 
> /home/antoine/miniconda3/envs/pyarrow/lib/././libssh2.so.1 
> (0x00007efbfa423000)
>       libgssapi_krb5.so.2 => 
> /home/antoine/miniconda3/envs/pyarrow/lib/././libgssapi_krb5.so.2 
> (0x00007efbfa3d4000)
>       libkrb5.so.3 => 
> /home/antoine/miniconda3/envs/pyarrow/lib/././libkrb5.so.3 
> (0x00007efbfa2fd000)
>       libk5crypto.so.3 => 
> /home/antoine/miniconda3/envs/pyarrow/lib/././libk5crypto.so.3 
> (0x00007efbfa2de000)
>       libcom_err.so.3 => 
> /home/antoine/miniconda3/envs/pyarrow/lib/././libcom_err.so.3 
> (0x00007efbfa2d6000)
>       libkrb5support.so.0 => 
> /home/antoine/miniconda3/envs/pyarrow/lib/./././libkrb5support.so.0 
> (0x00007efbfa2c8000)
>       libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2 
> (0x00007efbfa0ad000)
> {code}
> However, once installed it seems the Boost resolution fails:
> {code}
> $ ldd /home/antoine/miniconda3/envs/pyarrow/bin/plasma-store-server
>       linux-vdso.so.1 (0x00007ffc0001f000)
>       libplasma.so.100 => 
> /home/antoine/miniconda3/envs/pyarrow/lib/libplasma.so.100 
> (0x00007efbff629000)
>       libarrow_cuda.so.100 => 
> /home/antoine/miniconda3/envs/pyarrow/lib/libarrow_cuda.so.100 
> (0x00007efbff58d000)
>       libarrow.so.100 => 
> /home/antoine/miniconda3/envs/pyarrow/lib/libarrow.so.100 (0x00007efbfcbae000)
>       libssl.so.1.1 => 
> /home/antoine/miniconda3/envs/pyarrow/lib/libssl.so.1.1 (0x00007efbfcb1e000)
>       libcrypto.so.1.1 => 
> /home/antoine/miniconda3/envs/pyarrow/lib/libcrypto.so.1.1 
> (0x00007efbfc870000)
>       libaws-cpp-sdk-config.so => 
> /home/antoine/miniconda3/envs/pyarrow/lib/libaws-cpp-sdk-config.so 
> (0x00007efbfc6be000)
>       libaws-cpp-sdk-transfer.so => 
> /home/antoine/miniconda3/envs/pyarrow/lib/libaws-cpp-sdk-transfer.so 
> (0x00007efbff557000)
>       libaws-cpp-sdk-s3.so => 
> /home/antoine/miniconda3/envs/pyarrow/lib/libaws-cpp-sdk-s3.so 
> (0x00007efbfc478000)
>       libaws-cpp-sdk-core.so => 
> /home/antoine/miniconda3/envs/pyarrow/lib/libaws-cpp-sdk-core.so 
> (0x00007efbfc37b000)
>       libaws-c-event-stream.so.0unstable => 
> /home/antoine/miniconda3/envs/pyarrow/lib/libaws-c-event-stream.so.0unstable 
> (0x00007efbff54e000)
>       libaws-c-common.so.0unstable => 
> /home/antoine/miniconda3/envs/pyarrow/lib/libaws-c-common.so.0unstable 
> (0x00007efbff52d000)
>       libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007efbfbfa2000)
>       libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 
> (0x00007efbfbd83000)
>       libaws-checksums.so => 
> /home/antoine/miniconda3/envs/pyarrow/lib/libaws-checksums.so 
> (0x00007efbff51d000)
>       librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007efbfbb7b000)
>       libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007efbfb977000)
>       libcuda.so.1 => /usr/lib/x86_64-linux-gnu/libcuda.so.1 
> (0x00007efbfadd7000)
>       libstdc++.so.6 => 
> /home/antoine/miniconda3/envs/pyarrow/lib/libstdc++.so.6 (0x00007efbfac63000)
>       libgcc_s.so.1 => 
> /home/antoine/miniconda3/envs/pyarrow/lib/libgcc_s.so.1 (0x00007efbff507000)
>       libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007efbfa872000)
>       /lib64/ld-linux-x86-64.so.2 (0x00007efbff4d7000)
>       libbz2.so.1.0 => /lib/x86_64-linux-gnu/libbz2.so.1.0 
> (0x00007efbfa662000)
>       liblz4.so.1 => /usr/lib/x86_64-linux-gnu/liblz4.so.1 
> (0x00007efbfa446000)
>       libsnappy.so.1 => /usr/lib/x86_64-linux-gnu/libsnappy.so.1 
> (0x00007efbfa23e000)
>       libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007efbfa021000)
>       libzstd.so.1 => /usr/lib/x86_64-linux-gnu/libzstd.so.1 
> (0x00007efbf9da6000)
>       libboost_filesystem.so.1.68.0 => not found
>       libboost_system.so.1.68.0 => not found
>       libcurl.so.4 => 
> /home/antoine/miniconda3/envs/pyarrow/lib/./libcurl.so.4 (0x00007efbf9d20000)
>       libnvidia-fatbinaryloader.so.390.116 => 
> /usr/lib/x86_64-linux-gnu/libnvidia-fatbinaryloader.so.390.116 
> (0x00007efbf9ad4000)
>       libssh2.so.1 => 
> /home/antoine/miniconda3/envs/pyarrow/lib/././libssh2.so.1 
> (0x00007efbf9aa1000)
>       libgssapi_krb5.so.2 => 
> /home/antoine/miniconda3/envs/pyarrow/lib/././libgssapi_krb5.so.2 
> (0x00007efbf9a52000)
>       libkrb5.so.3 => 
> /home/antoine/miniconda3/envs/pyarrow/lib/././libkrb5.so.3 
> (0x00007efbf997b000)
>       libk5crypto.so.3 => 
> /home/antoine/miniconda3/envs/pyarrow/lib/././libk5crypto.so.3 
> (0x00007efbf995c000)
>       libcom_err.so.3 => 
> /home/antoine/miniconda3/envs/pyarrow/lib/././libcom_err.so.3 
> (0x00007efbf9956000)
>       libkrb5support.so.0 => 
> /home/antoine/miniconda3/envs/pyarrow/lib/./././libkrb5support.so.0 
> (0x00007efbf9948000)
>       libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2 
> (0x00007efbf972d000)
> {code}
> Other libraries in the same directory are found, so I don't know what's 
> happening here.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to