[ https://issues.apache.org/jira/browse/ARROW-13505?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17390962#comment-17390962 ]
Amit Ramon commented on ARROW-13505: ------------------------------------ Hi Nic, I'm still having problems, but I found a workaround that allows me to work, so here is a summary of the current status. * I managed to install Arrow in a Debian docker container without any problem; * I managed to install Arrow on another Debian machine (another laptop), but I had to update all system packages and all R packages; before that the installation of Arrow had failed; * On my main laptop, which also runs Debian, I'm still having problems installing Arrow. After updating all system packages and all R packages, it seems to be better - `install.packages("arrow")` manage to complete, but complains that it cannot find C++ libraries. I then ran `install_arrowl()` but it failed with the ld error I reported above. Now `arrow_info()` shows {code:java} > arrow::arrow_info() Arrow package version: 5.0.0 Arrow C++ library not available. See https://arrow.apache.org/docs/r/articles/install.html for troubleshooting. {code} The link suggest to set LIBARROW_BINARY=true, I did that and tried `install_arrow()` again, and it again failed. I also tried other combinations for LIBARROW_BINARY and LIBARROW_MINIMAL but it didn't help The workaround I finally found was to copy the arrow installation from the docker container to my laptop R/site-library directory. Both are running the same version of Debian, and that way Arrow is now working on my laptop, with all the capabilities I need. This is not perfect, but for now it solves my practical problem. For now I'll stop trying to solve the problem of installing arrow directly on my system. However, if you want to investigate this further and I can help in some way, I'd be glad to do that. Thanks again for your efforts, Amit > [R] Installation of Arrow fails on Debian Gnu/Linux > --------------------------------------------------- > > Key: ARROW-13505 > URL: https://issues.apache.org/jira/browse/ARROW-13505 > Project: Apache Arrow > Issue Type: Bug > Components: C++, GLib, R > Affects Versions: 5.0.0 > Environment: Debian Gnu/Linux 11 > R 4.0.4 > Reporter: Amit Ramon > Priority: Major > Labels: Linux, debian, r > Attachments: arrow-1.log > > > {{I'm trying to install Arrow on Debian Gnu/Linux using R 4.0.4. Arrow is not > installed, and I tried both `install.packages("arrow")` and the script > provided by the Arrow project that contains the `install_arrow()` function.}} > {{The installation always fail at some point after lots of compilation with a > message}} > {code:java} > /usr/bin/ld: cannot find > /home/amit/tmp/Rtmp54dYjQ/R.INSTALL49a67e7832c7/arrow/libarrow/arrow-5.0.0/lib: > file format not recognized{code} > {{I've tried calling the `install_arrow()` function in the following ways:}} > > {code:java} > install_arrow(binary = TRUE, minimal = TRUE, verbose = TRUE) > install_arrow(binary = FALSE, minimal = TRUE, verbose = TRUE) {code} > {{I also try to install the Arrow binaries (using the command in > [https://arrow.apache.org/install/|}}{{https://arrow.apache.org/install/}}{{]) > and then running the above commands again but got the same error.}} > {{I'm attaching the log from running the first command above.}} > > > > -- This message was sent by Atlassian Jira (v8.3.4#803005)