[
https://issues.apache.org/jira/browse/ARROW-8611?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17094910#comment-17094910
]
Neal Richardson commented on ARROW-8611:
----------------------------------------
Glad the binary worked for you. For future reference, if you don't want to use
whatever version of thrift you have on your system when you install arrow, you
can set {{EXTRA_CMAKE_FLAGS="-DThrift_SOURCE=BUNDLED"}} (sadly, case sensitive)
and the Arrow C++ build will build thrift itself.
> [R] Can't install arrow 0.17 on Ubuntu 18.04 R 3.6.3
> ----------------------------------------------------
>
> Key: ARROW-8611
> URL: https://issues.apache.org/jira/browse/ARROW-8611
> Project: Apache Arrow
> Issue Type: Improvement
> Reporter: Zhuo Jia Dai
> Priority: Major
>
> This is the error I get when I try to install it. How do I provide more info
> to help you diagnose? Seems to be an issue with Thrift which I have built on
> my machine.
>
> How do I remove thrift and install it?
>
> "Unable to locate package libthrift-dev " when I try `sudo apt install
> libthrift-dev`
>
> {quote}
> ** testing if installed package can be loaded from temporary location
> Error: package or namespace load failed for ‘arrow’ in dyn.load(file, DLLpath
> = DLLpath, ...):
> unable to load shared object
> '/home/xiaodai/R/x86_64-pc-linux-gnu-library/3.6/00LOCK-arrow/00new/arrow/libs/arrow.so':
>
> /home/xiaodai/R/x86_64-pc-linux-gnu-library/3.6/00LOCK-arrow/00new/arrow/libs/arrow.so:
> undefined symbol: _ZTIN6apache6thrift8protocol9TProtocolE
> Error: loading failed
> Execution halted
> ERROR: loading failed
> * removing ‘/home/xiaodai/R/x86_64-pc-linux-gnu-library/3.6/arrow’
> * restoring previous ‘/home/xiaodai/R/x86_64-pc-linux-gnu-library/3.6/arrow’
> The downloaded source packages are in
> ‘/tmp/RtmpUF6P1q/downloaded_packages’
> Warning message:
> In install.packages("arrow") :
> installation of package ‘arrow’ had non-zero exit status
> {quote}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)