Error: gdal-config not found while installing R dependent packages whereas gdal is installed

前端 未结 7 920
醉话见心
醉话见心 2020-12-07 21:49

Please point out the point that I am missing:

openSUSE 11.3


xx@linux-y3pi:~/Desktop/R> sudo R CMD INSTALL rgdal_0.7-12.tar.g         


        
7条回答
  •  旧时难觅i
    2020-12-07 22:33

    In Ubuntu 18.04

    I fixed this by sudo apt install libgdal-dev Hope someone find this helpful. Some above answers seems to be outdated and lengthy.

    In earlier versions (which had apt-get)

    sudo apt-get install libgdal-dev

提交回复
热议问题