Closed englianhu closed 2 years ago
:~$ ## install RcppGSL first and follow by install RcppZiggurat
:~$ sudo su - -c "R -e \"install.packages(c('RcppGSL'), repos='https://cran.rstudio.org', lib='/usr/lib/R/library', dependencies = TRUE, INSTALL_opts = '--no-lock')\""
:~$ sudo su - -c "R -e \"devtools::install_github('eddelbuettel/rcppziggurat', INSTALL_opts = '--no-lock', force = TRUE)\""
You do not have GSL installed such that you can compile against it and you are invoking too many commands blindly to see thr espective error message:
libgsl.so.23: cannot open shared object file: No such file or directory
That makes me think you are on, say, Ubuntu or Debian and have libgsl23
install _but are missing libgsl-dev
.
So do sudo apt install gsl-dev
(or the equivalent on whatever OS you are on) and you should be good to go afterwards.
## install RcppGSL first and follow by install RcppZiggurat
Or you could just have installed both from CRAN and RcppZiggurat would have pulled RcppGSL in.