Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found #93

Closed
laresbernardo opened this issue Feb 22, 2021 · 2 comments
Closed

/lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found #93

laresbernardo opened this issue Feb 22, 2021 · 2 comments

Comments

@laresbernardo
Copy link

laresbernardo commented Feb 22, 2021

Hi! Sorry that I must say I can't give a reproducible example for this issue but it's something that is happening when trying to load pROC as a dependency on a local personal library called marsci on a CentOS7 server.

Error: package or namespace load failed for ‘marsci’ in dyn.load(file, DLLpath = DLLpath, ...):
 unable to load shared object '.../R-library/4.0/pROC/libs/pROC.so':
  /lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by .../R-library/4.0/pROC/libs/pROC.so)

My sessionInfo():

R version 3.6.1 (2019-07-05)
Platform: x86_64-redhat-linux-gnu (64-bit)
Running under: CentOS Linux 7 (Core)

Matrix products: default
BLAS:   /usr/local/lib64/R/lib/libRblas.so
LAPACK: /usr/local/lib64/R/lib/libRlapack.so

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       

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

loaded via a namespace (and not attached):
 [1] zip_2.0.4        Rcpp_1.0.2       plyr_1.8.4       pillar_1.4.2    
 [5] fbr_1.28.4       compiler_3.6.1   bitops_1.0-6     base64enc_0.1-3 
 [9] tools_3.6.1      digest_0.6.20    uuid_0.1-2       lubridate_1.7.4 
[13] jsonlite_1.6     evaluate_0.14    tibble_2.1.3     gtable_0.3.0    
[17] pkgconfig_2.0.2  rlang_0.4.0      openxlsx_4.1.0.1 IRdisplay_0.7.0 
[21] IRkernel_1.0.2   httr_1.4.1       repr_1.0.1       withr_2.1.2     
[25] dplyr_0.8.3      stringr_1.4.0    grid_3.6.1       tidyselect_0.2.5
[29] glue_1.3.1       R6_2.4.0         h2o_3.32.0.1     pbdZMQ_0.3-3    
[33] purrr_0.3.2      ggplot2_3.3.2    magrittr_1.5     scales_1.0.0    
[37] htmltools_0.3.6  assertthat_0.2.1 colorspace_1.4-1 stringi_1.4.3   
[41] RCurl_1.95-4.12  munsell_0.5.0    crayon_1.3.4    

Any idea why is it happening? Rings a bell? Do I need additional RPM dependencies?

@xrobin
Copy link
Owner

xrobin commented Feb 23, 2021

Please reinstall pROC with install.packages("pROC") or similar.

@xrobin
Copy link
Owner

xrobin commented Feb 24, 2021

Please reopen if the problem persists after installing the package again.

@xrobin xrobin closed this as completed Feb 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants