简体   繁体   English

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

[英]RGDAL installation error: libnetcdf.so.6: cannot open shared object file: No such file or directory

I run RStudio Server on ubuntu 14.04. 我在ubuntu 14.04上运行RStudio服务器。 When trying to install the rgdal package I get the following error message: 尝试安装rgdal软件包时,出现以下错误消息:

Error in dyn.load(file, DLLpath = DLLpath, ...) : dyn.load(文件,DLLpath = DLLpath,...)中的错误:
unable to load shared object '/home/admin2/R/x86_64-pc-linux-gnu- library/2.14/rgdal/libs/rgdal.so': 无法加载共享对象'/ 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 libnetcdf.so.6:无法打开共享对象文件:没有这样的文件或目录
Error: loading failed 错误:加载失败
Execution halted 执行停止

I upgraded RStudio Server, R-Core and all Ubuntu packages to their latest versions but no success. 我将RStudio服务器,R-Core和所有Ubuntu软件包升级到了最新版本,但没有成功。 I also tried apt-get install lib32stdc++6 as suggested here , but also no changes. 我也尝试按照这里的建议apt-get install lib32stdc++6 ,但也没有任何更改。 I think it is a problem specific to GDAL and the indexing of shared libraries in unix. 我认为这是特定于GDAL和UNIX中共享库索引的问题。 Can anyone help please? 有人可以帮忙吗?

Ok I got it done removing Gdal completly, compiling it from source again and setting library paths correctly as described here . 好的,我完成了完全删除Gdal的操作,再次从源代码对其进行了编译,并按照此处所述正确设置了库路径。 Later adding /usr/local/lib/ to /etc/ld.so.conf and run sudo ldconfig as described here . 稍后将/usr/local/lib//etc/ld.so.conf并按此处所述运行sudo ldconfig

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 libRInside.so:无法打开共享对象文件:没有这样的文件或目录 - libRInside.so: cannot open shared object file: No such file or directory libreadline.so.6:无法打开共享 object 文件:没有这样的文件或目录 - libreadline.so.6: cannot open shared object file: No such file or directory libtinfow.so.6:无法打开共享对象文件:没有这样的文件或目录 - libtinfow.so.6: cannot open shared object file: No such file or directory libjvm.so:无法打开共享 object 文件:没有这样的文件或目录 - libjvm.so: cannot open shared object file: No such file or directory rstudio中的错误:libuuid.so.1:无法打开共享对象文件:没有这样的文件或目录 - Error in rstudio : libuuid.so.1: cannot open shared object file: No such file or directory R 加载错误 - libproj.so.13:无法打开共享 object 文件:没有这样的文件或目录 - R load error - libproj.so.13: cannot open shared object file: No such file or directory libgsl.so.25:无法打开共享 object 文件:没有这样的文件或目录 - libgsl.so.25: cannot open shared object file: No such file or directory 带有 stringr 的奇点容器仅在本地失败,出现“libicui18n.so.66:无法打开共享 object 文件:没有这样的文件或目录” - Singularity container with stringr fails only locally with 'libicui18n.so.66: cannot open shared object file: No such file or directory' 加载 R package 时出错 - libicui18n.so.68:无法打开共享 object 文件 - Error loading R package - libicui18n.so.68: cannot open shared object file 无法在RHEL6上的R中安装rgdal软件包,无法加载共享对象rgdal.so - Cannot install rgdal package in R on RHEL6, unable to load shared object rgdal.so
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM