[
https://issues.apache.org/jira/browse/ARROW-12742?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17342794#comment-17342794
]
Jonathan Keane edited comment on ARROW-12742 at 5/11/21, 6:33 PM:
------------------------------------------------------------------
Hello, thank you for opening a Jira up for this. Like I mentioned at
[https://stackoverflow.com/questions/67478101/] I believe there is a libssl
mismatch between RSPM and RStudio Cloud that is leading to this — we're in
touch with the folks at RStudio to get that resolved. That's leading to the
error \{{libcrypto.so.1.0.0: cannot open shared object file: No such file or
directory}} that you're seeing.
In the mean time, we'll need to find a way to get a functioning arrow install
for you. There are two things that might work for you:
* Install using an Arrow-built binary of the arrow library. To do this, run
the following: {{Sys.setenv(LIBARROW_BINARY = TRUE); install.packages('arrow',
type = "source")}}
* Install the R package and build arrow from source. To do this, run the
following: {{Sys.setenv(LIBARROW_MINIMAL = FALSE); install.packages('arrow',
type = "source")}} Though based [on your comment on that SO
issue|https://stackoverflow.com/questions/67478101/how-do-i-install-the-arrow-package-on-rstudio-cloud-with-lz4-support#comment119292612_67478101]
it looks like building from source didn't work for you — if you want to
diagnose what's going on there, the suggestion in the error (Re-run with
ARROW_R_DEV=true) is the way to see more output as it's running. But I suspect
that you might be running into a resource exhaustion while building the arrow
library (not totally surprising since the basic RStudio Cloud session only has
1gb of ram), but the verbose output would tell us the answer to that.
For either of these, if you run into trouble, please also set
{{Sys.setenv(ARROW_R_DEV = TRUE)}} before installing and post the full output
here so we can help diagnose what's going on.
was (Author: jonkeane):
Hello, thank you for opening a Jira up for this. Like I mentioned at
https://stackoverflow.com/questions/67478101/ I believe there is a libssl
mismatch between RSPM and RStudio Cloud that is leading to this — we're in
touch with the folks at RStudio to get that resolved. That's leading to the
error `libcrypto.so.1.0.0: cannot open shared object file: No such file or
directory` that you're seeing.
In the mean time, we'll need to find a way to get a functioning arrow install
for you. There are two things that might work for you:
* Install using an Arrow-built binary of the arrow library. To do this, run the
following: {{Sys.setenv(LIBARROW_BINARY = TRUE); install.packages('arrow', type
= "source")}}
* Install the R package and build arrow from source. To do this, run the
following: {{Sys.setenv(LIBARROW_MINIMAL = FALSE); install.packages('arrow',
type = "source")}} Though based [on your comment on that SO
issue|https://stackoverflow.com/questions/67478101/how-do-i-install-the-arrow-package-on-rstudio-cloud-with-lz4-support#comment119292612_67478101]
it looks like building from source didn't work for you — if you want to
diagnose what's going on there, the suggestion in the error (Re-run with
ARROW_R_DEV=true) is the way to see more output as it's running. But I suspect
that you might be running into a resource exhaustion while building the arrow
library (not totally surprising since the basic RStudio Cloud session only has
1gb of ram), but the verbose output would tell us the answer to that.
For either of these, if you run into trouble, please also set
{{Sys.setenv(ARROW_R_DEV = TRUE)}} before installing and post the full output
here so we can help diagnose what's going on.
> RStudio Cloud cannot install with lz4 support
> ---------------------------------------------
>
> Key: ARROW-12742
> URL: https://issues.apache.org/jira/browse/ARROW-12742
> Project: Apache Arrow
> Issue Type: Wish
> Components: R
> Affects Versions: 4.0.0
> Environment: RStudio Cloud
> Reporter: Cullen Molitor
> Priority: Trivial
> Labels: install, newbie
>
> I cannot install arrow in Rstudio Cloud with lz4 support. I have tried many
> things includiong instyalling from RSPM using
> {code:java}
> options(repos = c(RPSM =
> "https://packagemanager.rstudio.com/all/__linux__/xenial/latest")){code}
> and I have also tried installing with
> {code:java}
> Sys.setenv(LIBARROW_MINIMAL = FALSE); install.packages("arrow", type =
> "source")
> {code}
> Nothing seems to work and I get this error when trying to load after these
> installs
> {code:java}
> > library(arrow)
> Error: package or namespace load failed for ‘arrow’ in dyn.load(file, DLLpath
> = DLLpath, ...):
> unable to load shared object
> '/home/rstudio-user/R/x86_64-pc-linux-gnu-library/4.0/arrow/libs/arrow.so':
> libcrypto.so.1.0.0: cannot open shared object file: No such file or
> directory
> {code}
> I need lz4 support to open feather files in Rstudio Cloud
--
This message was sent by Atlassian Jira
(v8.3.4#803005)