安装R包gsl

unable to load shared object '/local_data1/MED/projects/maoyong/software/R-4.0.2/lib64/R/library/00LOCK-gsl/00new/gsl/libs/gsl.so':

  libgsl.so.23: cannot open shared object file: No such file or directory

Error: loading failed

Execution halted

ERROR: loading failed

安装gsl:

下载:https://ftp.gnu.org/gnu/gsl/gsl-2.6.tar.gz

./configure --prefix=XXXXXXXXXXXXXX && make && make install

成功后设置好库文件即可

但是库文件没有 libgsl.so.23,而是 libgsl.so.25

建立一个软链接:ln -s libgsl.so.25.0.0 libgsl.so.23

你可能感兴趣的:(安装R包gsl)