You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Kevin Crouse (Jira)" <ji...@apache.org> on 2022/06/01 13:29:00 UTC

[jira] [Commented] (ARROW-16678) [R] Cannot install fresh Arrow 8.0.0 on Ubuntu 22.04 with "NOT_CRAN" = TRUE

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

Kevin Crouse commented on ARROW-16678:
--------------------------------------

This worked. I also spun up a new instance and started with a clean R on 22.04 and was able to install.

Thanks!

 

> [R] Cannot install fresh Arrow 8.0.0 on Ubuntu 22.04 with "NOT_CRAN" = TRUE
> ---------------------------------------------------------------------------
>
>                 Key: ARROW-16678
>                 URL: https://issues.apache.org/jira/browse/ARROW-16678
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: R
>    Affects Versions: 8.0.0
>         Environment: Ubuntu 22.04, 
> R 4.1.2
> On AWS
>            Reporter: Kevin Crouse
>            Assignee: Jacob Wujciak-Jens
>            Priority: Critical
>             Fix For: 9.0.0
>
>
> Trying to install Arrow 8.0 in R in the following way compiles successfully but fails to load:
> {code:java}
> Sys.setenv("NOT_CRAN" = TRUE)
> install.packages("arrow") {code}
> Output at failure:
> {code:java}
> installing to /usr/local/lib/R/site-library/00LOCK-arrow/00new/arrow/libs
> ** R
> ** inst
> ** byte-compile and prepare package for lazy loading
> ** help
> *** installing help indices
> ** building package indices
> ** installing vignettes
> ** 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 '/usr/local/lib/R/site-library/00LOCK-arrow/00new/arrow/libs/arrow.so':
>   /usr/local/lib/R/site-library/00LOCK-arrow/00new/arrow/libs/arrow.so: undefined symbol: EVP_MD_size
> Error: loading failed {code}
> This is a freshly created Ubuntu 22.04 instance created on AWS.
> Looks like EVP_MD_size may be related to openssl. The libssl3, libssl-dev, and libcrypt-dev apt packages are all installed.
> Alternate methods to install Arrow seem to succeed. In particular, this worked:
> install.packages("arrow", repos = "https://packagemanager.rstudio.com/all/__linux__/jammy/latest")
> So, I'm not sure how serious the issue is, but it's notable since the failing method above is the recommended way to install the package.
> {{}}



--
This message was sent by Atlassian Jira
(v8.20.7#820007)