R语言安装包报错排除loading failed

最近在安装R语言包的时候出现了以下错误:

Setting LC_CTYPE failed, using "C"

Error: package or namespace load failed for '*****' in dyn.load(file, DLLpath = DLLpath, ...):

unable to load shared object '/home/****/R/x86_64-redhat-linux-gnu-library/3.6/****/00new/***/libs/***.so':

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

Error: loading failed

Execution halted

ERROR: loading failed

=====================================

参考:https://blog.csdn.net/qtyl1988/article/details/25636555

处理方式:

    $LD_LIBRARY_PATH=/usr/local/lib

    $export LD_LIBRARY_PATH

=======================================

解决

你可能感兴趣的:(R语言安装包报错排除loading failed)