gpt4 book ai didi

RGDAL安装错误: libnetcdf. so.6:无法打开共享对象文件:没有这样的文件或目录

转载 作者:行者123 更新时间:2023-12-04 18:46:19 25 4
gpt4 key购买 nike

我在 ubuntu 14.04 上运行 RStudio Server。尝试安装 rgdal 软件包时,我收到以下错误消息:

Error in dyn.load(file, DLLpath = DLLpath, ...) :
unable to load shared object '/home/admin2/R/x86_64-pc-linux-gnu- library/2.14/rgdal/libs/rgdal.so':
libnetcdf.so.6: cannot open shared object file: No such file or directory
Error: loading failed
Execution halted



我将 RStudio Server、R-Core 和所有 Ubuntu 软件包升级到最新版本,但没有成功。我也试过 apt-get install lib32stdc++6根据建议 here ,但也没有变化。我认为这是 GDAL 和 shared libraries 的索引特有的问题在 unix 中。有人可以帮忙吗?

最佳答案

好的,我完成了完全删除 Gdal,再次从源代码编译并正确设置库路径,如 here 所述.稍后添加 /usr/local/lib//etc/ld.so.conf并运行 sudo ldconfig如所述here .

关于RGDAL安装错误: libnetcdf. so.6:无法打开共享对象文件:没有这样的文件或目录,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37857814/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com