【发布时间】:2017-08-16 08:24:44
【问题描述】:
我一直在尝试在 ubuntu 16.04 上从 RStudio 版本 1.0.44 安装 rgdal,然后我收到 gdal-config not found 错误。我通过安装 libgdal1-dev 和 libproj 软件包解决了这个问题,但现在我收到以下错误。有人帮我解决这个问题。
Error in dyn.load(file, DLLpath = DLLpath, ...) :
unable to load shared object '/home/hetch/R/x86_64-pc-linux-gnu-library/3.3/rgdal/libs/rgdal.so':
/usr/lib/x86_64-linux-gnu/libgeos_c.so.1: undefined symbol:_ZN4geos4geom18IntersectionMatrixC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE
Error: loading failed
Execution halted
ERROR: loading failed
* removing ‘/home/hetch/R/x86_64-pc-linux-gnu-library/3.3/rgdal’
Warning in install.packages :
installation of package ‘rgdal’ had non-zero exit status
【问题讨论】:
标签: r linux rstudio ubuntu-16.04 rgdal