[已解决]”proj_api.h presence and usability… no”安装proj-devel——R语言中GIS包rgdal的依赖包|CentOS7为例

首先看这里:https://www.liujason.com/article/152.html
然后,ssh里安装gdal-devel, proj-devel, proj-nad, proj-epsg

libgdal.so问题:
cp /usr/local/lib/libgdal.so.20* /usr/lib64/

libkmldom.so问题:
wget https://cbs.centos.org/repos/cloud7-openstack-common-candidate/x86_64/os/Packages/libkml-1.3.0-3.el7.x86_64.rpm
yum install libkml-1.3.0-3.el7.x86_64.rpm -y
wget https://cbs.centos.org/repos/cloud7-openstack-common-candidate/x86_64/os/Packages/libkml-devel-1.3.0-3.el7.x86_64.rpm
yum install libkml-devel-1.3.0-3.el7.x86_64.rpm

另外geos-config找不到的需要安装还有geos-devel
yum install -y geos-devel

本文采用 CC BY-NC-SA 4.0 创作共享协议,转载请标注以下信息:
【转载自LiuJason's Blog:https://www.liujason.com/article/173.html

1
说点什么

Please Login to comment
avatar
1 Comment threads
0 Thread replies
0 Followers
 
Most reacted comment
Hottest comment thread
1 Comment authors
Jason Recent comment authors
  Subscribe  
最新 最旧 得票最多
提醒