Your instructions do not include “make install” when building the C++
library which will cause this problem. Can you provide a full build log if
you are actually installing the C++ library and the R build cannot find it
for some reason?

Thanks

On Sun, Dec 1, 2019 at 4:55 PM Christian Klar <ck...@tetragoninv.com> wrote:

> Hi –
>
>
>
> (Resending because I was not subscribed to the mailing list prior.)
>
>
>
> I’m trying to install arrow on a docker image with R on it but R gives me
> always the
>
>
>
> “error in io___ReadableFile__Open(clean_path_abs(path)) :
>
>   Cannot call io___ReadableFile__Open(). Please use arrow::install_arrow()
> to install required runtime libraries.”
>
>
>
> error.
>
>
>
>
>
> Below the details:
>
>
>
>
>
> 1.       The docker image.
>
>
>
> FROM rocker/tidyverse
>
> ENV DEBIAN_FRONTEND noninteractive
>
> RUN apt-get install -y -V \
>
>      build-essential \
>
>      cmake \
>
>      libboost-filesystem-dev \
>
>      libboost-regex-dev \
>
>      libboost-system-dev
>
> RUN apt update && \
>
>   apt install -y -V \
>
>     autoconf-archive \
>
>     gtk-doc-tools \
>
>     libgirepository1.0-dev \
>
>     libglib2.0-doc \
>
>     libtool \
>
>     pkg-config && \
>
>   apt clean && \
>
>   rm -rf /var/lib/apt/lists/*
>
>
>
>
>
> 2.       Then within an interactive session (interactive so that I can
> debug easier) I run the actual cmake (I downloaded the arrow package
> manually). This is straight from
> https://arrow.apache.org/docs/developers/cpp.html.
>
>
>
> cd arrow/cpp
>
> mkdir release
>
> cd release
>
> cmake ..
>
> make
>
>
>
>
>
> 3.       After number 2 finishing successfully I start R and try
> “install.packages(‘arrow’)” which succeeds (builds it from source), but
> then I get back to the error above.
>
>
>
> 4.       install_arrow() just directs me to the link in number 2.
>
>
>
>
>
>
>
> I have the feeling the R package installation can’t find the path with the
> arrow installation, however I can’t find any environment variable that
> would handle this.
>
>
>
> Please let us know. At this point we spent many hours trying to get it to
> work – but this has to be an issue people have come across.
>
>
>
> I’m not using conda so this (the only thing comparable that I could find)
> is not applicable to me:
>
> https://github.com/apache/arrow/issues/4399
>
>
>
> Happy to provide further details. I also attached the full console log.
>
>
>
> Christian
>
>
>
>
>
> Christian Klar
> TFG Asset Management
> Tetragon Financial Management
> 399 Park Avenue, 22nd Floor
> <https://www.google.com/maps/search/399+Park+Avenue,+22nd+Floor+%7C+New+York+,+NY+10022+%7C+United+States?entry=gmail&source=g>
>  |
> <https://www.google.com/maps/search/399+Park+Avenue,+22nd+Floor+%7C+New+York+,+NY+10022+%7C+United+States?entry=gmail&source=g>
>  New York
> <https://www.google.com/maps/search/399+Park+Avenue,+22nd+Floor+%7C+New+York+,+NY+10022+%7C+United+States?entry=gmail&source=g>
> , NY
> <https://www.google.com/maps/search/399+Park+Avenue,+22nd+Floor+%7C+New+York+,+NY+10022+%7C+United+States?entry=gmail&source=g>
>  10022
> <https://www.google.com/maps/search/399+Park+Avenue,+22nd+Floor+%7C+New+York+,+NY+10022+%7C+United+States?entry=gmail&source=g>
> |
> <https://www.google.com/maps/search/399+Park+Avenue,+22nd+Floor+%7C+New+York+,+NY+10022+%7C+United+States?entry=gmail&source=g>
>  United States
> <https://www.google.com/maps/search/399+Park+Avenue,+22nd+Floor+%7C+New+York+,+NY+10022+%7C+United+States?entry=gmail&source=g>
> Direct: +1 212 359 7369 | Main: +1 212 359 7300 | Mobile: +1 607 216 5045
> ck...@tetragoninv.com
> www.tetragoninv.com
>
> This communication and all or some of the information contained therein
> may be confidential. If you have received this communication in error,
> <https://www.google.com/maps/search/399+Park+Avenue,+22nd+Floor+%7C+New+York+,+NY+10022+%7C+United+States?entry=gmail&source=g>
> please destroy all electronic and paper copies and notify the sender
> immediately. Unless specifically indicated, this communication is not a
> confirmation, an offer to sell or solicitation of any offer to buy any
> financial product, or an official statement of Tetragon Financial Group or
> its affiliates. TFG Asset Management L.P. and Tetragon Financial Management
> LP are registered as investment advisers under the U.S. Investment Advisers
> Act of 1940.
>
>
>
>

Reply via email to