Zhen-hao opened a new issue #7034: URL: https://github.com/apache/arrow/issues/7034
Hi there, this is more a question than a bug request. I am using NixOS 20.03 and couldn't get the arrow library in R to see the arrow C++ library. Even when I install the library from R itself, it can't find the C++ library after restarting. The following is the installation log in R. This problem might be specific to NixOS. But if anyone can point to the source code that checks for the C++ library, I might be able to help to fix this for NixOS. Thanks in advance! ``` > arrow::install_arrow() Installing package into ‘/home/zhen/R/x86_64-pc-linux-gnu-library/3.6’ (as ‘lib’ is unspecified) trying URL 'https://cran.rstudio.com/src/contrib/arrow_0.17.0.tar.gz' Content type 'application/x-gzip' length 242534 bytes (236 KB) ================================================== downloaded 236 KB * installing *source* package ‘arrow’ ... ** package ‘arrow’ successfully unpacked and MD5 sums checked ** using staged installation *** No C++ binaries found for nixos-20 *** Successfully retrieved C++ source *** Building C++ libraries **** cmake **** arrow ./configure: line 132: cd: libarrow/arrow-0.17.0/lib: No such file or directory ------------------------- NOTE --------------------------- After installation, please run arrow::install_arrow() for help installing required runtime libraries --------------------------------------------------------- ** libs /nix/store/x9vxn05bn19wn2mzn6d4h56glbd02pyr-gcc-wrapper-9.3.0/bin/c++ -std=gnu++11 -I"/nix/store/jk3gaiy3g3fs2866r194yxy0mppyix8n-R-3.6.3/lib/R/include" -DNDEBUG -I"/nix/store/58d1yk61akanrlq3pwnbhbb62vrwk6a6-r-Rcpp-1.0.4/library/Rcpp/include" -fpic -g -O2 -c array.cpp -o array.o /nix/store/x9vxn05bn19wn2mzn6d4h56glbd02pyr-gcc-wrapper-9.3.0/bin/c++ -std=gnu++11 -I"/nix/store/jk3gaiy3g3fs2866r194yxy0mppyix8n-R-3.6.3/lib/R/include" -DNDEBUG -I"/nix/store/58d1yk61akanrlq3pwnbhbb62vrwk6a6-r-Rcpp-1.0.4/library/Rcpp/include" -fpic -g -O2 -c array_from_vector.cpp -o array_from_vector.o /nix/store/x9vxn05bn19wn2mzn6d4h56glbd02pyr-gcc-wrapper-9.3.0/bin/c++ -std=gnu++11 -I"/nix/store/jk3gaiy3g3fs2866r194yxy0mppyix8n-R-3.6.3/lib/R/include" -DNDEBUG -I"/nix/store/58d1yk61akanrlq3pwnbhbb62vrwk6a6-r-Rcpp-1.0.4/library/Rcpp/include" -fpic -g -O2 -c array_to_vector.cpp -o array_to_vector.o /nix/store/x9vxn05bn19wn2mzn6d4h56glbd02pyr-gcc-wrapper-9.3.0/bin/c++ -std=gnu++11 -I"/nix/store/jk3gaiy3g3fs2866r194yxy0mppyix8n-R-3.6.3/lib/R/include" -DNDEBUG -I"/nix/store/58d1yk61akanrlq3pwnbhbb62vrwk6a6-r-Rcpp-1.0.4/library/Rcpp/include" -fpic -g -O2 -c arraydata.cpp -o arraydata.o /nix/store/x9vxn05bn19wn2mzn6d4h56glbd02pyr-gcc-wrapper-9.3.0/bin/c++ -std=gnu++11 -I"/nix/store/jk3gaiy3g3fs2866r194yxy0mppyix8n-R-3.6.3/lib/R/include" -DNDEBUG -I"/nix/store/58d1yk61akanrlq3pwnbhbb62vrwk6a6-r-Rcpp-1.0.4/library/Rcpp/include" -fpic -g -O2 -c arrowExports.cpp -o arrowExports.o /nix/store/x9vxn05bn19wn2mzn6d4h56glbd02pyr-gcc-wrapper-9.3.0/bin/c++ -std=gnu++11 -I"/nix/store/jk3gaiy3g3fs2866r194yxy0mppyix8n-R-3.6.3/lib/R/include" -DNDEBUG -I"/nix/store/58d1yk61akanrlq3pwnbhbb62vrwk6a6-r-Rcpp-1.0.4/library/Rcpp/include" -fpic -g -O2 -c buffer.cpp -o buffer.o /nix/store/x9vxn05bn19wn2mzn6d4h56glbd02pyr-gcc-wrapper-9.3.0/bin/c++ -std=gnu++11 -I"/nix/store/jk3gaiy3g3fs2866r194yxy0mppyix8n-R-3.6.3/lib/R/include" -DNDEBUG -I"/nix/store/58d1yk61akanrlq3pwnbhbb62vrwk6a6-r-Rcpp-1.0.4/library/Rcpp/include" -fpic -g -O2 -c chunkedarray.cpp -o chunkedarray.o /nix/store/x9vxn05bn19wn2mzn6d4h56glbd02pyr-gcc-wrapper-9.3.0/bin/c++ -std=gnu++11 -I"/nix/store/jk3gaiy3g3fs2866r194yxy0mppyix8n-R-3.6.3/lib/R/include" -DNDEBUG -I"/nix/store/58d1yk61akanrlq3pwnbhbb62vrwk6a6-r-Rcpp-1.0.4/library/Rcpp/include" -fpic -g -O2 -c compression.cpp -o compression.o /nix/store/x9vxn05bn19wn2mzn6d4h56glbd02pyr-gcc-wrapper-9.3.0/bin/c++ -std=gnu++11 -I"/nix/store/jk3gaiy3g3fs2866r194yxy0mppyix8n-R-3.6.3/lib/R/include" -DNDEBUG -I"/nix/store/58d1yk61akanrlq3pwnbhbb62vrwk6a6-r-Rcpp-1.0.4/library/Rcpp/include" -fpic -g -O2 -c compute.cpp -o compute.o /nix/store/x9vxn05bn19wn2mzn6d4h56glbd02pyr-gcc-wrapper-9.3.0/bin/c++ -std=gnu++11 -I"/nix/store/jk3gaiy3g3fs2866r194yxy0mppyix8n-R-3.6.3/lib/R/include" -DNDEBUG -I"/nix/store/58d1yk61akanrlq3pwnbhbb62vrwk6a6-r-Rcpp-1.0.4/library/Rcpp/include" -fpic -g -O2 -c csv.cpp -o csv.o /nix/store/x9vxn05bn19wn2mzn6d4h56glbd02pyr-gcc-wrapper-9.3.0/bin/c++ -std=gnu++11 -I"/nix/store/jk3gaiy3g3fs2866r194yxy0mppyix8n-R-3.6.3/lib/R/include" -DNDEBUG -I"/nix/store/58d1yk61akanrlq3pwnbhbb62vrwk6a6-r-Rcpp-1.0.4/library/Rcpp/include" -fpic -g -O2 -c dataset.cpp -o dataset.o /nix/store/x9vxn05bn19wn2mzn6d4h56glbd02pyr-gcc-wrapper-9.3.0/bin/c++ -std=gnu++11 -I"/nix/store/jk3gaiy3g3fs2866r194yxy0mppyix8n-R-3.6.3/lib/R/include" -DNDEBUG -I"/nix/store/58d1yk61akanrlq3pwnbhbb62vrwk6a6-r-Rcpp-1.0.4/library/Rcpp/include" -fpic -g -O2 -c datatype.cpp -o datatype.o /nix/store/x9vxn05bn19wn2mzn6d4h56glbd02pyr-gcc-wrapper-9.3.0/bin/c++ -std=gnu++11 -I"/nix/store/jk3gaiy3g3fs2866r194yxy0mppyix8n-R-3.6.3/lib/R/include" -DNDEBUG -I"/nix/store/58d1yk61akanrlq3pwnbhbb62vrwk6a6-r-Rcpp-1.0.4/library/Rcpp/include" -fpic -g -O2 -c expression.cpp -o expression.o /nix/store/x9vxn05bn19wn2mzn6d4h56glbd02pyr-gcc-wrapper-9.3.0/bin/c++ -std=gnu++11 -I"/nix/store/jk3gaiy3g3fs2866r194yxy0mppyix8n-R-3.6.3/lib/R/include" -DNDEBUG -I"/nix/store/58d1yk61akanrlq3pwnbhbb62vrwk6a6-r-Rcpp-1.0.4/library/Rcpp/include" -fpic -g -O2 -c feather.cpp -o feather.o /nix/store/x9vxn05bn19wn2mzn6d4h56glbd02pyr-gcc-wrapper-9.3.0/bin/c++ -std=gnu++11 -I"/nix/store/jk3gaiy3g3fs2866r194yxy0mppyix8n-R-3.6.3/lib/R/include" -DNDEBUG -I"/nix/store/58d1yk61akanrlq3pwnbhbb62vrwk6a6-r-Rcpp-1.0.4/library/Rcpp/include" -fpic -g -O2 -c field.cpp -o field.o /nix/store/x9vxn05bn19wn2mzn6d4h56glbd02pyr-gcc-wrapper-9.3.0/bin/c++ -std=gnu++11 -I"/nix/store/jk3gaiy3g3fs2866r194yxy0mppyix8n-R-3.6.3/lib/R/include" -DNDEBUG -I"/nix/store/58d1yk61akanrlq3pwnbhbb62vrwk6a6-r-Rcpp-1.0.4/library/Rcpp/include" -fpic -g -O2 -c filesystem.cpp -o filesystem.o /nix/store/x9vxn05bn19wn2mzn6d4h56glbd02pyr-gcc-wrapper-9.3.0/bin/c++ -std=gnu++11 -I"/nix/store/jk3gaiy3g3fs2866r194yxy0mppyix8n-R-3.6.3/lib/R/include" -DNDEBUG -I"/nix/store/58d1yk61akanrlq3pwnbhbb62vrwk6a6-r-Rcpp-1.0.4/library/Rcpp/include" -fpic -g -O2 -c io.cpp -o io.o /nix/store/x9vxn05bn19wn2mzn6d4h56glbd02pyr-gcc-wrapper-9.3.0/bin/c++ -std=gnu++11 -I"/nix/store/jk3gaiy3g3fs2866r194yxy0mppyix8n-R-3.6.3/lib/R/include" -DNDEBUG -I"/nix/store/58d1yk61akanrlq3pwnbhbb62vrwk6a6-r-Rcpp-1.0.4/library/Rcpp/include" -fpic -g -O2 -c json.cpp -o json.o /nix/store/x9vxn05bn19wn2mzn6d4h56glbd02pyr-gcc-wrapper-9.3.0/bin/c++ -std=gnu++11 -I"/nix/store/jk3gaiy3g3fs2866r194yxy0mppyix8n-R-3.6.3/lib/R/include" -DNDEBUG -I"/nix/store/58d1yk61akanrlq3pwnbhbb62vrwk6a6-r-Rcpp-1.0.4/library/Rcpp/include" -fpic -g -O2 -c memorypool.cpp -o memorypool.o /nix/store/x9vxn05bn19wn2mzn6d4h56glbd02pyr-gcc-wrapper-9.3.0/bin/c++ -std=gnu++11 -I"/nix/store/jk3gaiy3g3fs2866r194yxy0mppyix8n-R-3.6.3/lib/R/include" -DNDEBUG -I"/nix/store/58d1yk61akanrlq3pwnbhbb62vrwk6a6-r-Rcpp-1.0.4/library/Rcpp/include" -fpic -g -O2 -c message.cpp -o message.o /nix/store/x9vxn05bn19wn2mzn6d4h56glbd02pyr-gcc-wrapper-9.3.0/bin/c++ -std=gnu++11 -I"/nix/store/jk3gaiy3g3fs2866r194yxy0mppyix8n-R-3.6.3/lib/R/include" -DNDEBUG -I"/nix/store/58d1yk61akanrlq3pwnbhbb62vrwk6a6-r-Rcpp-1.0.4/library/Rcpp/include" -fpic -g -O2 -c parquet.cpp -o parquet.o /nix/store/x9vxn05bn19wn2mzn6d4h56glbd02pyr-gcc-wrapper-9.3.0/bin/c++ -std=gnu++11 -I"/nix/store/jk3gaiy3g3fs2866r194yxy0mppyix8n-R-3.6.3/lib/R/include" -DNDEBUG -I"/nix/store/58d1yk61akanrlq3pwnbhbb62vrwk6a6-r-Rcpp-1.0.4/library/Rcpp/include" -fpic -g -O2 -c py-to-r.cpp -o py-to-r.o /nix/store/x9vxn05bn19wn2mzn6d4h56glbd02pyr-gcc-wrapper-9.3.0/bin/c++ -std=gnu++11 -I"/nix/store/jk3gaiy3g3fs2866r194yxy0mppyix8n-R-3.6.3/lib/R/include" -DNDEBUG -I"/nix/store/58d1yk61akanrlq3pwnbhbb62vrwk6a6-r-Rcpp-1.0.4/library/Rcpp/include" -fpic -g -O2 -c recordbatch.cpp -o recordbatch.o /nix/store/x9vxn05bn19wn2mzn6d4h56glbd02pyr-gcc-wrapper-9.3.0/bin/c++ -std=gnu++11 -I"/nix/store/jk3gaiy3g3fs2866r194yxy0mppyix8n-R-3.6.3/lib/R/include" -DNDEBUG -I"/nix/store/58d1yk61akanrlq3pwnbhbb62vrwk6a6-r-Rcpp-1.0.4/library/Rcpp/include" -fpic -g -O2 -c recordbatchreader.cpp -o recordbatchreader.o /nix/store/x9vxn05bn19wn2mzn6d4h56glbd02pyr-gcc-wrapper-9.3.0/bin/c++ -std=gnu++11 -I"/nix/store/jk3gaiy3g3fs2866r194yxy0mppyix8n-R-3.6.3/lib/R/include" -DNDEBUG -I"/nix/store/58d1yk61akanrlq3pwnbhbb62vrwk6a6-r-Rcpp-1.0.4/library/Rcpp/include" -fpic -g -O2 -c recordbatchwriter.cpp -o recordbatchwriter.o /nix/store/x9vxn05bn19wn2mzn6d4h56glbd02pyr-gcc-wrapper-9.3.0/bin/c++ -std=gnu++11 -I"/nix/store/jk3gaiy3g3fs2866r194yxy0mppyix8n-R-3.6.3/lib/R/include" -DNDEBUG -I"/nix/store/58d1yk61akanrlq3pwnbhbb62vrwk6a6-r-Rcpp-1.0.4/library/Rcpp/include" -fpic -g -O2 -c schema.cpp -o schema.o /nix/store/x9vxn05bn19wn2mzn6d4h56glbd02pyr-gcc-wrapper-9.3.0/bin/c++ -std=gnu++11 -I"/nix/store/jk3gaiy3g3fs2866r194yxy0mppyix8n-R-3.6.3/lib/R/include" -DNDEBUG -I"/nix/store/58d1yk61akanrlq3pwnbhbb62vrwk6a6-r-Rcpp-1.0.4/library/Rcpp/include" -fpic -g -O2 -c symbols.cpp -o symbols.o /nix/store/x9vxn05bn19wn2mzn6d4h56glbd02pyr-gcc-wrapper-9.3.0/bin/c++ -std=gnu++11 -I"/nix/store/jk3gaiy3g3fs2866r194yxy0mppyix8n-R-3.6.3/lib/R/include" -DNDEBUG -I"/nix/store/58d1yk61akanrlq3pwnbhbb62vrwk6a6-r-Rcpp-1.0.4/library/Rcpp/include" -fpic -g -O2 -c table.cpp -o table.o /nix/store/x9vxn05bn19wn2mzn6d4h56glbd02pyr-gcc-wrapper-9.3.0/bin/c++ -std=gnu++11 -I"/nix/store/jk3gaiy3g3fs2866r194yxy0mppyix8n-R-3.6.3/lib/R/include" -DNDEBUG -I"/nix/store/58d1yk61akanrlq3pwnbhbb62vrwk6a6-r-Rcpp-1.0.4/library/Rcpp/include" -fpic -g -O2 -c threadpool.cpp -o threadpool.o /nix/store/x9vxn05bn19wn2mzn6d4h56glbd02pyr-gcc-wrapper-9.3.0/bin/c++ -std=gnu++11 -shared -L/nix/store/jk3gaiy3g3fs2866r194yxy0mppyix8n-R-3.6.3/lib/R/lib -o arrow.so array.o array_from_vector.o array_to_vector.o arraydata.o arrowExports.o buffer.o chunkedarray.o compression.o compute.o csv.o dataset.o datatype.o expression.o feather.o field.o filesystem.o io.o json.o memorypool.o message.o parquet.o py-to-r.o recordbatch.o recordbatchreader.o recordbatchwriter.o schema.o symbols.o table.o threadpool.o -L/nix/store/jk3gaiy3g3fs2866r194yxy0mppyix8n-R-3.6.3/lib/R/lib -lR installing to /home/zhen/R/x86_64-pc-linux-gnu-library/3.6/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 ** checking absolute paths in shared objects and dynamic libraries ** testing if installed package can be loaded from final location ** testing if installed package keeps a record of temporary installation path * DONE (arrow) The downloaded source packages are in ‘/run/user/1000/RtmpliJLh9/downloaded_packages’ ``` ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org