Nós temos um programa python que executa o R Script. Estamos usando o Anaconda versão 3.4 em um sistema RHEL 7.5. Nós usamos ambientes conda. Eu construí um especificamente para o trabalho. Tudo funciona por alguns dias e depois temos falhas. Aqui está o rastreamento de pilha:
Error: package or namespace load failed for ‘tidyverse’ in dyn.load(file, DLLpath = DLLpath, ...):
unable to load shared object '/home/theuser/.conda/envs/r-prod-34/lib/R/library/Rcpp/libs/Rcpp.so':
/usr/lib64/libstdc++.so.6: version 'GLIBCXX_3.4.20' not found (required by /home/theuser/.conda/envs/r-prod-34/lib/R/library/Rcpp/libs/Rcpp.so)
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 61647 100 61647 0 0 165k 0 --:--:-- --:--:-- --:--:-- 166k
* installing *source* package ‘tidyverse’ ...
** package ‘tidyverse’ successfully unpacked and MD5 sums checked
** R
** inst
** preparing package for lazy loading
Error in dyn.load(file, DLLpath = DLLpath, ...) :
unable to load shared object '/home/theuser/.conda/envs/r-prod-34/lib/R/library/Rcpp/libs/Rcpp.so':
/usr/lib64/libstdc++.so.6: version 'GLIBCXX_3.4.20' not found (required by /home/theuser/.conda/envs/r-prod-34/lib/R/library/Rcpp/libs/Rcpp.so)
ERROR: lazy loading failed for package ‘tidyverse’
* removing ‘/home/theuser/.conda/envs/r-prod-34/lib/R/library/tidyverse’
* restoring previous ‘/home/theuser/.conda/envs/r-prod-34/lib/R/library/tidyverse’
The downloaded source packages are in
‘/tmp/Rtmp6ec6bX/downloaded_packages’
Updating HTML index of packages in '.Library'
Making 'packages.html' ... done
Error: package or namespace load failed for ‘tidyverse’ in dyn.load(file, DLLpath = DLLpath, ...):
unable to load shared object '/home/theuser/.conda/envs/r-prod-34/lib/R/library/Rcpp/libs/Rcpp.so':
/usr/lib64/libstdc++.so.6: version 'GLIBCXX_3.4.20' not found (required by /home/theuser/.conda/envs/r-prod-34/lib/R/library/Rcpp/libs/Rcpp.so)
In addition: Warning message:
In install.packages(package, repos = "http://cran.us.r-project.org") :
installation of package ‘tidyverse’ had non-zero exit status
Execution halted
ERROR: FAILED EXECUTION
Se eu excluir o ambiente conda r-prod-34 e recriá-lo, a tarefa será executada por alguns dias e, em seguida, ocorrerá o mesmo erro.
Não tenho certeza se isso é um problema do RHEL ou Anaconda?
Tags rhel