kou commented on issue #35577:
URL: https://github.com/apache/arrow/issues/35577#issuecomment-1555269560

   If you prefer rpath, you need to set rpath to Apache Arrow C++ (not Apache 
Arrow R) by `cmake -DCMAKE_INSTALL_RPATH=${CONDA_PREFIX}/lib ...` as mentioned 
in https://github.com/apache/arrow/issues/35577#issuecomment-1546414064 .
   
   > It is strange that this works for the other links, `-larrow_acero 
-larrow_dataset -lparquet -larrow` is included in the linker line by default, 
but `-lthrift` is missing.
   
   It's not strange. `libtrhift.so` is used by `libparquet.so` but it's not 
used directly by `arrow.so` (shared library for R, not `libarrow.so` provided 
by Apache Arrow C++).
   So we don't need `-ltrhfit` to build `arrow.so` (shared library for R, not 
`libarrow.so` provided by Apache Arrow C++).
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to