1
我一直试图从RStudio版本1.0.44在Ubuntu 16.04上安装rgdal
然后我得到了gdal-config找不到错误。我通过安装libgdal1-dev
& libproj
包解决了这个问题,但现在我收到以下错误消息。有人帮我解决这个问题。在Ubuntu的Rgdal安装失败16.04
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