我需要有关安装 R 后遇到的错误的帮助。我按照“
https://cran.r-project.org/bin/linux/ubuntu/fullREADME.html#installing-r
”中的所有步骤在 Ubuntu 24.04 LTS 中安装 R。但是,在我的终端中启动 R 后,报告以下错误:“/usr/local/lib/R/bin/exec/R: error while loading shared libraries: libicuuc.so.72: cannot open shared object file: No such file or directory
”。有办法解决吗?
看起来好像没有找到该库,请尝试以下步骤:
sudo apt install libicu72
也可能是路径问题,请检查您的路径:
echo $LD_LIBRARY_PATH
如果路径为空,请尝试设置它:
export LD_LIBRARY_PATH=/path/to/libicu/lib:$LD_LIBRARY_PATH # Replace path with actual location
R