[ https://issues.apache.org/jira/browse/ARROW-2465?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16442289#comment-16442289 ]
ASF GitHub Bot commented on ARROW-2465: --------------------------------------- xhochy closed pull request #1901: ARROW-2465: [Plasma/GPU] Preserve plasma_store rpath URL: https://github.com/apache/arrow/pull/1901 This is a PR merged from a forked repository. As GitHub hides the original diff on merge, it is displayed below for the sake of provenance: As this is a foreign pull request (from a fork), the diff is supplied below (as it won't show otherwise due to GitHub magic): diff --git a/cpp/src/plasma/CMakeLists.txt b/cpp/src/plasma/CMakeLists.txt index bc00f98067..31c007f87c 100644 --- a/cpp/src/plasma/CMakeLists.txt +++ b/cpp/src/plasma/CMakeLists.txt @@ -147,6 +147,7 @@ install(FILES DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/plasma") # Plasma store +set_target_properties(plasma_store PROPERTIES INSTALL_RPATH_USE_LINK_PATH TRUE) install(TARGETS plasma_store DESTINATION ${CMAKE_INSTALL_BINDIR}) # pkg-config support ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org > [Plasma] plasma_store fails to find libarrow_gpu.so > --------------------------------------------------- > > Key: ARROW-2465 > URL: https://issues.apache.org/jira/browse/ARROW-2465 > Project: Apache Arrow > Issue Type: Bug > Components: GPU, Plasma (C++) > Affects Versions: 0.9.0 > Reporter: Antoine Pitrou > Priority: Major > Labels: pull-request-available > > After install, I get the following: > {code:bash} > $ which plasma_store > /home/antoine/miniconda3/envs/pyarrow/bin/plasma_store > $ plasma_store > plasma_store: error while loading shared libraries: libarrow_gpu.so.0: cannot > open shared object file: No such file or directory > $ ldd `which plasma_store` > linux-vdso.so.1 => (0x00007ffe7bdf0000) > libarrow_gpu.so.0 => not found > libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 > (0x00007f5d81676000) > libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 > (0x00007f5d812ee000) > libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f5d80fe5000) > libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 > (0x00007f5d80dce000) > libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f5d80a04000) > /lib64/ld-linux-x86-64.so.2 (0x00007f5d81893000) > {code} > Note that {{libarrow_gpu.so}} is installed in > {{/home/antoine/miniconda3/envs/pyarrow/lib/}} > There are probably two solutions: > * link statically with the Arrow GPU libs (I wonder why this isn't done like > it is for the Arrow libs) > * or make the rpath correct -- This message was sent by Atlassian JIRA (v7.6.3#76005)