paleolimbot commented on issue #39206:
URL: https://github.com/apache/arrow/issues/39206#issuecomment-1854552661

   For the original source build in the post, I see you are building from R 
installed via Homebrew. I don't think we test or support that...perhaps R 
installed from the official CRAN page will work? (Even though we don't test or 
support installation via Homebrew, this error may point to something else that 
is incorrect about our installation process on MacOS, so thank you for 
reporting!). I suspect that in your case the linked libraries are different 
than those by CRAN-provided R, so I'm not sure our precompiled binaries will 
work (although a source build should).
   
   For the `install.packages()` error reported by @psadil, that looks like a 
normal R installation and the missing symbol is from Arrow itself. Normally 
that type of error occurs when Arrow R and Arrow C++ were built against 
different versions of Arrow headers.
   
   On one of my MacOS M1s I get a somewhat concerning:
   
   ```
   > install.packages("arrow")
   trying URL 
'https://cran.rstudio.com/bin/macosx/big-sur-arm64/contrib/4.3/arrow_14.0.0.2.tgz'
   Content type 'application/x-gzip' length 27212023 bytes (26.0 MB)
   ==================================================
   downloaded 26.0 MB
   
   
   The downloaded binary packages are in
        
/var/folders/gt/l87wjg8s7312zs9s7c1fgs900000gn/T//RtmprpIGyO/downloaded_packages
   > library(arrow)
   
   Attaching package: ‘arrow’
   
   The following object is masked from ‘package:utils’:
   
       timestamp
   
   Warning message:
   In MemoryPool__default() : internal error -3 in R_decompress1
   > arrow::arrow_info()
   Error in MemoryPool__default() : 
     lazy-load database 
'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/arrow/R/arrow.rdb'
 is corrupt
   In addition: Warning messages:
   1: In MemoryPool__default() : restarting interrupted promise evaluation
   2: In MemoryPool__default() : internal error -3 in R_decompress1
   ```
   
   On my other MacOS M1, I don't have any issues. Those are both on R 4.3.1 
(i.e., "release").


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to