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