apache / arrow

Apache Arrow is the universal columnar format and multi-language toolbox for fast data interchange and in-memory analytics
https://arrow.apache.org/
Apache License 2.0
14.56k stars 3.54k forks source link

[R] Error: package or namespace load failed for ‘arrow’ in dyn.load(file, DLLpath = DLLpath, ...) #34061

Closed cecelg-um closed 1 year ago

cecelg-um commented 1 year ago

Describe the bug, including details regarding any error messages, version, and platform.

Hi there - I am trying to install arrow on my university HPC and get the following error.....

My problem seems to differ the other HPC issues (#13425 - https://github.com/apache/arrow/issues/13425#issue-1282287001).... any idea what the issue could be?

(base) [cxl1148@login4 ~]$ module load rstudio
(base) [cxl1148@login4 ~]$ R

R version 4.1.0 (2021-05-18) -- "Camp Pontanezen"
Copyright (C) 2021 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

  Natural language support but running in an English locale

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> Sys.setenv("ARROW_R_DEV" = TRUE)
> install.packages("arrow")
Installing package into ‘/nethome/cxl1148/R/x86_64-pc-linux-gnu-library/4.1’
(as ‘lib’ is unspecified)
--- Please select a CRAN mirror for use in this session ---
Secure CRAN mirrors

 1: 0-Cloud [https]
 2: Australia (Canberra) [https]
 3: Australia (Melbourne 1) [https]
 4: Australia (Melbourne 2) [https]
 5: Australia (Perth) [https]
 6: Austria [https]
 7: Belgium (Brussels) [https]
 8: Brazil (PR) [https]
 9: Brazil (RJ) [https]
10: Brazil (SP 1) [https]
11: Brazil (SP 2) [https]
12: Bulgaria [https]
13: Canada (MB) [https]
14: Canada (ON 3) [https]
15: Chile (Santiago) [https]
16: China (Beijing 2) [https]
17: China (Beijing 3) [https]
18: China (Hefei) [https]
19: China (Hong Kong) [https]
20: China (Guangzhou) [https]
21: China (Jinan) [https]
22: China (Lanzhou) [https]
23: China (Nanjing) [https]
24: China (Shanghai 2) [https]
25: China (Shenzhen) [https]
26: Colombia (Cali) [https]
27: Costa Rica [https]
28: Cyprus [https]
29: Czech Republic [https]
30: Denmark [https]
31: East Asia [https]
32: Ecuador (Cuenca) [https]
33: France (Lyon 1) [https]
34: France (Lyon 2) [https]
35: France (Marseille) [https]
36: France (Paris 1) [https]
37: Germany (Erlangen) [https]
38: Germany (Leipzig) [https]
39: Germany (Göttingen) [https]
40: Germany (Münster) [https]
41: Germany (Regensburg) [https]
42: Greece [https]
43: Hungary [https]
44: Iceland [https]
45: India [https]
46: Indonesia (Banda Aceh) [https]
47: Iran (Mashhad) [https]
48: Italy (Milano) [https]
49: Italy (Padua) [https]
50: Japan (Tokyo) [https]
51: Japan (Yonezawa) [https]
52: Korea (Gyeongsan-si) [https]
53: Korea (Ulsan) [https]
54: Malaysia [https]
55: Mexico (Mexico City) [https]
56: Mexico (Texcoco) [https]
57: Morocco [https]
58: Netherlands (Dronten) [https]
59: New Zealand [https]
60: Norway [https]
61: South Africa (Johannesburg) [https]
62: Spain (A Coruña) [https]
63: Spain (Madrid) [https]
64: Sweden (Umeå) [https]
65: Switzerland (Zurich 1) [https]
66: Taiwan (Taipei) [https]
67: Turkey (Denizli) [https]
68: Turkey (Istanbul) [https]
69: Turkey (Mersin) [https]
70: UK (Bristol) [https]
71: UK (London 1) [https]
72: USA (IA) [https]
73: USA (MI) [https]
74: USA (MO) [https]
75: USA (OH) [https]
76: USA (OR) [https]
77: USA (TN) [https]
78: USA (TX 1) [https]
79: United Arab Emirates [https]
80: Uruguay [https]
81: (other mirrors)

Selection: 1
trying URL 'https://cloud.r-project.org/src/contrib/arrow_10.0.1.tar.gz'
Content type 'application/x-gzip' length 4845316 bytes (4.6 MB)
==================================================
downloaded 4.6 MB

* installing *source* package ‘arrow’ ...
** package ‘arrow’ successfully unpacked and MD5 sums checked
** using staged installation
*** Checking glibc version
trying URL 'https://apache.jfrog.io/artifactory/arrow/r/10.0.1/libarrow/bin/centos-7/arrow-10.0.1.zip'
Content type 'application/zip' length 31886026 bytes (30.4 MB)
==================================================
downloaded 30.4 MB

*** Successfully retrieved C++ binaries (centos-7)
PKG_CFLAGS=-I/tmp/RtmpXAzexN/R.INSTALL52c8286a0f8d/arrow/libarrow/arrow-10.0.1/include  -DARROW_R_WITH_PARQUET -DARROW_R_WITH_DATASET -DARROW_R_WITH_JSON -DARROW_R_WITH_S3 -DARROW_R_WITH_GCS
PKG_LIBS=-L/tmp/RtmpXAzexN/R.INSTALL52c8286a0f8d/arrow/libarrow/arrow-10.0.1/lib -larrow_dataset -lparquet -pthread -L/arrow/r/libarrow/dist/lib -larrow -larrow_bundled_dependencies   -larrow -larrow_bundled_dependencies -larrow_dataset -lparquet -lssl -lcrypto -lcurl -lssl -lcrypto -lcurl
** libs
/share/builds/spack-compilers/opt/spack/linux-centos7-sandybridge/gcc-8.3.1/gcc-8.3.0-mnwujmnexs6zvenuhlu5m4io2om4sg55/bin/g++ -std=gnu++17 -I"/share/builds/spack/opt/spack/linux-centos7-sandybridge/gcc-8.3.0/r-4.1.0-wsuhybx36dpwkrryfjhg3kph2ytyplj7/rlib/R/include" -DNDEBUG -I/tmp/RtmpXAzexN/R.INSTALL52c8286a0f8d/arrow/libarrow/arrow-10.0.1/include  -DARROW_R_WITH_PARQUET -DARROW_R_WITH_DATASET -DARROW_R_WITH_JSON -DARROW_R_WITH_S3 -DARROW_R_WITH_GCS -I'/nethome/cxl1148/R/x86_64-pc-linux-gnu-library/4.1/cpp11/include' -I/usr/local/include   -fpic  -g -O2  -c RTasks.cpp -o RTasks.o
/share/builds/spack-compilers/opt/spack/linux-centos7-sandybridge/gcc-8.3.1/gcc-8.3.0-mnwujmnexs6zvenuhlu5m4io2om4sg55/bin/g++ -std=gnu++17 -I"/share/builds/spack/opt/spack/linux-centos7-sandybridge/gcc-8.3.0/r-4.1.0-wsuhybx36dpwkrryfjhg3kph2ytyplj7/rlib/R/include" -DNDEBUG -I/tmp/RtmpXAzexN/R.INSTALL52c8286a0f8d/arrow/libarrow/arrow-10.0.1/include  -DARROW_R_WITH_PARQUET -DARROW_R_WITH_DATASET -DARROW_R_WITH_JSON -DARROW_R_WITH_S3 -DARROW_R_WITH_GCS -I'/nethome/cxl1148/R/x86_64-pc-linux-gnu-library/4.1/cpp11/include' -I/usr/local/include   -fpic  -g -O2  -c altrep.cpp -o altrep.o
/share/builds/spack-compilers/opt/spack/linux-centos7-sandybridge/gcc-8.3.1/gcc-8.3.0-mnwujmnexs6zvenuhlu5m4io2om4sg55/bin/g++ -std=gnu++17 -I"/share/builds/spack/opt/spack/linux-centos7-sandybridge/gcc-8.3.0/r-4.1.0-wsuhybx36dpwkrryfjhg3kph2ytyplj7/rlib/R/include" -DNDEBUG -I/tmp/RtmpXAzexN/R.INSTALL52c8286a0f8d/arrow/libarrow/arrow-10.0.1/include  -DARROW_R_WITH_PARQUET -DARROW_R_WITH_DATASET -DARROW_R_WITH_JSON -DARROW_R_WITH_S3 -DARROW_R_WITH_GCS -I'/nethome/cxl1148/R/x86_64-pc-linux-gnu-library/4.1/cpp11/include' -I/usr/local/include   -fpic  -g -O2  -c array.cpp -o array.o
/share/builds/spack-compilers/opt/spack/linux-centos7-sandybridge/gcc-8.3.1/gcc-8.3.0-mnwujmnexs6zvenuhlu5m4io2om4sg55/bin/g++ -std=gnu++17 -I"/share/builds/spack/opt/spack/linux-centos7-sandybridge/gcc-8.3.0/r-4.1.0-wsuhybx36dpwkrryfjhg3kph2ytyplj7/rlib/R/include" -DNDEBUG -I/tmp/RtmpXAzexN/R.INSTALL52c8286a0f8d/arrow/libarrow/arrow-10.0.1/include  -DARROW_R_WITH_PARQUET -DARROW_R_WITH_DATASET -DARROW_R_WITH_JSON -DARROW_R_WITH_S3 -DARROW_R_WITH_GCS -I'/nethome/cxl1148/R/x86_64-pc-linux-gnu-library/4.1/cpp11/include' -I/usr/local/include   -fpic  -g -O2  -c array_to_vector.cpp -o array_to_vector.o
/share/builds/spack-compilers/opt/spack/linux-centos7-sandybridge/gcc-8.3.1/gcc-8.3.0-mnwujmnexs6zvenuhlu5m4io2om4sg55/bin/g++ -std=gnu++17 -I"/share/builds/spack/opt/spack/linux-centos7-sandybridge/gcc-8.3.0/r-4.1.0-wsuhybx36dpwkrryfjhg3kph2ytyplj7/rlib/R/include" -DNDEBUG -I/tmp/RtmpXAzexN/R.INSTALL52c8286a0f8d/arrow/libarrow/arrow-10.0.1/include  -DARROW_R_WITH_PARQUET -DARROW_R_WITH_DATASET -DARROW_R_WITH_JSON -DARROW_R_WITH_S3 -DARROW_R_WITH_GCS -I'/nethome/cxl1148/R/x86_64-pc-linux-gnu-library/4.1/cpp11/include' -I/usr/local/include   -fpic  -g -O2  -c arraydata.cpp -o arraydata.o
/share/builds/spack-compilers/opt/spack/linux-centos7-sandybridge/gcc-8.3.1/gcc-8.3.0-mnwujmnexs6zvenuhlu5m4io2om4sg55/bin/g++ -std=gnu++17 -I"/share/builds/spack/opt/spack/linux-centos7-sandybridge/gcc-8.3.0/r-4.1.0-wsuhybx36dpwkrryfjhg3kph2ytyplj7/rlib/R/include" -DNDEBUG -I/tmp/RtmpXAzexN/R.INSTALL52c8286a0f8d/arrow/libarrow/arrow-10.0.1/include  -DARROW_R_WITH_PARQUET -DARROW_R_WITH_DATASET -DARROW_R_WITH_JSON -DARROW_R_WITH_S3 -DARROW_R_WITH_GCS -I'/nethome/cxl1148/R/x86_64-pc-linux-gnu-library/4.1/cpp11/include' -I/usr/local/include   -fpic  -g -O2  -c arrowExports.cpp -o arrowExports.o
/share/builds/spack-compilers/opt/spack/linux-centos7-sandybridge/gcc-8.3.1/gcc-8.3.0-mnwujmnexs6zvenuhlu5m4io2om4sg55/bin/g++ -std=gnu++17 -I"/share/builds/spack/opt/spack/linux-centos7-sandybridge/gcc-8.3.0/r-4.1.0-wsuhybx36dpwkrryfjhg3kph2ytyplj7/rlib/R/include" -DNDEBUG -I/tmp/RtmpXAzexN/R.INSTALL52c8286a0f8d/arrow/libarrow/arrow-10.0.1/include  -DARROW_R_WITH_PARQUET -DARROW_R_WITH_DATASET -DARROW_R_WITH_JSON -DARROW_R_WITH_S3 -DARROW_R_WITH_GCS -I'/nethome/cxl1148/R/x86_64-pc-linux-gnu-library/4.1/cpp11/include' -I/usr/local/include   -fpic  -g -O2  -c bridge.cpp -o bridge.o
/share/builds/spack-compilers/opt/spack/linux-centos7-sandybridge/gcc-8.3.1/gcc-8.3.0-mnwujmnexs6zvenuhlu5m4io2om4sg55/bin/g++ -std=gnu++17 -I"/share/builds/spack/opt/spack/linux-centos7-sandybridge/gcc-8.3.0/r-4.1.0-wsuhybx36dpwkrryfjhg3kph2ytyplj7/rlib/R/include" -DNDEBUG -I/tmp/RtmpXAzexN/R.INSTALL52c8286a0f8d/arrow/libarrow/arrow-10.0.1/include  -DARROW_R_WITH_PARQUET -DARROW_R_WITH_DATASET -DARROW_R_WITH_JSON -DARROW_R_WITH_S3 -DARROW_R_WITH_GCS -I'/nethome/cxl1148/R/x86_64-pc-linux-gnu-library/4.1/cpp11/include' -I/usr/local/include   -fpic  -g -O2  -c buffer.cpp -o buffer.o
/share/builds/spack-compilers/opt/spack/linux-centos7-sandybridge/gcc-8.3.1/gcc-8.3.0-mnwujmnexs6zvenuhlu5m4io2om4sg55/bin/g++ -std=gnu++17 -I"/share/builds/spack/opt/spack/linux-centos7-sandybridge/gcc-8.3.0/r-4.1.0-wsuhybx36dpwkrryfjhg3kph2ytyplj7/rlib/R/include" -DNDEBUG -I/tmp/RtmpXAzexN/R.INSTALL52c8286a0f8d/arrow/libarrow/arrow-10.0.1/include  -DARROW_R_WITH_PARQUET -DARROW_R_WITH_DATASET -DARROW_R_WITH_JSON -DARROW_R_WITH_S3 -DARROW_R_WITH_GCS -I'/nethome/cxl1148/R/x86_64-pc-linux-gnu-library/4.1/cpp11/include' -I/usr/local/include   -fpic  -g -O2  -c chunkedarray.cpp -o chunkedarray.o
/share/builds/spack-compilers/opt/spack/linux-centos7-sandybridge/gcc-8.3.1/gcc-8.3.0-mnwujmnexs6zvenuhlu5m4io2om4sg55/bin/g++ -std=gnu++17 -I"/share/builds/spack/opt/spack/linux-centos7-sandybridge/gcc-8.3.0/r-4.1.0-wsuhybx36dpwkrryfjhg3kph2ytyplj7/rlib/R/include" -DNDEBUG -I/tmp/RtmpXAzexN/R.INSTALL52c8286a0f8d/arrow/libarrow/arrow-10.0.1/include  -DARROW_R_WITH_PARQUET -DARROW_R_WITH_DATASET -DARROW_R_WITH_JSON -DARROW_R_WITH_S3 -DARROW_R_WITH_GCS -I'/nethome/cxl1148/R/x86_64-pc-linux-gnu-library/4.1/cpp11/include' -I/usr/local/include   -fpic  -g -O2  -c compression.cpp -o compression.o
/share/builds/spack-compilers/opt/spack/linux-centos7-sandybridge/gcc-8.3.1/gcc-8.3.0-mnwujmnexs6zvenuhlu5m4io2om4sg55/bin/g++ -std=gnu++17 -I"/share/builds/spack/opt/spack/linux-centos7-sandybridge/gcc-8.3.0/r-4.1.0-wsuhybx36dpwkrryfjhg3kph2ytyplj7/rlib/R/include" -DNDEBUG -I/tmp/RtmpXAzexN/R.INSTALL52c8286a0f8d/arrow/libarrow/arrow-10.0.1/include  -DARROW_R_WITH_PARQUET -DARROW_R_WITH_DATASET -DARROW_R_WITH_JSON -DARROW_R_WITH_S3 -DARROW_R_WITH_GCS -I'/nethome/cxl1148/R/x86_64-pc-linux-gnu-library/4.1/cpp11/include' -I/usr/local/include   -fpic  -g -O2  -c compute-exec.cpp -o compute-exec.o
/share/builds/spack-compilers/opt/spack/linux-centos7-sandybridge/gcc-8.3.1/gcc-8.3.0-mnwujmnexs6zvenuhlu5m4io2om4sg55/bin/g++ -std=gnu++17 -I"/share/builds/spack/opt/spack/linux-centos7-sandybridge/gcc-8.3.0/r-4.1.0-wsuhybx36dpwkrryfjhg3kph2ytyplj7/rlib/R/include" -DNDEBUG -I/tmp/RtmpXAzexN/R.INSTALL52c8286a0f8d/arrow/libarrow/arrow-10.0.1/include  -DARROW_R_WITH_PARQUET -DARROW_R_WITH_DATASET -DARROW_R_WITH_JSON -DARROW_R_WITH_S3 -DARROW_R_WITH_GCS -I'/nethome/cxl1148/R/x86_64-pc-linux-gnu-library/4.1/cpp11/include' -I/usr/local/include   -fpic  -g -O2  -c compute.cpp -o compute.o
/share/builds/spack-compilers/opt/spack/linux-centos7-sandybridge/gcc-8.3.1/gcc-8.3.0-mnwujmnexs6zvenuhlu5m4io2om4sg55/bin/g++ -std=gnu++17 -I"/share/builds/spack/opt/spack/linux-centos7-sandybridge/gcc-8.3.0/r-4.1.0-wsuhybx36dpwkrryfjhg3kph2ytyplj7/rlib/R/include" -DNDEBUG -I/tmp/RtmpXAzexN/R.INSTALL52c8286a0f8d/arrow/libarrow/arrow-10.0.1/include  -DARROW_R_WITH_PARQUET -DARROW_R_WITH_DATASET -DARROW_R_WITH_JSON -DARROW_R_WITH_S3 -DARROW_R_WITH_GCS -I'/nethome/cxl1148/R/x86_64-pc-linux-gnu-library/4.1/cpp11/include' -I/usr/local/include   -fpic  -g -O2  -c config.cpp -o config.o
/share/builds/spack-compilers/opt/spack/linux-centos7-sandybridge/gcc-8.3.1/gcc-8.3.0-mnwujmnexs6zvenuhlu5m4io2om4sg55/bin/g++ -std=gnu++17 -I"/share/builds/spack/opt/spack/linux-centos7-sandybridge/gcc-8.3.0/r-4.1.0-wsuhybx36dpwkrryfjhg3kph2ytyplj7/rlib/R/include" -DNDEBUG -I/tmp/RtmpXAzexN/R.INSTALL52c8286a0f8d/arrow/libarrow/arrow-10.0.1/include  -DARROW_R_WITH_PARQUET -DARROW_R_WITH_DATASET -DARROW_R_WITH_JSON -DARROW_R_WITH_S3 -DARROW_R_WITH_GCS -I'/nethome/cxl1148/R/x86_64-pc-linux-gnu-library/4.1/cpp11/include' -I/usr/local/include   -fpic  -g -O2  -c csv.cpp -o csv.o
/share/builds/spack-compilers/opt/spack/linux-centos7-sandybridge/gcc-8.3.1/gcc-8.3.0-mnwujmnexs6zvenuhlu5m4io2om4sg55/bin/g++ -std=gnu++17 -I"/share/builds/spack/opt/spack/linux-centos7-sandybridge/gcc-8.3.0/r-4.1.0-wsuhybx36dpwkrryfjhg3kph2ytyplj7/rlib/R/include" -DNDEBUG -I/tmp/RtmpXAzexN/R.INSTALL52c8286a0f8d/arrow/libarrow/arrow-10.0.1/include  -DARROW_R_WITH_PARQUET -DARROW_R_WITH_DATASET -DARROW_R_WITH_JSON -DARROW_R_WITH_S3 -DARROW_R_WITH_GCS -I'/nethome/cxl1148/R/x86_64-pc-linux-gnu-library/4.1/cpp11/include' -I/usr/local/include   -fpic  -g -O2  -c dataset.cpp -o dataset.o
/share/builds/spack-compilers/opt/spack/linux-centos7-sandybridge/gcc-8.3.1/gcc-8.3.0-mnwujmnexs6zvenuhlu5m4io2om4sg55/bin/g++ -std=gnu++17 -I"/share/builds/spack/opt/spack/linux-centos7-sandybridge/gcc-8.3.0/r-4.1.0-wsuhybx36dpwkrryfjhg3kph2ytyplj7/rlib/R/include" -DNDEBUG -I/tmp/RtmpXAzexN/R.INSTALL52c8286a0f8d/arrow/libarrow/arrow-10.0.1/include  -DARROW_R_WITH_PARQUET -DARROW_R_WITH_DATASET -DARROW_R_WITH_JSON -DARROW_R_WITH_S3 -DARROW_R_WITH_GCS -I'/nethome/cxl1148/R/x86_64-pc-linux-gnu-library/4.1/cpp11/include' -I/usr/local/include   -fpic  -g -O2  -c datatype.cpp -o datatype.o
/share/builds/spack-compilers/opt/spack/linux-centos7-sandybridge/gcc-8.3.1/gcc-8.3.0-mnwujmnexs6zvenuhlu5m4io2om4sg55/bin/g++ -std=gnu++17 -I"/share/builds/spack/opt/spack/linux-centos7-sandybridge/gcc-8.3.0/r-4.1.0-wsuhybx36dpwkrryfjhg3kph2ytyplj7/rlib/R/include" -DNDEBUG -I/tmp/RtmpXAzexN/R.INSTALL52c8286a0f8d/arrow/libarrow/arrow-10.0.1/include  -DARROW_R_WITH_PARQUET -DARROW_R_WITH_DATASET -DARROW_R_WITH_JSON -DARROW_R_WITH_S3 -DARROW_R_WITH_GCS -I'/nethome/cxl1148/R/x86_64-pc-linux-gnu-library/4.1/cpp11/include' -I/usr/local/include   -fpic  -g -O2  -c expression.cpp -o expression.o
/share/builds/spack-compilers/opt/spack/linux-centos7-sandybridge/gcc-8.3.1/gcc-8.3.0-mnwujmnexs6zvenuhlu5m4io2om4sg55/bin/g++ -std=gnu++17 -I"/share/builds/spack/opt/spack/linux-centos7-sandybridge/gcc-8.3.0/r-4.1.0-wsuhybx36dpwkrryfjhg3kph2ytyplj7/rlib/R/include" -DNDEBUG -I/tmp/RtmpXAzexN/R.INSTALL52c8286a0f8d/arrow/libarrow/arrow-10.0.1/include  -DARROW_R_WITH_PARQUET -DARROW_R_WITH_DATASET -DARROW_R_WITH_JSON -DARROW_R_WITH_S3 -DARROW_R_WITH_GCS -I'/nethome/cxl1148/R/x86_64-pc-linux-gnu-library/4.1/cpp11/include' -I/usr/local/include   -fpic  -g -O2  -c extension-impl.cpp -o extension-impl.o
/share/builds/spack-compilers/opt/spack/linux-centos7-sandybridge/gcc-8.3.1/gcc-8.3.0-mnwujmnexs6zvenuhlu5m4io2om4sg55/bin/g++ -std=gnu++17 -I"/share/builds/spack/opt/spack/linux-centos7-sandybridge/gcc-8.3.0/r-4.1.0-wsuhybx36dpwkrryfjhg3kph2ytyplj7/rlib/R/include" -DNDEBUG -I/tmp/RtmpXAzexN/R.INSTALL52c8286a0f8d/arrow/libarrow/arrow-10.0.1/include  -DARROW_R_WITH_PARQUET -DARROW_R_WITH_DATASET -DARROW_R_WITH_JSON -DARROW_R_WITH_S3 -DARROW_R_WITH_GCS -I'/nethome/cxl1148/R/x86_64-pc-linux-gnu-library/4.1/cpp11/include' -I/usr/local/include   -fpic  -g -O2  -c feather.cpp -o feather.o
/share/builds/spack-compilers/opt/spack/linux-centos7-sandybridge/gcc-8.3.1/gcc-8.3.0-mnwujmnexs6zvenuhlu5m4io2om4sg55/bin/g++ -std=gnu++17 -I"/share/builds/spack/opt/spack/linux-centos7-sandybridge/gcc-8.3.0/r-4.1.0-wsuhybx36dpwkrryfjhg3kph2ytyplj7/rlib/R/include" -DNDEBUG -I/tmp/RtmpXAzexN/R.INSTALL52c8286a0f8d/arrow/libarrow/arrow-10.0.1/include  -DARROW_R_WITH_PARQUET -DARROW_R_WITH_DATASET -DARROW_R_WITH_JSON -DARROW_R_WITH_S3 -DARROW_R_WITH_GCS -I'/nethome/cxl1148/R/x86_64-pc-linux-gnu-library/4.1/cpp11/include' -I/usr/local/include   -fpic  -g -O2  -c field.cpp -o field.o
/share/builds/spack-compilers/opt/spack/linux-centos7-sandybridge/gcc-8.3.1/gcc-8.3.0-mnwujmnexs6zvenuhlu5m4io2om4sg55/bin/g++ -std=gnu++17 -I"/share/builds/spack/opt/spack/linux-centos7-sandybridge/gcc-8.3.0/r-4.1.0-wsuhybx36dpwkrryfjhg3kph2ytyplj7/rlib/R/include" -DNDEBUG -I/tmp/RtmpXAzexN/R.INSTALL52c8286a0f8d/arrow/libarrow/arrow-10.0.1/include  -DARROW_R_WITH_PARQUET -DARROW_R_WITH_DATASET -DARROW_R_WITH_JSON -DARROW_R_WITH_S3 -DARROW_R_WITH_GCS -I'/nethome/cxl1148/R/x86_64-pc-linux-gnu-library/4.1/cpp11/include' -I/usr/local/include   -fpic  -g -O2  -c filesystem.cpp -o filesystem.o
/share/builds/spack-compilers/opt/spack/linux-centos7-sandybridge/gcc-8.3.1/gcc-8.3.0-mnwujmnexs6zvenuhlu5m4io2om4sg55/bin/g++ -std=gnu++17 -I"/share/builds/spack/opt/spack/linux-centos7-sandybridge/gcc-8.3.0/r-4.1.0-wsuhybx36dpwkrryfjhg3kph2ytyplj7/rlib/R/include" -DNDEBUG -I/tmp/RtmpXAzexN/R.INSTALL52c8286a0f8d/arrow/libarrow/arrow-10.0.1/include  -DARROW_R_WITH_PARQUET -DARROW_R_WITH_DATASET -DARROW_R_WITH_JSON -DARROW_R_WITH_S3 -DARROW_R_WITH_GCS -I'/nethome/cxl1148/R/x86_64-pc-linux-gnu-library/4.1/cpp11/include' -I/usr/local/include   -fpic  -g -O2  -c imports.cpp -o imports.o
/share/builds/spack-compilers/opt/spack/linux-centos7-sandybridge/gcc-8.3.1/gcc-8.3.0-mnwujmnexs6zvenuhlu5m4io2om4sg55/bin/g++ -std=gnu++17 -I"/share/builds/spack/opt/spack/linux-centos7-sandybridge/gcc-8.3.0/r-4.1.0-wsuhybx36dpwkrryfjhg3kph2ytyplj7/rlib/R/include" -DNDEBUG -I/tmp/RtmpXAzexN/R.INSTALL52c8286a0f8d/arrow/libarrow/arrow-10.0.1/include  -DARROW_R_WITH_PARQUET -DARROW_R_WITH_DATASET -DARROW_R_WITH_JSON -DARROW_R_WITH_S3 -DARROW_R_WITH_GCS -I'/nethome/cxl1148/R/x86_64-pc-linux-gnu-library/4.1/cpp11/include' -I/usr/local/include   -fpic  -g -O2  -c io.cpp -o io.o
/share/builds/spack-compilers/opt/spack/linux-centos7-sandybridge/gcc-8.3.1/gcc-8.3.0-mnwujmnexs6zvenuhlu5m4io2om4sg55/bin/g++ -std=gnu++17 -I"/share/builds/spack/opt/spack/linux-centos7-sandybridge/gcc-8.3.0/r-4.1.0-wsuhybx36dpwkrryfjhg3kph2ytyplj7/rlib/R/include" -DNDEBUG -I/tmp/RtmpXAzexN/R.INSTALL52c8286a0f8d/arrow/libarrow/arrow-10.0.1/include  -DARROW_R_WITH_PARQUET -DARROW_R_WITH_DATASET -DARROW_R_WITH_JSON -DARROW_R_WITH_S3 -DARROW_R_WITH_GCS -I'/nethome/cxl1148/R/x86_64-pc-linux-gnu-library/4.1/cpp11/include' -I/usr/local/include   -fpic  -g -O2  -c json.cpp -o json.o
/share/builds/spack-compilers/opt/spack/linux-centos7-sandybridge/gcc-8.3.1/gcc-8.3.0-mnwujmnexs6zvenuhlu5m4io2om4sg55/bin/g++ -std=gnu++17 -I"/share/builds/spack/opt/spack/linux-centos7-sandybridge/gcc-8.3.0/r-4.1.0-wsuhybx36dpwkrryfjhg3kph2ytyplj7/rlib/R/include" -DNDEBUG -I/tmp/RtmpXAzexN/R.INSTALL52c8286a0f8d/arrow/libarrow/arrow-10.0.1/include  -DARROW_R_WITH_PARQUET -DARROW_R_WITH_DATASET -DARROW_R_WITH_JSON -DARROW_R_WITH_S3 -DARROW_R_WITH_GCS -I'/nethome/cxl1148/R/x86_64-pc-linux-gnu-library/4.1/cpp11/include' -I/usr/local/include   -fpic  -g -O2  -c memorypool.cpp -o memorypool.o
/share/builds/spack-compilers/opt/spack/linux-centos7-sandybridge/gcc-8.3.1/gcc-8.3.0-mnwujmnexs6zvenuhlu5m4io2om4sg55/bin/g++ -std=gnu++17 -I"/share/builds/spack/opt/spack/linux-centos7-sandybridge/gcc-8.3.0/r-4.1.0-wsuhybx36dpwkrryfjhg3kph2ytyplj7/rlib/R/include" -DNDEBUG -I/tmp/RtmpXAzexN/R.INSTALL52c8286a0f8d/arrow/libarrow/arrow-10.0.1/include  -DARROW_R_WITH_PARQUET -DARROW_R_WITH_DATASET -DARROW_R_WITH_JSON -DARROW_R_WITH_S3 -DARROW_R_WITH_GCS -I'/nethome/cxl1148/R/x86_64-pc-linux-gnu-library/4.1/cpp11/include' -I/usr/local/include   -fpic  -g -O2  -c message.cpp -o message.o
/share/builds/spack-compilers/opt/spack/linux-centos7-sandybridge/gcc-8.3.1/gcc-8.3.0-mnwujmnexs6zvenuhlu5m4io2om4sg55/bin/g++ -std=gnu++17 -I"/share/builds/spack/opt/spack/linux-centos7-sandybridge/gcc-8.3.0/r-4.1.0-wsuhybx36dpwkrryfjhg3kph2ytyplj7/rlib/R/include" -DNDEBUG -I/tmp/RtmpXAzexN/R.INSTALL52c8286a0f8d/arrow/libarrow/arrow-10.0.1/include  -DARROW_R_WITH_PARQUET -DARROW_R_WITH_DATASET -DARROW_R_WITH_JSON -DARROW_R_WITH_S3 -DARROW_R_WITH_GCS -I'/nethome/cxl1148/R/x86_64-pc-linux-gnu-library/4.1/cpp11/include' -I/usr/local/include   -fpic  -g -O2  -c parquet.cpp -o parquet.o
/share/builds/spack-compilers/opt/spack/linux-centos7-sandybridge/gcc-8.3.1/gcc-8.3.0-mnwujmnexs6zvenuhlu5m4io2om4sg55/bin/g++ -std=gnu++17 -I"/share/builds/spack/opt/spack/linux-centos7-sandybridge/gcc-8.3.0/r-4.1.0-wsuhybx36dpwkrryfjhg3kph2ytyplj7/rlib/R/include" -DNDEBUG -I/tmp/RtmpXAzexN/R.INSTALL52c8286a0f8d/arrow/libarrow/arrow-10.0.1/include  -DARROW_R_WITH_PARQUET -DARROW_R_WITH_DATASET -DARROW_R_WITH_JSON -DARROW_R_WITH_S3 -DARROW_R_WITH_GCS -I'/nethome/cxl1148/R/x86_64-pc-linux-gnu-library/4.1/cpp11/include' -I/usr/local/include   -fpic  -g -O2  -c r_to_arrow.cpp -o r_to_arrow.o
/share/builds/spack-compilers/opt/spack/linux-centos7-sandybridge/gcc-8.3.1/gcc-8.3.0-mnwujmnexs6zvenuhlu5m4io2om4sg55/bin/g++ -std=gnu++17 -I"/share/builds/spack/opt/spack/linux-centos7-sandybridge/gcc-8.3.0/r-4.1.0-wsuhybx36dpwkrryfjhg3kph2ytyplj7/rlib/R/include" -DNDEBUG -I/tmp/RtmpXAzexN/R.INSTALL52c8286a0f8d/arrow/libarrow/arrow-10.0.1/include  -DARROW_R_WITH_PARQUET -DARROW_R_WITH_DATASET -DARROW_R_WITH_JSON -DARROW_R_WITH_S3 -DARROW_R_WITH_GCS -I'/nethome/cxl1148/R/x86_64-pc-linux-gnu-library/4.1/cpp11/include' -I/usr/local/include   -fpic  -g -O2  -c recordbatch.cpp -o recordbatch.o
/share/builds/spack-compilers/opt/spack/linux-centos7-sandybridge/gcc-8.3.1/gcc-8.3.0-mnwujmnexs6zvenuhlu5m4io2om4sg55/bin/g++ -std=gnu++17 -I"/share/builds/spack/opt/spack/linux-centos7-sandybridge/gcc-8.3.0/r-4.1.0-wsuhybx36dpwkrryfjhg3kph2ytyplj7/rlib/R/include" -DNDEBUG -I/tmp/RtmpXAzexN/R.INSTALL52c8286a0f8d/arrow/libarrow/arrow-10.0.1/include  -DARROW_R_WITH_PARQUET -DARROW_R_WITH_DATASET -DARROW_R_WITH_JSON -DARROW_R_WITH_S3 -DARROW_R_WITH_GCS -I'/nethome/cxl1148/R/x86_64-pc-linux-gnu-library/4.1/cpp11/include' -I/usr/local/include   -fpic  -g -O2  -c recordbatchreader.cpp -o recordbatchreader.o
/share/builds/spack-compilers/opt/spack/linux-centos7-sandybridge/gcc-8.3.1/gcc-8.3.0-mnwujmnexs6zvenuhlu5m4io2om4sg55/bin/g++ -std=gnu++17 -I"/share/builds/spack/opt/spack/linux-centos7-sandybridge/gcc-8.3.0/r-4.1.0-wsuhybx36dpwkrryfjhg3kph2ytyplj7/rlib/R/include" -DNDEBUG -I/tmp/RtmpXAzexN/R.INSTALL52c8286a0f8d/arrow/libarrow/arrow-10.0.1/include  -DARROW_R_WITH_PARQUET -DARROW_R_WITH_DATASET -DARROW_R_WITH_JSON -DARROW_R_WITH_S3 -DARROW_R_WITH_GCS -I'/nethome/cxl1148/R/x86_64-pc-linux-gnu-library/4.1/cpp11/include' -I/usr/local/include   -fpic  -g -O2  -c recordbatchwriter.cpp -o recordbatchwriter.o
/share/builds/spack-compilers/opt/spack/linux-centos7-sandybridge/gcc-8.3.1/gcc-8.3.0-mnwujmnexs6zvenuhlu5m4io2om4sg55/bin/g++ -std=gnu++17 -I"/share/builds/spack/opt/spack/linux-centos7-sandybridge/gcc-8.3.0/r-4.1.0-wsuhybx36dpwkrryfjhg3kph2ytyplj7/rlib/R/include" -DNDEBUG -I/tmp/RtmpXAzexN/R.INSTALL52c8286a0f8d/arrow/libarrow/arrow-10.0.1/include  -DARROW_R_WITH_PARQUET -DARROW_R_WITH_DATASET -DARROW_R_WITH_JSON -DARROW_R_WITH_S3 -DARROW_R_WITH_GCS -I'/nethome/cxl1148/R/x86_64-pc-linux-gnu-library/4.1/cpp11/include' -I/usr/local/include   -fpic  -g -O2  -c safe-call-into-r-impl.cpp -o safe-call-into-r-impl.o
/share/builds/spack-compilers/opt/spack/linux-centos7-sandybridge/gcc-8.3.1/gcc-8.3.0-mnwujmnexs6zvenuhlu5m4io2om4sg55/bin/g++ -std=gnu++17 -I"/share/builds/spack/opt/spack/linux-centos7-sandybridge/gcc-8.3.0/r-4.1.0-wsuhybx36dpwkrryfjhg3kph2ytyplj7/rlib/R/include" -DNDEBUG -I/tmp/RtmpXAzexN/R.INSTALL52c8286a0f8d/arrow/libarrow/arrow-10.0.1/include  -DARROW_R_WITH_PARQUET -DARROW_R_WITH_DATASET -DARROW_R_WITH_JSON -DARROW_R_WITH_S3 -DARROW_R_WITH_GCS -I'/nethome/cxl1148/R/x86_64-pc-linux-gnu-library/4.1/cpp11/include' -I/usr/local/include   -fpic  -g -O2  -c scalar.cpp -o scalar.o
/share/builds/spack-compilers/opt/spack/linux-centos7-sandybridge/gcc-8.3.1/gcc-8.3.0-mnwujmnexs6zvenuhlu5m4io2om4sg55/bin/g++ -std=gnu++17 -I"/share/builds/spack/opt/spack/linux-centos7-sandybridge/gcc-8.3.0/r-4.1.0-wsuhybx36dpwkrryfjhg3kph2ytyplj7/rlib/R/include" -DNDEBUG -I/tmp/RtmpXAzexN/R.INSTALL52c8286a0f8d/arrow/libarrow/arrow-10.0.1/include  -DARROW_R_WITH_PARQUET -DARROW_R_WITH_DATASET -DARROW_R_WITH_JSON -DARROW_R_WITH_S3 -DARROW_R_WITH_GCS -I'/nethome/cxl1148/R/x86_64-pc-linux-gnu-library/4.1/cpp11/include' -I/usr/local/include   -fpic  -g -O2  -c schema.cpp -o schema.o
/share/builds/spack-compilers/opt/spack/linux-centos7-sandybridge/gcc-8.3.1/gcc-8.3.0-mnwujmnexs6zvenuhlu5m4io2om4sg55/bin/g++ -std=gnu++17 -I"/share/builds/spack/opt/spack/linux-centos7-sandybridge/gcc-8.3.0/r-4.1.0-wsuhybx36dpwkrryfjhg3kph2ytyplj7/rlib/R/include" -DNDEBUG -I/tmp/RtmpXAzexN/R.INSTALL52c8286a0f8d/arrow/libarrow/arrow-10.0.1/include  -DARROW_R_WITH_PARQUET -DARROW_R_WITH_DATASET -DARROW_R_WITH_JSON -DARROW_R_WITH_S3 -DARROW_R_WITH_GCS -I'/nethome/cxl1148/R/x86_64-pc-linux-gnu-library/4.1/cpp11/include' -I/usr/local/include   -fpic  -g -O2  -c symbols.cpp -o symbols.o
/share/builds/spack-compilers/opt/spack/linux-centos7-sandybridge/gcc-8.3.1/gcc-8.3.0-mnwujmnexs6zvenuhlu5m4io2om4sg55/bin/g++ -std=gnu++17 -I"/share/builds/spack/opt/spack/linux-centos7-sandybridge/gcc-8.3.0/r-4.1.0-wsuhybx36dpwkrryfjhg3kph2ytyplj7/rlib/R/include" -DNDEBUG -I/tmp/RtmpXAzexN/R.INSTALL52c8286a0f8d/arrow/libarrow/arrow-10.0.1/include  -DARROW_R_WITH_PARQUET -DARROW_R_WITH_DATASET -DARROW_R_WITH_JSON -DARROW_R_WITH_S3 -DARROW_R_WITH_GCS -I'/nethome/cxl1148/R/x86_64-pc-linux-gnu-library/4.1/cpp11/include' -I/usr/local/include   -fpic  -g -O2  -c table.cpp -o table.o
/share/builds/spack-compilers/opt/spack/linux-centos7-sandybridge/gcc-8.3.1/gcc-8.3.0-mnwujmnexs6zvenuhlu5m4io2om4sg55/bin/g++ -std=gnu++17 -I"/share/builds/spack/opt/spack/linux-centos7-sandybridge/gcc-8.3.0/r-4.1.0-wsuhybx36dpwkrryfjhg3kph2ytyplj7/rlib/R/include" -DNDEBUG -I/tmp/RtmpXAzexN/R.INSTALL52c8286a0f8d/arrow/libarrow/arrow-10.0.1/include  -DARROW_R_WITH_PARQUET -DARROW_R_WITH_DATASET -DARROW_R_WITH_JSON -DARROW_R_WITH_S3 -DARROW_R_WITH_GCS -I'/nethome/cxl1148/R/x86_64-pc-linux-gnu-library/4.1/cpp11/include' -I/usr/local/include   -fpic  -g -O2  -c threadpool.cpp -o threadpool.o
/share/builds/spack-compilers/opt/spack/linux-centos7-sandybridge/gcc-8.3.1/gcc-8.3.0-mnwujmnexs6zvenuhlu5m4io2om4sg55/bin/g++ -std=gnu++17 -I"/share/builds/spack/opt/spack/linux-centos7-sandybridge/gcc-8.3.0/r-4.1.0-wsuhybx36dpwkrryfjhg3kph2ytyplj7/rlib/R/include" -DNDEBUG -I/tmp/RtmpXAzexN/R.INSTALL52c8286a0f8d/arrow/libarrow/arrow-10.0.1/include  -DARROW_R_WITH_PARQUET -DARROW_R_WITH_DATASET -DARROW_R_WITH_JSON -DARROW_R_WITH_S3 -DARROW_R_WITH_GCS -I'/nethome/cxl1148/R/x86_64-pc-linux-gnu-library/4.1/cpp11/include' -I/usr/local/include   -fpic  -g -O2  -c type_infer.cpp -o type_infer.o
/share/builds/spack-compilers/opt/spack/linux-centos7-sandybridge/gcc-8.3.1/gcc-8.3.0-mnwujmnexs6zvenuhlu5m4io2om4sg55/bin/g++ -std=gnu++17 -shared -L/share/builds/spack/opt/spack/linux-centos7-sandybridge/gcc-8.3.0/r-4.1.0-wsuhybx36dpwkrryfjhg3kph2ytyplj7/rlib/R/lib -L/share/builds/spack/opt/spack/linux-centos7-sandybridge/gcc-8.3.0/r-4.1.0-wsuhybx36dpwkrryfjhg3kph2ytyplj7/rlib/R/lib -Wl,-rpath,/share/builds/spack/opt/spack/linux-centos7-sandybridge/gcc-8.3.0/r-4.1.0-wsuhybx36dpwkrryfjhg3kph2ytyplj7/rlib/R/lib -o arrow.so RTasks.o altrep.o array.o array_to_vector.o arraydata.o arrowExports.o bridge.o buffer.o chunkedarray.o compression.o compute-exec.o compute.o config.o csv.o dataset.o datatype.o expression.o extension-impl.o feather.o field.o filesystem.o imports.o io.o json.o memorypool.o message.o parquet.o r_to_arrow.o recordbatch.o recordbatchreader.o recordbatchwriter.o safe-call-into-r-impl.o scalar.o schema.o symbols.o table.o threadpool.o type_infer.o -L/tmp/RtmpXAzexN/R.INSTALL52c8286a0f8d/arrow/libarrow/arrow-10.0.1/lib -larrow_dataset -lparquet -pthread -L/arrow/r/libarrow/dist/lib -larrow -larrow_bundled_dependencies -larrow -larrow_bundled_dependencies -larrow_dataset -lparquet -lssl -lcrypto -lcurl -lssl -lcrypto -lcurl -L/share/builds/spack/opt/spack/linux-centos7-sandybridge/gcc-8.3.0/r-4.1.0-wsuhybx36dpwkrryfjhg3kph2ytyplj7/rlib/R/lib -lR
installing to /nethome/cxl1148/R/x86_64-pc-linux-gnu-library/4.1/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 '/nethome/cxl1148/R/x86_64-pc-linux-gnu-library/4.1/00LOCK-arrow/00new/arrow/libs/arrow.so':
  /nethome/cxl1148/R/x86_64-pc-linux-gnu-library/4.1/00LOCK-arrow/00new/arrow/libs/arrow.so: undefined symbol: _ZNK5arrow8DataType18ComputeFingerprintB5cxx11Ev
Error: loading failed
Execution halted
ERROR: loading failed
* removing ‘/nethome/cxl1148/R/x86_64-pc-linux-gnu-library/4.1/arrow’

The downloaded source packages are in
        ‘/tmp/RtmpsTp1rt/downloaded_packages’
Warning message:
In install.packages("arrow") :
  installation of package ‘arrow’ had non-zero exit status

Component(s)

R

assignUser commented 1 year ago

Hello, thanks for the log!

Could you try the install from source like this:

Sys.setenv("NOT_CRAN" = "true", "LIBARROW_BUILD" = FALSE, "ARROW_R_DEV" = TRUE)
install.packages("arrow")
# This will fail if no internet access, but will print the binaries URL
pormr commented 1 year ago

Same problems here. I managed to install the package using install_arrow() in this script: https://raw.githubusercontent.com/apache/arrow/master/r/R/install-arrow.R

I've tried to compile libarrow from source following the instructions here, but failed when building thrift (which might be a problem similar to what is mentioned in #33819)

assignUser commented 1 year ago

Hm I would love to see the log for that as that script should load the same binary as the normal package installation or build from source... maybe it was the 11.0.0 release that fixed the problem in the mean time ;D

As your problem seems to be resolved I will close the issue. If you feel this was premature please feel free to re-open!

dsolito commented 8 months ago

Hello, I have the same problem reported from @cecelg-um. I tried this but it doesnt work.

Sys.setenv("NOT_CRAN" = "true", "LIBARROW_BUILD" = FALSE, "ARROW_R_DEV" = TRUE)
install.packages("arrow")
Installing package into ‘/usr/local/lib/R/4.3/site-library’
(as ‘lib’ is unspecified)
trying URL 'https://packagemanager.posit.co/cran/latest/src/contrib/arrow_14.0.2.1.tar.gz'
Content type 'binary/octet-stream' length 4278652 bytes (4.1 MB)
==================================================
downloaded 4.1 MB

* installing *source* package ‘arrow’ ...
** package ‘arrow’ successfully unpacked and MD5 sums checked
** using staged installation
*** pkg-config found.
*** Trying Arrow C++ found by pkg-config: /usr/local/Cellar/apache-arrow/15.0.0
**** Not using: C++ library version (15.0.0): not supported by R package version 14.0.2.1
*** Found local C++ source: 'tools/cpp'
*** Building libarrow from source
    For build options and troubleshooting, see the install guide:
    https://arrow.apache.org/docs/r/articles/install.html
**** cmake 3.28.1: /usr/local/bin/cmake
**** arrow 
PKG_CFLAGS=-DPARQUET_STATIC -DARROW_STATIC -DUTF8PROC_EXPORTS -I/private/var/folders/51/_zgvmgx518q_r6_3w0_kfpw40000gn/T/RtmpAh2P2D/R.INSTALL1094639ef7b1b/arrow/libarrow/arrow-14.0.2/include -I/usr/local/include   -DARROW_R_WITH_PARQUET -DARROW_R_WITH_DATASET -DARROW_R_WITH_ACERO -DARROW_R_WITH_JSON
PKG_LIBS=-L/private/var/folders/51/_zgvmgx518q_r6_3w0_kfpw40000gn/T/RtmpAh2P2D/R.INSTALL1094639ef7b1b/arrow/libarrow/arrow-14.0.2/lib -L/usr/local/lib -larrow_dataset -lparquet -lthrift -larrow_acero -larrow -larrow_bundled_dependencies /usr/local/lib/libsnappy.1.1.10.dylib -lutf8proc 
** libs
using C++ compiler: ‘Apple clang version 15.0.0 (clang-1500.1.0.2.5)’
using C++17
using SDK: ‘MacOSX14.2.sdk’
clang++ -std=gnu++17 -I"/usr/local/Cellar/r/4.3.2/lib/R/include" -DNDEBUG -DPARQUET_STATIC -DARROW_STATIC -DUTF8PROC_EXPORTS -I/private/var/folders/51/_zgvmgx518q_r6_3w0_kfpw40000gn/T/RtmpAh2P2D/R.INSTALL1094639ef7b1b/arrow/libarrow/arrow-14.0.2/include -I/usr/local/include   -DARROW_R_WITH_PARQUET -DARROW_R_WITH_DATASET -DARROW_R_WITH_ACERO -DARROW_R_WITH_JSON -I'/usr/local/lib/R/4.3/site-library/cpp11/include' -I/usr/local/opt/gettext/include -I/usr/local/opt/readline/include -I/usr/local/opt/xz/include -I/usr/local/include    -fPIC  -g -O2  -c RTasks.cpp -o RTasks.o
clang++ -std=gnu++17 -I"/usr/local/Cellar/r/4.3.2/lib/R/include" -DNDEBUG -DPARQUET_STATIC -DARROW_STATIC -DUTF8PROC_EXPORTS -I/private/var/folders/51/_zgvmgx518q_r6_3w0_kfpw40000gn/T/RtmpAh2P2D/R.INSTALL1094639ef7b1b/arrow/libarrow/arrow-14.0.2/include -I/usr/local/include   -DARROW_R_WITH_PARQUET -DARROW_R_WITH_DATASET -DARROW_R_WITH_ACERO -DARROW_R_WITH_JSON -I'/usr/local/lib/R/4.3/site-library/cpp11/include' -I/usr/local/opt/gettext/include -I/usr/local/opt/readline/include -I/usr/local/opt/xz/include -I/usr/local/include    -fPIC  -g -O2  -c altrep.cpp -o altrep.o
clang++ -std=gnu++17 -I"/usr/local/Cellar/r/4.3.2/lib/R/include" -DNDEBUG -DPARQUET_STATIC -DARROW_STATIC -DUTF8PROC_EXPORTS -I/private/var/folders/51/_zgvmgx518q_r6_3w0_kfpw40000gn/T/RtmpAh2P2D/R.INSTALL1094639ef7b1b/arrow/libarrow/arrow-14.0.2/include -I/usr/local/include   -DARROW_R_WITH_PARQUET -DARROW_R_WITH_DATASET -DARROW_R_WITH_ACERO -DARROW_R_WITH_JSON -I'/usr/local/lib/R/4.3/site-library/cpp11/include' -I/usr/local/opt/gettext/include -I/usr/local/opt/readline/include -I/usr/local/opt/xz/include -I/usr/local/include    -fPIC  -g -O2  -c array.cpp -o array.o
clang++ -std=gnu++17 -I"/usr/local/Cellar/r/4.3.2/lib/R/include" -DNDEBUG -DPARQUET_STATIC -DARROW_STATIC -DUTF8PROC_EXPORTS -I/private/var/folders/51/_zgvmgx518q_r6_3w0_kfpw40000gn/T/RtmpAh2P2D/R.INSTALL1094639ef7b1b/arrow/libarrow/arrow-14.0.2/include -I/usr/local/include   -DARROW_R_WITH_PARQUET -DARROW_R_WITH_DATASET -DARROW_R_WITH_ACERO -DARROW_R_WITH_JSON -I'/usr/local/lib/R/4.3/site-library/cpp11/include' -I/usr/local/opt/gettext/include -I/usr/local/opt/readline/include -I/usr/local/opt/xz/include -I/usr/local/include    -fPIC  -g -O2  -c array_to_vector.cpp -o array_to_vector.o
clang++ -std=gnu++17 -I"/usr/local/Cellar/r/4.3.2/lib/R/include" -DNDEBUG -DPARQUET_STATIC -DARROW_STATIC -DUTF8PROC_EXPORTS -I/private/var/folders/51/_zgvmgx518q_r6_3w0_kfpw40000gn/T/RtmpAh2P2D/R.INSTALL1094639ef7b1b/arrow/libarrow/arrow-14.0.2/include -I/usr/local/include   -DARROW_R_WITH_PARQUET -DARROW_R_WITH_DATASET -DARROW_R_WITH_ACERO -DARROW_R_WITH_JSON -I'/usr/local/lib/R/4.3/site-library/cpp11/include' -I/usr/local/opt/gettext/include -I/usr/local/opt/readline/include -I/usr/local/opt/xz/include -I/usr/local/include    -fPIC  -g -O2  -c arraydata.cpp -o arraydata.o
clang++ -std=gnu++17 -I"/usr/local/Cellar/r/4.3.2/lib/R/include" -DNDEBUG -DPARQUET_STATIC -DARROW_STATIC -DUTF8PROC_EXPORTS -I/private/var/folders/51/_zgvmgx518q_r6_3w0_kfpw40000gn/T/RtmpAh2P2D/R.INSTALL1094639ef7b1b/arrow/libarrow/arrow-14.0.2/include -I/usr/local/include   -DARROW_R_WITH_PARQUET -DARROW_R_WITH_DATASET -DARROW_R_WITH_ACERO -DARROW_R_WITH_JSON -I'/usr/local/lib/R/4.3/site-library/cpp11/include' -I/usr/local/opt/gettext/include -I/usr/local/opt/readline/include -I/usr/local/opt/xz/include -I/usr/local/include    -fPIC  -g -O2  -c arrowExports.cpp -o arrowExports.o
clang++ -std=gnu++17 -I"/usr/local/Cellar/r/4.3.2/lib/R/include" -DNDEBUG -DPARQUET_STATIC -DARROW_STATIC -DUTF8PROC_EXPORTS -I/private/var/folders/51/_zgvmgx518q_r6_3w0_kfpw40000gn/T/RtmpAh2P2D/R.INSTALL1094639ef7b1b/arrow/libarrow/arrow-14.0.2/include -I/usr/local/include   -DARROW_R_WITH_PARQUET -DARROW_R_WITH_DATASET -DARROW_R_WITH_ACERO -DARROW_R_WITH_JSON -I'/usr/local/lib/R/4.3/site-library/cpp11/include' -I/usr/local/opt/gettext/include -I/usr/local/opt/readline/include -I/usr/local/opt/xz/include -I/usr/local/include    -fPIC  -g -O2  -c bridge.cpp -o bridge.o
clang++ -std=gnu++17 -I"/usr/local/Cellar/r/4.3.2/lib/R/include" -DNDEBUG -DPARQUET_STATIC -DARROW_STATIC -DUTF8PROC_EXPORTS -I/private/var/folders/51/_zgvmgx518q_r6_3w0_kfpw40000gn/T/RtmpAh2P2D/R.INSTALL1094639ef7b1b/arrow/libarrow/arrow-14.0.2/include -I/usr/local/include   -DARROW_R_WITH_PARQUET -DARROW_R_WITH_DATASET -DARROW_R_WITH_ACERO -DARROW_R_WITH_JSON -I'/usr/local/lib/R/4.3/site-library/cpp11/include' -I/usr/local/opt/gettext/include -I/usr/local/opt/readline/include -I/usr/local/opt/xz/include -I/usr/local/include    -fPIC  -g -O2  -c buffer.cpp -o buffer.o
clang++ -std=gnu++17 -I"/usr/local/Cellar/r/4.3.2/lib/R/include" -DNDEBUG -DPARQUET_STATIC -DARROW_STATIC -DUTF8PROC_EXPORTS -I/private/var/folders/51/_zgvmgx518q_r6_3w0_kfpw40000gn/T/RtmpAh2P2D/R.INSTALL1094639ef7b1b/arrow/libarrow/arrow-14.0.2/include -I/usr/local/include   -DARROW_R_WITH_PARQUET -DARROW_R_WITH_DATASET -DARROW_R_WITH_ACERO -DARROW_R_WITH_JSON -I'/usr/local/lib/R/4.3/site-library/cpp11/include' -I/usr/local/opt/gettext/include -I/usr/local/opt/readline/include -I/usr/local/opt/xz/include -I/usr/local/include    -fPIC  -g -O2  -c chunkedarray.cpp -o chunkedarray.o
clang++ -std=gnu++17 -I"/usr/local/Cellar/r/4.3.2/lib/R/include" -DNDEBUG -DPARQUET_STATIC -DARROW_STATIC -DUTF8PROC_EXPORTS -I/private/var/folders/51/_zgvmgx518q_r6_3w0_kfpw40000gn/T/RtmpAh2P2D/R.INSTALL1094639ef7b1b/arrow/libarrow/arrow-14.0.2/include -I/usr/local/include   -DARROW_R_WITH_PARQUET -DARROW_R_WITH_DATASET -DARROW_R_WITH_ACERO -DARROW_R_WITH_JSON -I'/usr/local/lib/R/4.3/site-library/cpp11/include' -I/usr/local/opt/gettext/include -I/usr/local/opt/readline/include -I/usr/local/opt/xz/include -I/usr/local/include    -fPIC  -g -O2  -c compression.cpp -o compression.o
clang++ -std=gnu++17 -I"/usr/local/Cellar/r/4.3.2/lib/R/include" -DNDEBUG -DPARQUET_STATIC -DARROW_STATIC -DUTF8PROC_EXPORTS -I/private/var/folders/51/_zgvmgx518q_r6_3w0_kfpw40000gn/T/RtmpAh2P2D/R.INSTALL1094639ef7b1b/arrow/libarrow/arrow-14.0.2/include -I/usr/local/include   -DARROW_R_WITH_PARQUET -DARROW_R_WITH_DATASET -DARROW_R_WITH_ACERO -DARROW_R_WITH_JSON -I'/usr/local/lib/R/4.3/site-library/cpp11/include' -I/usr/local/opt/gettext/include -I/usr/local/opt/readline/include -I/usr/local/opt/xz/include -I/usr/local/include    -fPIC  -g -O2  -c compute-exec.cpp -o compute-exec.o
clang++ -std=gnu++17 -I"/usr/local/Cellar/r/4.3.2/lib/R/include" -DNDEBUG -DPARQUET_STATIC -DARROW_STATIC -DUTF8PROC_EXPORTS -I/private/var/folders/51/_zgvmgx518q_r6_3w0_kfpw40000gn/T/RtmpAh2P2D/R.INSTALL1094639ef7b1b/arrow/libarrow/arrow-14.0.2/include -I/usr/local/include   -DARROW_R_WITH_PARQUET -DARROW_R_WITH_DATASET -DARROW_R_WITH_ACERO -DARROW_R_WITH_JSON -I'/usr/local/lib/R/4.3/site-library/cpp11/include' -I/usr/local/opt/gettext/include -I/usr/local/opt/readline/include -I/usr/local/opt/xz/include -I/usr/local/include    -fPIC  -g -O2  -c compute.cpp -o compute.o
clang++ -std=gnu++17 -I"/usr/local/Cellar/r/4.3.2/lib/R/include" -DNDEBUG -DPARQUET_STATIC -DARROW_STATIC -DUTF8PROC_EXPORTS -I/private/var/folders/51/_zgvmgx518q_r6_3w0_kfpw40000gn/T/RtmpAh2P2D/R.INSTALL1094639ef7b1b/arrow/libarrow/arrow-14.0.2/include -I/usr/local/include   -DARROW_R_WITH_PARQUET -DARROW_R_WITH_DATASET -DARROW_R_WITH_ACERO -DARROW_R_WITH_JSON -I'/usr/local/lib/R/4.3/site-library/cpp11/include' -I/usr/local/opt/gettext/include -I/usr/local/opt/readline/include -I/usr/local/opt/xz/include -I/usr/local/include    -fPIC  -g -O2  -c config.cpp -o config.o
clang++ -std=gnu++17 -I"/usr/local/Cellar/r/4.3.2/lib/R/include" -DNDEBUG -DPARQUET_STATIC -DARROW_STATIC -DUTF8PROC_EXPORTS -I/private/var/folders/51/_zgvmgx518q_r6_3w0_kfpw40000gn/T/RtmpAh2P2D/R.INSTALL1094639ef7b1b/arrow/libarrow/arrow-14.0.2/include -I/usr/local/include   -DARROW_R_WITH_PARQUET -DARROW_R_WITH_DATASET -DARROW_R_WITH_ACERO -DARROW_R_WITH_JSON -I'/usr/local/lib/R/4.3/site-library/cpp11/include' -I/usr/local/opt/gettext/include -I/usr/local/opt/readline/include -I/usr/local/opt/xz/include -I/usr/local/include    -fPIC  -g -O2  -c csv.cpp -o csv.o
clang++ -std=gnu++17 -I"/usr/local/Cellar/r/4.3.2/lib/R/include" -DNDEBUG -DPARQUET_STATIC -DARROW_STATIC -DUTF8PROC_EXPORTS -I/private/var/folders/51/_zgvmgx518q_r6_3w0_kfpw40000gn/T/RtmpAh2P2D/R.INSTALL1094639ef7b1b/arrow/libarrow/arrow-14.0.2/include -I/usr/local/include   -DARROW_R_WITH_PARQUET -DARROW_R_WITH_DATASET -DARROW_R_WITH_ACERO -DARROW_R_WITH_JSON -I'/usr/local/lib/R/4.3/site-library/cpp11/include' -I/usr/local/opt/gettext/include -I/usr/local/opt/readline/include -I/usr/local/opt/xz/include -I/usr/local/include    -fPIC  -g -O2  -c dataset.cpp -o dataset.o
clang++ -std=gnu++17 -I"/usr/local/Cellar/r/4.3.2/lib/R/include" -DNDEBUG -DPARQUET_STATIC -DARROW_STATIC -DUTF8PROC_EXPORTS -I/private/var/folders/51/_zgvmgx518q_r6_3w0_kfpw40000gn/T/RtmpAh2P2D/R.INSTALL1094639ef7b1b/arrow/libarrow/arrow-14.0.2/include -I/usr/local/include   -DARROW_R_WITH_PARQUET -DARROW_R_WITH_DATASET -DARROW_R_WITH_ACERO -DARROW_R_WITH_JSON -I'/usr/local/lib/R/4.3/site-library/cpp11/include' -I/usr/local/opt/gettext/include -I/usr/local/opt/readline/include -I/usr/local/opt/xz/include -I/usr/local/include    -fPIC  -g -O2  -c datatype.cpp -o datatype.o
clang++ -std=gnu++17 -I"/usr/local/Cellar/r/4.3.2/lib/R/include" -DNDEBUG -DPARQUET_STATIC -DARROW_STATIC -DUTF8PROC_EXPORTS -I/private/var/folders/51/_zgvmgx518q_r6_3w0_kfpw40000gn/T/RtmpAh2P2D/R.INSTALL1094639ef7b1b/arrow/libarrow/arrow-14.0.2/include -I/usr/local/include   -DARROW_R_WITH_PARQUET -DARROW_R_WITH_DATASET -DARROW_R_WITH_ACERO -DARROW_R_WITH_JSON -I'/usr/local/lib/R/4.3/site-library/cpp11/include' -I/usr/local/opt/gettext/include -I/usr/local/opt/readline/include -I/usr/local/opt/xz/include -I/usr/local/include    -fPIC  -g -O2  -c expression.cpp -o expression.o
clang++ -std=gnu++17 -I"/usr/local/Cellar/r/4.3.2/lib/R/include" -DNDEBUG -DPARQUET_STATIC -DARROW_STATIC -DUTF8PROC_EXPORTS -I/private/var/folders/51/_zgvmgx518q_r6_3w0_kfpw40000gn/T/RtmpAh2P2D/R.INSTALL1094639ef7b1b/arrow/libarrow/arrow-14.0.2/include -I/usr/local/include   -DARROW_R_WITH_PARQUET -DARROW_R_WITH_DATASET -DARROW_R_WITH_ACERO -DARROW_R_WITH_JSON -I'/usr/local/lib/R/4.3/site-library/cpp11/include' -I/usr/local/opt/gettext/include -I/usr/local/opt/readline/include -I/usr/local/opt/xz/include -I/usr/local/include    -fPIC  -g -O2  -c extension-impl.cpp -o extension-impl.o
clang++ -std=gnu++17 -I"/usr/local/Cellar/r/4.3.2/lib/R/include" -DNDEBUG -DPARQUET_STATIC -DARROW_STATIC -DUTF8PROC_EXPORTS -I/private/var/folders/51/_zgvmgx518q_r6_3w0_kfpw40000gn/T/RtmpAh2P2D/R.INSTALL1094639ef7b1b/arrow/libarrow/arrow-14.0.2/include -I/usr/local/include   -DARROW_R_WITH_PARQUET -DARROW_R_WITH_DATASET -DARROW_R_WITH_ACERO -DARROW_R_WITH_JSON -I'/usr/local/lib/R/4.3/site-library/cpp11/include' -I/usr/local/opt/gettext/include -I/usr/local/opt/readline/include -I/usr/local/opt/xz/include -I/usr/local/include    -fPIC  -g -O2  -c feather.cpp -o feather.o
clang++ -std=gnu++17 -I"/usr/local/Cellar/r/4.3.2/lib/R/include" -DNDEBUG -DPARQUET_STATIC -DARROW_STATIC -DUTF8PROC_EXPORTS -I/private/var/folders/51/_zgvmgx518q_r6_3w0_kfpw40000gn/T/RtmpAh2P2D/R.INSTALL1094639ef7b1b/arrow/libarrow/arrow-14.0.2/include -I/usr/local/include   -DARROW_R_WITH_PARQUET -DARROW_R_WITH_DATASET -DARROW_R_WITH_ACERO -DARROW_R_WITH_JSON -I'/usr/local/lib/R/4.3/site-library/cpp11/include' -I/usr/local/opt/gettext/include -I/usr/local/opt/readline/include -I/usr/local/opt/xz/include -I/usr/local/include    -fPIC  -g -O2  -c field.cpp -o field.o
clang++ -std=gnu++17 -I"/usr/local/Cellar/r/4.3.2/lib/R/include" -DNDEBUG -DPARQUET_STATIC -DARROW_STATIC -DUTF8PROC_EXPORTS -I/private/var/folders/51/_zgvmgx518q_r6_3w0_kfpw40000gn/T/RtmpAh2P2D/R.INSTALL1094639ef7b1b/arrow/libarrow/arrow-14.0.2/include -I/usr/local/include   -DARROW_R_WITH_PARQUET -DARROW_R_WITH_DATASET -DARROW_R_WITH_ACERO -DARROW_R_WITH_JSON -I'/usr/local/lib/R/4.3/site-library/cpp11/include' -I/usr/local/opt/gettext/include -I/usr/local/opt/readline/include -I/usr/local/opt/xz/include -I/usr/local/include    -fPIC  -g -O2  -c filesystem.cpp -o filesystem.o
clang++ -std=gnu++17 -I"/usr/local/Cellar/r/4.3.2/lib/R/include" -DNDEBUG -DPARQUET_STATIC -DARROW_STATIC -DUTF8PROC_EXPORTS -I/private/var/folders/51/_zgvmgx518q_r6_3w0_kfpw40000gn/T/RtmpAh2P2D/R.INSTALL1094639ef7b1b/arrow/libarrow/arrow-14.0.2/include -I/usr/local/include   -DARROW_R_WITH_PARQUET -DARROW_R_WITH_DATASET -DARROW_R_WITH_ACERO -DARROW_R_WITH_JSON -I'/usr/local/lib/R/4.3/site-library/cpp11/include' -I/usr/local/opt/gettext/include -I/usr/local/opt/readline/include -I/usr/local/opt/xz/include -I/usr/local/include    -fPIC  -g -O2  -c io.cpp -o io.o
clang++ -std=gnu++17 -I"/usr/local/Cellar/r/4.3.2/lib/R/include" -DNDEBUG -DPARQUET_STATIC -DARROW_STATIC -DUTF8PROC_EXPORTS -I/private/var/folders/51/_zgvmgx518q_r6_3w0_kfpw40000gn/T/RtmpAh2P2D/R.INSTALL1094639ef7b1b/arrow/libarrow/arrow-14.0.2/include -I/usr/local/include   -DARROW_R_WITH_PARQUET -DARROW_R_WITH_DATASET -DARROW_R_WITH_ACERO -DARROW_R_WITH_JSON -I'/usr/local/lib/R/4.3/site-library/cpp11/include' -I/usr/local/opt/gettext/include -I/usr/local/opt/readline/include -I/usr/local/opt/xz/include -I/usr/local/include    -fPIC  -g -O2  -c json.cpp -o json.o
clang++ -std=gnu++17 -I"/usr/local/Cellar/r/4.3.2/lib/R/include" -DNDEBUG -DPARQUET_STATIC -DARROW_STATIC -DUTF8PROC_EXPORTS -I/private/var/folders/51/_zgvmgx518q_r6_3w0_kfpw40000gn/T/RtmpAh2P2D/R.INSTALL1094639ef7b1b/arrow/libarrow/arrow-14.0.2/include -I/usr/local/include   -DARROW_R_WITH_PARQUET -DARROW_R_WITH_DATASET -DARROW_R_WITH_ACERO -DARROW_R_WITH_JSON -I'/usr/local/lib/R/4.3/site-library/cpp11/include' -I/usr/local/opt/gettext/include -I/usr/local/opt/readline/include -I/usr/local/opt/xz/include -I/usr/local/include    -fPIC  -g -O2  -c memorypool.cpp -o memorypool.o
clang++ -std=gnu++17 -I"/usr/local/Cellar/r/4.3.2/lib/R/include" -DNDEBUG -DPARQUET_STATIC -DARROW_STATIC -DUTF8PROC_EXPORTS -I/private/var/folders/51/_zgvmgx518q_r6_3w0_kfpw40000gn/T/RtmpAh2P2D/R.INSTALL1094639ef7b1b/arrow/libarrow/arrow-14.0.2/include -I/usr/local/include   -DARROW_R_WITH_PARQUET -DARROW_R_WITH_DATASET -DARROW_R_WITH_ACERO -DARROW_R_WITH_JSON -I'/usr/local/lib/R/4.3/site-library/cpp11/include' -I/usr/local/opt/gettext/include -I/usr/local/opt/readline/include -I/usr/local/opt/xz/include -I/usr/local/include    -fPIC  -g -O2  -c message.cpp -o message.o
clang++ -std=gnu++17 -I"/usr/local/Cellar/r/4.3.2/lib/R/include" -DNDEBUG -DPARQUET_STATIC -DARROW_STATIC -DUTF8PROC_EXPORTS -I/private/var/folders/51/_zgvmgx518q_r6_3w0_kfpw40000gn/T/RtmpAh2P2D/R.INSTALL1094639ef7b1b/arrow/libarrow/arrow-14.0.2/include -I/usr/local/include   -DARROW_R_WITH_PARQUET -DARROW_R_WITH_DATASET -DARROW_R_WITH_ACERO -DARROW_R_WITH_JSON -I'/usr/local/lib/R/4.3/site-library/cpp11/include' -I/usr/local/opt/gettext/include -I/usr/local/opt/readline/include -I/usr/local/opt/xz/include -I/usr/local/include    -fPIC  -g -O2  -c parquet.cpp -o parquet.o
clang++ -std=gnu++17 -I"/usr/local/Cellar/r/4.3.2/lib/R/include" -DNDEBUG -DPARQUET_STATIC -DARROW_STATIC -DUTF8PROC_EXPORTS -I/private/var/folders/51/_zgvmgx518q_r6_3w0_kfpw40000gn/T/RtmpAh2P2D/R.INSTALL1094639ef7b1b/arrow/libarrow/arrow-14.0.2/include -I/usr/local/include   -DARROW_R_WITH_PARQUET -DARROW_R_WITH_DATASET -DARROW_R_WITH_ACERO -DARROW_R_WITH_JSON -I'/usr/local/lib/R/4.3/site-library/cpp11/include' -I/usr/local/opt/gettext/include -I/usr/local/opt/readline/include -I/usr/local/opt/xz/include -I/usr/local/include    -fPIC  -g -O2  -c r_to_arrow.cpp -o r_to_arrow.o
clang++ -std=gnu++17 -I"/usr/local/Cellar/r/4.3.2/lib/R/include" -DNDEBUG -DPARQUET_STATIC -DARROW_STATIC -DUTF8PROC_EXPORTS -I/private/var/folders/51/_zgvmgx518q_r6_3w0_kfpw40000gn/T/RtmpAh2P2D/R.INSTALL1094639ef7b1b/arrow/libarrow/arrow-14.0.2/include -I/usr/local/include   -DARROW_R_WITH_PARQUET -DARROW_R_WITH_DATASET -DARROW_R_WITH_ACERO -DARROW_R_WITH_JSON -I'/usr/local/lib/R/4.3/site-library/cpp11/include' -I/usr/local/opt/gettext/include -I/usr/local/opt/readline/include -I/usr/local/opt/xz/include -I/usr/local/include    -fPIC  -g -O2  -c recordbatch.cpp -o recordbatch.o
clang++ -std=gnu++17 -I"/usr/local/Cellar/r/4.3.2/lib/R/include" -DNDEBUG -DPARQUET_STATIC -DARROW_STATIC -DUTF8PROC_EXPORTS -I/private/var/folders/51/_zgvmgx518q_r6_3w0_kfpw40000gn/T/RtmpAh2P2D/R.INSTALL1094639ef7b1b/arrow/libarrow/arrow-14.0.2/include -I/usr/local/include   -DARROW_R_WITH_PARQUET -DARROW_R_WITH_DATASET -DARROW_R_WITH_ACERO -DARROW_R_WITH_JSON -I'/usr/local/lib/R/4.3/site-library/cpp11/include' -I/usr/local/opt/gettext/include -I/usr/local/opt/readline/include -I/usr/local/opt/xz/include -I/usr/local/include    -fPIC  -g -O2  -c recordbatchreader.cpp -o recordbatchreader.o
clang++ -std=gnu++17 -I"/usr/local/Cellar/r/4.3.2/lib/R/include" -DNDEBUG -DPARQUET_STATIC -DARROW_STATIC -DUTF8PROC_EXPORTS -I/private/var/folders/51/_zgvmgx518q_r6_3w0_kfpw40000gn/T/RtmpAh2P2D/R.INSTALL1094639ef7b1b/arrow/libarrow/arrow-14.0.2/include -I/usr/local/include   -DARROW_R_WITH_PARQUET -DARROW_R_WITH_DATASET -DARROW_R_WITH_ACERO -DARROW_R_WITH_JSON -I'/usr/local/lib/R/4.3/site-library/cpp11/include' -I/usr/local/opt/gettext/include -I/usr/local/opt/readline/include -I/usr/local/opt/xz/include -I/usr/local/include    -fPIC  -g -O2  -c recordbatchwriter.cpp -o recordbatchwriter.o
clang++ -std=gnu++17 -I"/usr/local/Cellar/r/4.3.2/lib/R/include" -DNDEBUG -DPARQUET_STATIC -DARROW_STATIC -DUTF8PROC_EXPORTS -I/private/var/folders/51/_zgvmgx518q_r6_3w0_kfpw40000gn/T/RtmpAh2P2D/R.INSTALL1094639ef7b1b/arrow/libarrow/arrow-14.0.2/include -I/usr/local/include   -DARROW_R_WITH_PARQUET -DARROW_R_WITH_DATASET -DARROW_R_WITH_ACERO -DARROW_R_WITH_JSON -I'/usr/local/lib/R/4.3/site-library/cpp11/include' -I/usr/local/opt/gettext/include -I/usr/local/opt/readline/include -I/usr/local/opt/xz/include -I/usr/local/include    -fPIC  -g -O2  -c safe-call-into-r-impl.cpp -o safe-call-into-r-impl.o
clang++ -std=gnu++17 -I"/usr/local/Cellar/r/4.3.2/lib/R/include" -DNDEBUG -DPARQUET_STATIC -DARROW_STATIC -DUTF8PROC_EXPORTS -I/private/var/folders/51/_zgvmgx518q_r6_3w0_kfpw40000gn/T/RtmpAh2P2D/R.INSTALL1094639ef7b1b/arrow/libarrow/arrow-14.0.2/include -I/usr/local/include   -DARROW_R_WITH_PARQUET -DARROW_R_WITH_DATASET -DARROW_R_WITH_ACERO -DARROW_R_WITH_JSON -I'/usr/local/lib/R/4.3/site-library/cpp11/include' -I/usr/local/opt/gettext/include -I/usr/local/opt/readline/include -I/usr/local/opt/xz/include -I/usr/local/include    -fPIC  -g -O2  -c scalar.cpp -o scalar.o
clang++ -std=gnu++17 -I"/usr/local/Cellar/r/4.3.2/lib/R/include" -DNDEBUG -DPARQUET_STATIC -DARROW_STATIC -DUTF8PROC_EXPORTS -I/private/var/folders/51/_zgvmgx518q_r6_3w0_kfpw40000gn/T/RtmpAh2P2D/R.INSTALL1094639ef7b1b/arrow/libarrow/arrow-14.0.2/include -I/usr/local/include   -DARROW_R_WITH_PARQUET -DARROW_R_WITH_DATASET -DARROW_R_WITH_ACERO -DARROW_R_WITH_JSON -I'/usr/local/lib/R/4.3/site-library/cpp11/include' -I/usr/local/opt/gettext/include -I/usr/local/opt/readline/include -I/usr/local/opt/xz/include -I/usr/local/include    -fPIC  -g -O2  -c schema.cpp -o schema.o
clang++ -std=gnu++17 -I"/usr/local/Cellar/r/4.3.2/lib/R/include" -DNDEBUG -DPARQUET_STATIC -DARROW_STATIC -DUTF8PROC_EXPORTS -I/private/var/folders/51/_zgvmgx518q_r6_3w0_kfpw40000gn/T/RtmpAh2P2D/R.INSTALL1094639ef7b1b/arrow/libarrow/arrow-14.0.2/include -I/usr/local/include   -DARROW_R_WITH_PARQUET -DARROW_R_WITH_DATASET -DARROW_R_WITH_ACERO -DARROW_R_WITH_JSON -I'/usr/local/lib/R/4.3/site-library/cpp11/include' -I/usr/local/opt/gettext/include -I/usr/local/opt/readline/include -I/usr/local/opt/xz/include -I/usr/local/include    -fPIC  -g -O2  -c symbols.cpp -o symbols.o
clang++ -std=gnu++17 -I"/usr/local/Cellar/r/4.3.2/lib/R/include" -DNDEBUG -DPARQUET_STATIC -DARROW_STATIC -DUTF8PROC_EXPORTS -I/private/var/folders/51/_zgvmgx518q_r6_3w0_kfpw40000gn/T/RtmpAh2P2D/R.INSTALL1094639ef7b1b/arrow/libarrow/arrow-14.0.2/include -I/usr/local/include   -DARROW_R_WITH_PARQUET -DARROW_R_WITH_DATASET -DARROW_R_WITH_ACERO -DARROW_R_WITH_JSON -I'/usr/local/lib/R/4.3/site-library/cpp11/include' -I/usr/local/opt/gettext/include -I/usr/local/opt/readline/include -I/usr/local/opt/xz/include -I/usr/local/include    -fPIC  -g -O2  -c table.cpp -o table.o
clang++ -std=gnu++17 -I"/usr/local/Cellar/r/4.3.2/lib/R/include" -DNDEBUG -DPARQUET_STATIC -DARROW_STATIC -DUTF8PROC_EXPORTS -I/private/var/folders/51/_zgvmgx518q_r6_3w0_kfpw40000gn/T/RtmpAh2P2D/R.INSTALL1094639ef7b1b/arrow/libarrow/arrow-14.0.2/include -I/usr/local/include   -DARROW_R_WITH_PARQUET -DARROW_R_WITH_DATASET -DARROW_R_WITH_ACERO -DARROW_R_WITH_JSON -I'/usr/local/lib/R/4.3/site-library/cpp11/include' -I/usr/local/opt/gettext/include -I/usr/local/opt/readline/include -I/usr/local/opt/xz/include -I/usr/local/include    -fPIC  -g -O2  -c threadpool.cpp -o threadpool.o
clang++ -std=gnu++17 -I"/usr/local/Cellar/r/4.3.2/lib/R/include" -DNDEBUG -DPARQUET_STATIC -DARROW_STATIC -DUTF8PROC_EXPORTS -I/private/var/folders/51/_zgvmgx518q_r6_3w0_kfpw40000gn/T/RtmpAh2P2D/R.INSTALL1094639ef7b1b/arrow/libarrow/arrow-14.0.2/include -I/usr/local/include   -DARROW_R_WITH_PARQUET -DARROW_R_WITH_DATASET -DARROW_R_WITH_ACERO -DARROW_R_WITH_JSON -I'/usr/local/lib/R/4.3/site-library/cpp11/include' -I/usr/local/opt/gettext/include -I/usr/local/opt/readline/include -I/usr/local/opt/xz/include -I/usr/local/include    -fPIC  -g -O2  -c type_infer.cpp -o type_infer.o
clang++ -std=gnu++17 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -L/usr/local/Cellar/r/4.3.2/lib/R/lib -L/usr/local/opt/gettext/lib -L/usr/local/opt/readline/lib -L/usr/local/opt/xz/lib -L/usr/local/lib -o arrow.so RTasks.o altrep.o array.o array_to_vector.o arraydata.o arrowExports.o bridge.o buffer.o chunkedarray.o compression.o compute-exec.o compute.o config.o csv.o dataset.o datatype.o expression.o extension-impl.o feather.o field.o filesystem.o io.o json.o memorypool.o message.o parquet.o r_to_arrow.o recordbatch.o recordbatchreader.o recordbatchwriter.o safe-call-into-r-impl.o scalar.o schema.o symbols.o table.o threadpool.o type_infer.o -L/private/var/folders/51/_zgvmgx518q_r6_3w0_kfpw40000gn/T/RtmpAh2P2D/R.INSTALL1094639ef7b1b/arrow/libarrow/arrow-14.0.2/lib -L/usr/local/lib -larrow_dataset -lparquet -lthrift -larrow_acero -larrow -larrow_bundled_dependencies /usr/local/lib/libsnappy.1.1.10.dylib -lutf8proc -L/usr/local/Cellar/r/4.3.2/lib/R/lib -lR -lintl -Wl,-framework -Wl,CoreFoundation
installing to /usr/local/lib/R/4.3/site-library/00LOCK-arrow/00new/arrow/libs
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** 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/4.3/site-library/00LOCK-arrow/00new/arrow/libs/arrow.so':
  dlopen(/usr/local/lib/R/4.3/site-library/00LOCK-arrow/00new/arrow/libs/arrow.so, 0x0006): symbol not found in flat namespace '__ZNK5arrow12ChunkedArray6EqualsERKNSt3__110shared_ptrIS0_EE'
Error: loading failed
Execution halted
ERROR: loading failed
* removing ‘/usr/local/lib/R/4.3/site-library/arrow’

The downloaded source packages are in
        ‘/private/var/folders/51/_zgvmgx518q_r6_3w0_kfpw40000gn/T/Rtmp2xrMNe/downloaded_packages’
Warning message:
In install.packages("arrow") :
  installation of package ‘arrow’ had non-zero exit status

maybe we can re-open this @assignUser ?

dsolito commented 8 months ago

Tried to install from the script but with no luck.

> install_arrow()

Installing package into ‘/usr/local/lib/R/4.3/site-library’
(as ‘lib’ is unspecified)
trying URL 'https://packagemanager.posit.co/cran/latest/src/contrib/arrow_14.0.2.1.tar.gz'
Content type 'binary/octet-stream' length 4278652 bytes (4.1 MB)
==================================================
downloaded 4.1 MB

* installing *source* package ‘arrow’ ...
** package ‘arrow’ successfully unpacked and MD5 sums checked
** using staged installation
*** pkg-config not found.
*** Found libcurl and OpenSSL >= 3.0.0
*** Checksum validated successfully for libarrow
*** Successfully retrieved libarrow (darwin-x86_64-openssl-3.0)
PKG_CFLAGS=-I/private/var/folders/51/_zgvmgx518q_r6_3w0_kfpw40000gn/T/RtmpygAkya/R.INSTALL23a55299918c/arrow/libarrow/arrow-14.0.2/include   -DARROW_R_WITH_PARQUET -DARROW_R_WITH_DATASET -DARROW_R_WITH_ACERO -DARROW_R_WITH_JSON -DARROW_R_WITH_S3 -DARROW_R_WITH_GCS
PKG_LIBS=-L/private/var/folders/51/_zgvmgx518q_r6_3w0_kfpw40000gn/T/RtmpygAkya/R.INSTALL23a55299918c/arrow/libarrow/arrow-14.0.2/lib -larrow_acero -larrow_dataset -lparquet  -larrow -larrow_bundled_dependencies  -lcurl -lssl -lcrypto
** libs
using C++ compiler: ‘Apple clang version 15.0.0 (clang-1500.1.0.2.5)’
using C++17
using SDK: ‘MacOSX14.2.sdk’
clang++ -std=gnu++17 -I"/usr/local/Cellar/r/4.3.2/lib/R/include" -DNDEBUG -I/private/var/folders/51/_zgvmgx518q_r6_3w0_kfpw40000gn/T/RtmpygAkya/R.INSTALL23a55299918c/arrow/libarrow/arrow-14.0.2/include   -DARROW_R_WITH_PARQUET -DARROW_R_WITH_DATASET -DARROW_R_WITH_ACERO -DARROW_R_WITH_JSON -DARROW_R_WITH_S3 -DARROW_R_WITH_GCS -I'/usr/local/lib/R/4.3/site-library/cpp11/include' -I/usr/local/opt/gettext/include -I/usr/local/opt/readline/include -I/usr/local/opt/xz/include -I/usr/local/include    -fPIC  -g -O2  -c RTasks.cpp -o RTasks.o
clang++ -std=gnu++17 -I"/usr/local/Cellar/r/4.3.2/lib/R/include" -DNDEBUG -I/private/var/folders/51/_zgvmgx518q_r6_3w0_kfpw40000gn/T/RtmpygAkya/R.INSTALL23a55299918c/arrow/libarrow/arrow-14.0.2/include   -DARROW_R_WITH_PARQUET -DARROW_R_WITH_DATASET -DARROW_R_WITH_ACERO -DARROW_R_WITH_JSON -DARROW_R_WITH_S3 -DARROW_R_WITH_GCS -I'/usr/local/lib/R/4.3/site-library/cpp11/include' -I/usr/local/opt/gettext/include -I/usr/local/opt/readline/include -I/usr/local/opt/xz/include -I/usr/local/include    -fPIC  -g -O2  -c altrep.cpp -o altrep.o
clang++ -std=gnu++17 -I"/usr/local/Cellar/r/4.3.2/lib/R/include" -DNDEBUG -I/private/var/folders/51/_zgvmgx518q_r6_3w0_kfpw40000gn/T/RtmpygAkya/R.INSTALL23a55299918c/arrow/libarrow/arrow-14.0.2/include   -DARROW_R_WITH_PARQUET -DARROW_R_WITH_DATASET -DARROW_R_WITH_ACERO -DARROW_R_WITH_JSON -DARROW_R_WITH_S3 -DARROW_R_WITH_GCS -I'/usr/local/lib/R/4.3/site-library/cpp11/include' -I/usr/local/opt/gettext/include -I/usr/local/opt/readline/include -I/usr/local/opt/xz/include -I/usr/local/include    -fPIC  -g -O2  -c array.cpp -o array.o
clang++ -std=gnu++17 -I"/usr/local/Cellar/r/4.3.2/lib/R/include" -DNDEBUG -I/private/var/folders/51/_zgvmgx518q_r6_3w0_kfpw40000gn/T/RtmpygAkya/R.INSTALL23a55299918c/arrow/libarrow/arrow-14.0.2/include   -DARROW_R_WITH_PARQUET -DARROW_R_WITH_DATASET -DARROW_R_WITH_ACERO -DARROW_R_WITH_JSON -DARROW_R_WITH_S3 -DARROW_R_WITH_GCS -I'/usr/local/lib/R/4.3/site-library/cpp11/include' -I/usr/local/opt/gettext/include -I/usr/local/opt/readline/include -I/usr/local/opt/xz/include -I/usr/local/include    -fPIC  -g -O2  -c array_to_vector.cpp -o array_to_vector.o
clang++ -std=gnu++17 -I"/usr/local/Cellar/r/4.3.2/lib/R/include" -DNDEBUG -I/private/var/folders/51/_zgvmgx518q_r6_3w0_kfpw40000gn/T/RtmpygAkya/R.INSTALL23a55299918c/arrow/libarrow/arrow-14.0.2/include   -DARROW_R_WITH_PARQUET -DARROW_R_WITH_DATASET -DARROW_R_WITH_ACERO -DARROW_R_WITH_JSON -DARROW_R_WITH_S3 -DARROW_R_WITH_GCS -I'/usr/local/lib/R/4.3/site-library/cpp11/include' -I/usr/local/opt/gettext/include -I/usr/local/opt/readline/include -I/usr/local/opt/xz/include -I/usr/local/include    -fPIC  -g -O2  -c arraydata.cpp -o arraydata.o
clang++ -std=gnu++17 -I"/usr/local/Cellar/r/4.3.2/lib/R/include" -DNDEBUG -I/private/var/folders/51/_zgvmgx518q_r6_3w0_kfpw40000gn/T/RtmpygAkya/R.INSTALL23a55299918c/arrow/libarrow/arrow-14.0.2/include   -DARROW_R_WITH_PARQUET -DARROW_R_WITH_DATASET -DARROW_R_WITH_ACERO -DARROW_R_WITH_JSON -DARROW_R_WITH_S3 -DARROW_R_WITH_GCS -I'/usr/local/lib/R/4.3/site-library/cpp11/include' -I/usr/local/opt/gettext/include -I/usr/local/opt/readline/include -I/usr/local/opt/xz/include -I/usr/local/include    -fPIC  -g -O2  -c arrowExports.cpp -o arrowExports.o
clang++ -std=gnu++17 -I"/usr/local/Cellar/r/4.3.2/lib/R/include" -DNDEBUG -I/private/var/folders/51/_zgvmgx518q_r6_3w0_kfpw40000gn/T/RtmpygAkya/R.INSTALL23a55299918c/arrow/libarrow/arrow-14.0.2/include   -DARROW_R_WITH_PARQUET -DARROW_R_WITH_DATASET -DARROW_R_WITH_ACERO -DARROW_R_WITH_JSON -DARROW_R_WITH_S3 -DARROW_R_WITH_GCS -I'/usr/local/lib/R/4.3/site-library/cpp11/include' -I/usr/local/opt/gettext/include -I/usr/local/opt/readline/include -I/usr/local/opt/xz/include -I/usr/local/include    -fPIC  -g -O2  -c bridge.cpp -o bridge.o
clang++ -std=gnu++17 -I"/usr/local/Cellar/r/4.3.2/lib/R/include" -DNDEBUG -I/private/var/folders/51/_zgvmgx518q_r6_3w0_kfpw40000gn/T/RtmpygAkya/R.INSTALL23a55299918c/arrow/libarrow/arrow-14.0.2/include   -DARROW_R_WITH_PARQUET -DARROW_R_WITH_DATASET -DARROW_R_WITH_ACERO -DARROW_R_WITH_JSON -DARROW_R_WITH_S3 -DARROW_R_WITH_GCS -I'/usr/local/lib/R/4.3/site-library/cpp11/include' -I/usr/local/opt/gettext/include -I/usr/local/opt/readline/include -I/usr/local/opt/xz/include -I/usr/local/include    -fPIC  -g -O2  -c buffer.cpp -o buffer.o
clang++ -std=gnu++17 -I"/usr/local/Cellar/r/4.3.2/lib/R/include" -DNDEBUG -I/private/var/folders/51/_zgvmgx518q_r6_3w0_kfpw40000gn/T/RtmpygAkya/R.INSTALL23a55299918c/arrow/libarrow/arrow-14.0.2/include   -DARROW_R_WITH_PARQUET -DARROW_R_WITH_DATASET -DARROW_R_WITH_ACERO -DARROW_R_WITH_JSON -DARROW_R_WITH_S3 -DARROW_R_WITH_GCS -I'/usr/local/lib/R/4.3/site-library/cpp11/include' -I/usr/local/opt/gettext/include -I/usr/local/opt/readline/include -I/usr/local/opt/xz/include -I/usr/local/include    -fPIC  -g -O2  -c chunkedarray.cpp -o chunkedarray.o
clang++ -std=gnu++17 -I"/usr/local/Cellar/r/4.3.2/lib/R/include" -DNDEBUG -I/private/var/folders/51/_zgvmgx518q_r6_3w0_kfpw40000gn/T/RtmpygAkya/R.INSTALL23a55299918c/arrow/libarrow/arrow-14.0.2/include   -DARROW_R_WITH_PARQUET -DARROW_R_WITH_DATASET -DARROW_R_WITH_ACERO -DARROW_R_WITH_JSON -DARROW_R_WITH_S3 -DARROW_R_WITH_GCS -I'/usr/local/lib/R/4.3/site-library/cpp11/include' -I/usr/local/opt/gettext/include -I/usr/local/opt/readline/include -I/usr/local/opt/xz/include -I/usr/local/include    -fPIC  -g -O2  -c compression.cpp -o compression.o
clang++ -std=gnu++17 -I"/usr/local/Cellar/r/4.3.2/lib/R/include" -DNDEBUG -I/private/var/folders/51/_zgvmgx518q_r6_3w0_kfpw40000gn/T/RtmpygAkya/R.INSTALL23a55299918c/arrow/libarrow/arrow-14.0.2/include   -DARROW_R_WITH_PARQUET -DARROW_R_WITH_DATASET -DARROW_R_WITH_ACERO -DARROW_R_WITH_JSON -DARROW_R_WITH_S3 -DARROW_R_WITH_GCS -I'/usr/local/lib/R/4.3/site-library/cpp11/include' -I/usr/local/opt/gettext/include -I/usr/local/opt/readline/include -I/usr/local/opt/xz/include -I/usr/local/include    -fPIC  -g -O2  -c compute-exec.cpp -o compute-exec.o
clang++ -std=gnu++17 -I"/usr/local/Cellar/r/4.3.2/lib/R/include" -DNDEBUG -I/private/var/folders/51/_zgvmgx518q_r6_3w0_kfpw40000gn/T/RtmpygAkya/R.INSTALL23a55299918c/arrow/libarrow/arrow-14.0.2/include   -DARROW_R_WITH_PARQUET -DARROW_R_WITH_DATASET -DARROW_R_WITH_ACERO -DARROW_R_WITH_JSON -DARROW_R_WITH_S3 -DARROW_R_WITH_GCS -I'/usr/local/lib/R/4.3/site-library/cpp11/include' -I/usr/local/opt/gettext/include -I/usr/local/opt/readline/include -I/usr/local/opt/xz/include -I/usr/local/include    -fPIC  -g -O2  -c compute.cpp -o compute.o
clang++ -std=gnu++17 -I"/usr/local/Cellar/r/4.3.2/lib/R/include" -DNDEBUG -I/private/var/folders/51/_zgvmgx518q_r6_3w0_kfpw40000gn/T/RtmpygAkya/R.INSTALL23a55299918c/arrow/libarrow/arrow-14.0.2/include   -DARROW_R_WITH_PARQUET -DARROW_R_WITH_DATASET -DARROW_R_WITH_ACERO -DARROW_R_WITH_JSON -DARROW_R_WITH_S3 -DARROW_R_WITH_GCS -I'/usr/local/lib/R/4.3/site-library/cpp11/include' -I/usr/local/opt/gettext/include -I/usr/local/opt/readline/include -I/usr/local/opt/xz/include -I/usr/local/include    -fPIC  -g -O2  -c config.cpp -o config.o
clang++ -std=gnu++17 -I"/usr/local/Cellar/r/4.3.2/lib/R/include" -DNDEBUG -I/private/var/folders/51/_zgvmgx518q_r6_3w0_kfpw40000gn/T/RtmpygAkya/R.INSTALL23a55299918c/arrow/libarrow/arrow-14.0.2/include   -DARROW_R_WITH_PARQUET -DARROW_R_WITH_DATASET -DARROW_R_WITH_ACERO -DARROW_R_WITH_JSON -DARROW_R_WITH_S3 -DARROW_R_WITH_GCS -I'/usr/local/lib/R/4.3/site-library/cpp11/include' -I/usr/local/opt/gettext/include -I/usr/local/opt/readline/include -I/usr/local/opt/xz/include -I/usr/local/include    -fPIC  -g -O2  -c csv.cpp -o csv.o
clang++ -std=gnu++17 -I"/usr/local/Cellar/r/4.3.2/lib/R/include" -DNDEBUG -I/private/var/folders/51/_zgvmgx518q_r6_3w0_kfpw40000gn/T/RtmpygAkya/R.INSTALL23a55299918c/arrow/libarrow/arrow-14.0.2/include   -DARROW_R_WITH_PARQUET -DARROW_R_WITH_DATASET -DARROW_R_WITH_ACERO -DARROW_R_WITH_JSON -DARROW_R_WITH_S3 -DARROW_R_WITH_GCS -I'/usr/local/lib/R/4.3/site-library/cpp11/include' -I/usr/local/opt/gettext/include -I/usr/local/opt/readline/include -I/usr/local/opt/xz/include -I/usr/local/include    -fPIC  -g -O2  -c dataset.cpp -o dataset.o
clang++ -std=gnu++17 -I"/usr/local/Cellar/r/4.3.2/lib/R/include" -DNDEBUG -I/private/var/folders/51/_zgvmgx518q_r6_3w0_kfpw40000gn/T/RtmpygAkya/R.INSTALL23a55299918c/arrow/libarrow/arrow-14.0.2/include   -DARROW_R_WITH_PARQUET -DARROW_R_WITH_DATASET -DARROW_R_WITH_ACERO -DARROW_R_WITH_JSON -DARROW_R_WITH_S3 -DARROW_R_WITH_GCS -I'/usr/local/lib/R/4.3/site-library/cpp11/include' -I/usr/local/opt/gettext/include -I/usr/local/opt/readline/include -I/usr/local/opt/xz/include -I/usr/local/include    -fPIC  -g -O2  -c datatype.cpp -o datatype.o
clang++ -std=gnu++17 -I"/usr/local/Cellar/r/4.3.2/lib/R/include" -DNDEBUG -I/private/var/folders/51/_zgvmgx518q_r6_3w0_kfpw40000gn/T/RtmpygAkya/R.INSTALL23a55299918c/arrow/libarrow/arrow-14.0.2/include   -DARROW_R_WITH_PARQUET -DARROW_R_WITH_DATASET -DARROW_R_WITH_ACERO -DARROW_R_WITH_JSON -DARROW_R_WITH_S3 -DARROW_R_WITH_GCS -I'/usr/local/lib/R/4.3/site-library/cpp11/include' -I/usr/local/opt/gettext/include -I/usr/local/opt/readline/include -I/usr/local/opt/xz/include -I/usr/local/include    -fPIC  -g -O2  -c expression.cpp -o expression.o
clang++ -std=gnu++17 -I"/usr/local/Cellar/r/4.3.2/lib/R/include" -DNDEBUG -I/private/var/folders/51/_zgvmgx518q_r6_3w0_kfpw40000gn/T/RtmpygAkya/R.INSTALL23a55299918c/arrow/libarrow/arrow-14.0.2/include   -DARROW_R_WITH_PARQUET -DARROW_R_WITH_DATASET -DARROW_R_WITH_ACERO -DARROW_R_WITH_JSON -DARROW_R_WITH_S3 -DARROW_R_WITH_GCS -I'/usr/local/lib/R/4.3/site-library/cpp11/include' -I/usr/local/opt/gettext/include -I/usr/local/opt/readline/include -I/usr/local/opt/xz/include -I/usr/local/include    -fPIC  -g -O2  -c extension-impl.cpp -o extension-impl.o
clang++ -std=gnu++17 -I"/usr/local/Cellar/r/4.3.2/lib/R/include" -DNDEBUG -I/private/var/folders/51/_zgvmgx518q_r6_3w0_kfpw40000gn/T/RtmpygAkya/R.INSTALL23a55299918c/arrow/libarrow/arrow-14.0.2/include   -DARROW_R_WITH_PARQUET -DARROW_R_WITH_DATASET -DARROW_R_WITH_ACERO -DARROW_R_WITH_JSON -DARROW_R_WITH_S3 -DARROW_R_WITH_GCS -I'/usr/local/lib/R/4.3/site-library/cpp11/include' -I/usr/local/opt/gettext/include -I/usr/local/opt/readline/include -I/usr/local/opt/xz/include -I/usr/local/include    -fPIC  -g -O2  -c feather.cpp -o feather.o
clang++ -std=gnu++17 -I"/usr/local/Cellar/r/4.3.2/lib/R/include" -DNDEBUG -I/private/var/folders/51/_zgvmgx518q_r6_3w0_kfpw40000gn/T/RtmpygAkya/R.INSTALL23a55299918c/arrow/libarrow/arrow-14.0.2/include   -DARROW_R_WITH_PARQUET -DARROW_R_WITH_DATASET -DARROW_R_WITH_ACERO -DARROW_R_WITH_JSON -DARROW_R_WITH_S3 -DARROW_R_WITH_GCS -I'/usr/local/lib/R/4.3/site-library/cpp11/include' -I/usr/local/opt/gettext/include -I/usr/local/opt/readline/include -I/usr/local/opt/xz/include -I/usr/local/include    -fPIC  -g -O2  -c field.cpp -o field.o
clang++ -std=gnu++17 -I"/usr/local/Cellar/r/4.3.2/lib/R/include" -DNDEBUG -I/private/var/folders/51/_zgvmgx518q_r6_3w0_kfpw40000gn/T/RtmpygAkya/R.INSTALL23a55299918c/arrow/libarrow/arrow-14.0.2/include   -DARROW_R_WITH_PARQUET -DARROW_R_WITH_DATASET -DARROW_R_WITH_ACERO -DARROW_R_WITH_JSON -DARROW_R_WITH_S3 -DARROW_R_WITH_GCS -I'/usr/local/lib/R/4.3/site-library/cpp11/include' -I/usr/local/opt/gettext/include -I/usr/local/opt/readline/include -I/usr/local/opt/xz/include -I/usr/local/include    -fPIC  -g -O2  -c filesystem.cpp -o filesystem.o
clang++ -std=gnu++17 -I"/usr/local/Cellar/r/4.3.2/lib/R/include" -DNDEBUG -I/private/var/folders/51/_zgvmgx518q_r6_3w0_kfpw40000gn/T/RtmpygAkya/R.INSTALL23a55299918c/arrow/libarrow/arrow-14.0.2/include   -DARROW_R_WITH_PARQUET -DARROW_R_WITH_DATASET -DARROW_R_WITH_ACERO -DARROW_R_WITH_JSON -DARROW_R_WITH_S3 -DARROW_R_WITH_GCS -I'/usr/local/lib/R/4.3/site-library/cpp11/include' -I/usr/local/opt/gettext/include -I/usr/local/opt/readline/include -I/usr/local/opt/xz/include -I/usr/local/include    -fPIC  -g -O2  -c io.cpp -o io.o
clang++ -std=gnu++17 -I"/usr/local/Cellar/r/4.3.2/lib/R/include" -DNDEBUG -I/private/var/folders/51/_zgvmgx518q_r6_3w0_kfpw40000gn/T/RtmpygAkya/R.INSTALL23a55299918c/arrow/libarrow/arrow-14.0.2/include   -DARROW_R_WITH_PARQUET -DARROW_R_WITH_DATASET -DARROW_R_WITH_ACERO -DARROW_R_WITH_JSON -DARROW_R_WITH_S3 -DARROW_R_WITH_GCS -I'/usr/local/lib/R/4.3/site-library/cpp11/include' -I/usr/local/opt/gettext/include -I/usr/local/opt/readline/include -I/usr/local/opt/xz/include -I/usr/local/include    -fPIC  -g -O2  -c json.cpp -o json.o
clang++ -std=gnu++17 -I"/usr/local/Cellar/r/4.3.2/lib/R/include" -DNDEBUG -I/private/var/folders/51/_zgvmgx518q_r6_3w0_kfpw40000gn/T/RtmpygAkya/R.INSTALL23a55299918c/arrow/libarrow/arrow-14.0.2/include   -DARROW_R_WITH_PARQUET -DARROW_R_WITH_DATASET -DARROW_R_WITH_ACERO -DARROW_R_WITH_JSON -DARROW_R_WITH_S3 -DARROW_R_WITH_GCS -I'/usr/local/lib/R/4.3/site-library/cpp11/include' -I/usr/local/opt/gettext/include -I/usr/local/opt/readline/include -I/usr/local/opt/xz/include -I/usr/local/include    -fPIC  -g -O2  -c memorypool.cpp -o memorypool.o
clang++ -std=gnu++17 -I"/usr/local/Cellar/r/4.3.2/lib/R/include" -DNDEBUG -I/private/var/folders/51/_zgvmgx518q_r6_3w0_kfpw40000gn/T/RtmpygAkya/R.INSTALL23a55299918c/arrow/libarrow/arrow-14.0.2/include   -DARROW_R_WITH_PARQUET -DARROW_R_WITH_DATASET -DARROW_R_WITH_ACERO -DARROW_R_WITH_JSON -DARROW_R_WITH_S3 -DARROW_R_WITH_GCS -I'/usr/local/lib/R/4.3/site-library/cpp11/include' -I/usr/local/opt/gettext/include -I/usr/local/opt/readline/include -I/usr/local/opt/xz/include -I/usr/local/include    -fPIC  -g -O2  -c message.cpp -o message.o
clang++ -std=gnu++17 -I"/usr/local/Cellar/r/4.3.2/lib/R/include" -DNDEBUG -I/private/var/folders/51/_zgvmgx518q_r6_3w0_kfpw40000gn/T/RtmpygAkya/R.INSTALL23a55299918c/arrow/libarrow/arrow-14.0.2/include   -DARROW_R_WITH_PARQUET -DARROW_R_WITH_DATASET -DARROW_R_WITH_ACERO -DARROW_R_WITH_JSON -DARROW_R_WITH_S3 -DARROW_R_WITH_GCS -I'/usr/local/lib/R/4.3/site-library/cpp11/include' -I/usr/local/opt/gettext/include -I/usr/local/opt/readline/include -I/usr/local/opt/xz/include -I/usr/local/include    -fPIC  -g -O2  -c parquet.cpp -o parquet.o
clang++ -std=gnu++17 -I"/usr/local/Cellar/r/4.3.2/lib/R/include" -DNDEBUG -I/private/var/folders/51/_zgvmgx518q_r6_3w0_kfpw40000gn/T/RtmpygAkya/R.INSTALL23a55299918c/arrow/libarrow/arrow-14.0.2/include   -DARROW_R_WITH_PARQUET -DARROW_R_WITH_DATASET -DARROW_R_WITH_ACERO -DARROW_R_WITH_JSON -DARROW_R_WITH_S3 -DARROW_R_WITH_GCS -I'/usr/local/lib/R/4.3/site-library/cpp11/include' -I/usr/local/opt/gettext/include -I/usr/local/opt/readline/include -I/usr/local/opt/xz/include -I/usr/local/include    -fPIC  -g -O2  -c r_to_arrow.cpp -o r_to_arrow.o
clang++ -std=gnu++17 -I"/usr/local/Cellar/r/4.3.2/lib/R/include" -DNDEBUG -I/private/var/folders/51/_zgvmgx518q_r6_3w0_kfpw40000gn/T/RtmpygAkya/R.INSTALL23a55299918c/arrow/libarrow/arrow-14.0.2/include   -DARROW_R_WITH_PARQUET -DARROW_R_WITH_DATASET -DARROW_R_WITH_ACERO -DARROW_R_WITH_JSON -DARROW_R_WITH_S3 -DARROW_R_WITH_GCS -I'/usr/local/lib/R/4.3/site-library/cpp11/include' -I/usr/local/opt/gettext/include -I/usr/local/opt/readline/include -I/usr/local/opt/xz/include -I/usr/local/include    -fPIC  -g -O2  -c recordbatch.cpp -o recordbatch.o
clang++ -std=gnu++17 -I"/usr/local/Cellar/r/4.3.2/lib/R/include" -DNDEBUG -I/private/var/folders/51/_zgvmgx518q_r6_3w0_kfpw40000gn/T/RtmpygAkya/R.INSTALL23a55299918c/arrow/libarrow/arrow-14.0.2/include   -DARROW_R_WITH_PARQUET -DARROW_R_WITH_DATASET -DARROW_R_WITH_ACERO -DARROW_R_WITH_JSON -DARROW_R_WITH_S3 -DARROW_R_WITH_GCS -I'/usr/local/lib/R/4.3/site-library/cpp11/include' -I/usr/local/opt/gettext/include -I/usr/local/opt/readline/include -I/usr/local/opt/xz/include -I/usr/local/include    -fPIC  -g -O2  -c recordbatchreader.cpp -o recordbatchreader.o
clang++ -std=gnu++17 -I"/usr/local/Cellar/r/4.3.2/lib/R/include" -DNDEBUG -I/private/var/folders/51/_zgvmgx518q_r6_3w0_kfpw40000gn/T/RtmpygAkya/R.INSTALL23a55299918c/arrow/libarrow/arrow-14.0.2/include   -DARROW_R_WITH_PARQUET -DARROW_R_WITH_DATASET -DARROW_R_WITH_ACERO -DARROW_R_WITH_JSON -DARROW_R_WITH_S3 -DARROW_R_WITH_GCS -I'/usr/local/lib/R/4.3/site-library/cpp11/include' -I/usr/local/opt/gettext/include -I/usr/local/opt/readline/include -I/usr/local/opt/xz/include -I/usr/local/include    -fPIC  -g -O2  -c recordbatchwriter.cpp -o recordbatchwriter.o
clang++ -std=gnu++17 -I"/usr/local/Cellar/r/4.3.2/lib/R/include" -DNDEBUG -I/private/var/folders/51/_zgvmgx518q_r6_3w0_kfpw40000gn/T/RtmpygAkya/R.INSTALL23a55299918c/arrow/libarrow/arrow-14.0.2/include   -DARROW_R_WITH_PARQUET -DARROW_R_WITH_DATASET -DARROW_R_WITH_ACERO -DARROW_R_WITH_JSON -DARROW_R_WITH_S3 -DARROW_R_WITH_GCS -I'/usr/local/lib/R/4.3/site-library/cpp11/include' -I/usr/local/opt/gettext/include -I/usr/local/opt/readline/include -I/usr/local/opt/xz/include -I/usr/local/include    -fPIC  -g -O2  -c safe-call-into-r-impl.cpp -o safe-call-into-r-impl.o
clang++ -std=gnu++17 -I"/usr/local/Cellar/r/4.3.2/lib/R/include" -DNDEBUG -I/private/var/folders/51/_zgvmgx518q_r6_3w0_kfpw40000gn/T/RtmpygAkya/R.INSTALL23a55299918c/arrow/libarrow/arrow-14.0.2/include   -DARROW_R_WITH_PARQUET -DARROW_R_WITH_DATASET -DARROW_R_WITH_ACERO -DARROW_R_WITH_JSON -DARROW_R_WITH_S3 -DARROW_R_WITH_GCS -I'/usr/local/lib/R/4.3/site-library/cpp11/include' -I/usr/local/opt/gettext/include -I/usr/local/opt/readline/include -I/usr/local/opt/xz/include -I/usr/local/include    -fPIC  -g -O2  -c scalar.cpp -o scalar.o
clang++ -std=gnu++17 -I"/usr/local/Cellar/r/4.3.2/lib/R/include" -DNDEBUG -I/private/var/folders/51/_zgvmgx518q_r6_3w0_kfpw40000gn/T/RtmpygAkya/R.INSTALL23a55299918c/arrow/libarrow/arrow-14.0.2/include   -DARROW_R_WITH_PARQUET -DARROW_R_WITH_DATASET -DARROW_R_WITH_ACERO -DARROW_R_WITH_JSON -DARROW_R_WITH_S3 -DARROW_R_WITH_GCS -I'/usr/local/lib/R/4.3/site-library/cpp11/include' -I/usr/local/opt/gettext/include -I/usr/local/opt/readline/include -I/usr/local/opt/xz/include -I/usr/local/include    -fPIC  -g -O2  -c schema.cpp -o schema.o
clang++ -std=gnu++17 -I"/usr/local/Cellar/r/4.3.2/lib/R/include" -DNDEBUG -I/private/var/folders/51/_zgvmgx518q_r6_3w0_kfpw40000gn/T/RtmpygAkya/R.INSTALL23a55299918c/arrow/libarrow/arrow-14.0.2/include   -DARROW_R_WITH_PARQUET -DARROW_R_WITH_DATASET -DARROW_R_WITH_ACERO -DARROW_R_WITH_JSON -DARROW_R_WITH_S3 -DARROW_R_WITH_GCS -I'/usr/local/lib/R/4.3/site-library/cpp11/include' -I/usr/local/opt/gettext/include -I/usr/local/opt/readline/include -I/usr/local/opt/xz/include -I/usr/local/include    -fPIC  -g -O2  -c symbols.cpp -o symbols.o
clang++ -std=gnu++17 -I"/usr/local/Cellar/r/4.3.2/lib/R/include" -DNDEBUG -I/private/var/folders/51/_zgvmgx518q_r6_3w0_kfpw40000gn/T/RtmpygAkya/R.INSTALL23a55299918c/arrow/libarrow/arrow-14.0.2/include   -DARROW_R_WITH_PARQUET -DARROW_R_WITH_DATASET -DARROW_R_WITH_ACERO -DARROW_R_WITH_JSON -DARROW_R_WITH_S3 -DARROW_R_WITH_GCS -I'/usr/local/lib/R/4.3/site-library/cpp11/include' -I/usr/local/opt/gettext/include -I/usr/local/opt/readline/include -I/usr/local/opt/xz/include -I/usr/local/include    -fPIC  -g -O2  -c table.cpp -o table.o
clang++ -std=gnu++17 -I"/usr/local/Cellar/r/4.3.2/lib/R/include" -DNDEBUG -I/private/var/folders/51/_zgvmgx518q_r6_3w0_kfpw40000gn/T/RtmpygAkya/R.INSTALL23a55299918c/arrow/libarrow/arrow-14.0.2/include   -DARROW_R_WITH_PARQUET -DARROW_R_WITH_DATASET -DARROW_R_WITH_ACERO -DARROW_R_WITH_JSON -DARROW_R_WITH_S3 -DARROW_R_WITH_GCS -I'/usr/local/lib/R/4.3/site-library/cpp11/include' -I/usr/local/opt/gettext/include -I/usr/local/opt/readline/include -I/usr/local/opt/xz/include -I/usr/local/include    -fPIC  -g -O2  -c threadpool.cpp -o threadpool.o
clang++ -std=gnu++17 -I"/usr/local/Cellar/r/4.3.2/lib/R/include" -DNDEBUG -I/private/var/folders/51/_zgvmgx518q_r6_3w0_kfpw40000gn/T/RtmpygAkya/R.INSTALL23a55299918c/arrow/libarrow/arrow-14.0.2/include   -DARROW_R_WITH_PARQUET -DARROW_R_WITH_DATASET -DARROW_R_WITH_ACERO -DARROW_R_WITH_JSON -DARROW_R_WITH_S3 -DARROW_R_WITH_GCS -I'/usr/local/lib/R/4.3/site-library/cpp11/include' -I/usr/local/opt/gettext/include -I/usr/local/opt/readline/include -I/usr/local/opt/xz/include -I/usr/local/include    -fPIC  -g -O2  -c type_infer.cpp -o type_infer.o
clang++ -std=gnu++17 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -L/usr/local/Cellar/r/4.3.2/lib/R/lib -L/usr/local/opt/gettext/lib -L/usr/local/opt/readline/lib -L/usr/local/opt/xz/lib -L/usr/local/lib -o arrow.so RTasks.o altrep.o array.o array_to_vector.o arraydata.o arrowExports.o bridge.o buffer.o chunkedarray.o compression.o compute-exec.o compute.o config.o csv.o dataset.o datatype.o expression.o extension-impl.o feather.o field.o filesystem.o io.o json.o memorypool.o message.o parquet.o r_to_arrow.o recordbatch.o recordbatchreader.o recordbatchwriter.o safe-call-into-r-impl.o scalar.o schema.o symbols.o table.o threadpool.o type_infer.o -L/private/var/folders/51/_zgvmgx518q_r6_3w0_kfpw40000gn/T/RtmpygAkya/R.INSTALL23a55299918c/arrow/libarrow/arrow-14.0.2/lib -larrow_acero -larrow_dataset -lparquet -larrow -larrow_bundled_dependencies -lcurl -lssl -lcrypto -L/usr/local/Cellar/r/4.3.2/lib/R/lib -lR -lintl -Wl,-framework -Wl,CoreFoundation
installing to /usr/local/lib/R/4.3/site-library/00LOCK-arrow/00new/arrow/libs
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** 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/4.3/site-library/00LOCK-arrow/00new/arrow/libs/arrow.so':
  dlopen(/usr/local/lib/R/4.3/site-library/00LOCK-arrow/00new/arrow/libs/arrow.so, 0x0006): symbol not found in flat namespace '__ZN5arrow2fs10GcsOptions15FromAccessTokenERKNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS2_6chrono10time_pointINSB_12system_clockENSB_8durationIxNS2_5ratioILl1ELl1000000000EEEEEEE'
Error: loading failed
Execution halted
ERROR: loading failed
* removing ‘/usr/local/lib/R/4.3/site-library/arrow’

The downloaded source packages are in
        ‘/private/var/folders/51/_zgvmgx518q_r6_3w0_kfpw40000gn/T/RtmpKFGQ5h/downloaded_packages’
Warning message:
In install.packages("arrow", repos = arrow_repos(repos, nightly),  :
  installation of package ‘arrow’ had non-zero exit status
dsolito commented 8 months ago

Reading this : https://github.com/apache/arrow/issues/39206 So maybe its linked as my version is R homebrew?

dsolito commented 8 months ago

So this is my resolution :

krbundy commented 7 months ago

I had this issue as well.

In my case, it appears that the issue was a mismatched system install of arrow (specifically libarrow-dev, I had version 15.x) and the R package's expected version (11.0.0) which lead to broken links. The R packages' arrow.so linked to a system install of libarrow.so.1100 which does not exist. I was able to fix this using something very similar to the above instructions:

Sys.setenv("NOT_CRAN" = "true", "LIBARROW_BUILD" = FALSE, "ARROW_R_DEV" = TRUE)
install.packages("arrow", type = "source")

The package now works, though I have not checked if it points to the system version of libarrow-dev or downloaded its own. It would also be possible in theory to install a matching version of libarrow-dev, but I have not tried that.

ahcyip commented 3 months ago

For everyone still having trouble with arrow installation and needing parquet functionality in the short term, try the nanoparquet package :)