5
I’m trying to install the package stringi
in a cluster that rotates Centos 7, but I am failing miseravelvente. The error that occurs is below:
** testing if installed package can be loaded
Error in dyn.load(file, DLLpath = DLLpath, ...) :
unable to load shared object '/home/marcus/R/x86_64-redhat-linux-gnu-library/3.3/stringi/libs/stringi.so':
/lib64/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by /home/marcus/R/x86_64-redhat-linux-gnu-library/3.3/stringi/libs/stringi.so)
Error: loading failed
Execution halted
ERROR: loading failed
* removing ‘/home/marcus/R/x86_64-redhat-linux-gnu-library/3.3/stringi’
The downloaded source packages are in
‘/tmp/RtmpHKpp7q/downloaded_packages’
Warning message:
In install.packages("stringi") :
installation of package ‘stringi’ had non-zero exit status
I already asked this question in the original OS and got a comment on it, but my ignorance on Linux did not allow me to understand what I need to do. I know it has something to do with libstdc++.so.6
, but I can go no further than this.
The details of the R
where I tried to install the package are below.
> sessionInfo()
R version 3.3.1 (2016-06-21)
Platform: x86_64-redhat-linux-gnu (64-bit)
Running under: CentOS Linux 7 (Core)
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] tools_3.3.1
Have you tried anything like this? http://stackoverflow.com/q/16620942/3297472
– Daniel Falbel
I just tried. It didn’t work. I keep getting the same error message I put to the above question, even though I ran
sudo yum install libstdc++*
.– Marcus Nunes
I think this can solve: http://stackoverflow.com/a/20357035/3297472
– Daniel Falbel
No. Nothing worked out. I even installed all the packages with gcc that exist in yum, set the path of the Libraries as in this link and yet, I keep getting the same error. The funny thing is that I don’t have this problem on Ubuntu or macOS (even installing the source version of the package). Only Centos who won’t cooperate with me.
– Marcus Nunes