honghh2018 opened a new issue, #42120:
URL: https://github.com/apache/arrow/issues/42120

   ### Describe the bug, including details regarding any error messages, 
version, and platform.
   
   Hi developer,
       It get weird when install the  r package in centos7.9  with R 4.3.2
       This issue was lying below:
        ** testing if installed package can be loaded from temporary location
   libgcc_s.so.1 must be installed for pthread_cancel to work
   sh: line 1: 74477 Aborted                 (core dumped) R_TESTS= 
'/share/apps/R/R-4.3.2/lib64/R/bin/R' --no-save --no-restore --no-echo 2>&1 < 
'/tmp/RtmpimbwiS/file1151c7c0d5bd8'
   Error: package or namespace load failed for ‘arrow’ in dyn.load(file, 
DLLpath = DLLpath, ...):
    unable to load shared object 
'/share/apps/R/R-4.3.2/lib64/R/library/00LOCK-arrow/00new/arrow/libs/arrow.so':
     
/share/apps/R/R-4.3.2/lib64/R/library/00LOCK-arrow/00new/arrow/libs/arrow.so: 
undefined symbol: __libc_single_threaded
     
     my gcc version was 9.3.0
     and i try to install the arrow with source code 
     build parameter lying below:
     cmake .. -DCMAKE_C_COMPILER=/usr/local/gcc-9.3.0/bin/gcc \
       -DCMAKE_CXX_COMPILER=/usr/local/gcc-9.3.0/bin/g++ \
       -DCMAKE_CXX_STANDARD=17 \
       -DCMAKE_INSTALL_PREFIX=/share/apps/biosoft/arrow-latest \
       -DARROW_PARQUET=ON \
       -DARROW_PYTHON=ON \
       -DARROW_BOOST_USE_SHARED=ON \
       -DARROW_BUILD_TESTS=OFF \
       -DARROW_ACERO=ON \
       -DARROW_DATASET=ON \
       -DARROW_JSON=ON
   
   
   # 编译并安装
   make -j 20
   make install
   
   
   the ressioninfo
   R version 4.3.2 (2023-10-31)
   Platform: x86_64-pc-linux-gnu (64-bit)
   Running under: CentOS Linux 7 (Core)
   
   Matrix products: default
   BLAS:   /share/apps/R/R-4.3.2/lib64/R/lib/libRblas.so 
   LAPACK: /share/apps/R/R-4.3.2/lib64/R/lib/libRlapack.so;  LAPACK version 
3.11.0
   
   locale:
    [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C              
    [3] LC_TIME=en_US.UTF-8        LC_COLLATE=en_US.UTF-8    
    [5] LC_MONETARY=en_US.UTF-8    LC_MESSAGES=en_US.UTF-8   
    [7] LC_PAPER=en_US.UTF-8       LC_NAME=C                 
    [9] LC_ADDRESS=C               LC_TELEPHONE=C            
   [11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C       
   
   time zone: Asia/Shanghai
   tzcode source: system (glibc)
   
   attached base packages:
   [1] stats     graphics  grDevices utils     datasets  methods   base     
   
   loaded via a namespace (and not attached):
   [1] compiler_4.3.2 tools_4.3.2   
   
   Any advices would be appreciated
   best,
   hanhuihong
   
     
     
     
   
   ### Component(s)
   
   C, R


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

To unsubscribe, e-mail: [email protected]

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

Reply via email to