• Welcome to LiuJason's Blog!

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

Linux笔记 Jason 6 years ago (2019-01-20) 1502 Views 1 Comments QR code of this page

首先看这里: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


This article is under CC BY-NC-SA 4.0 license.
Please quote the original link:https://www.liujason.com/article/173.html
Like (0)
发表我的评论
取消评论

表情 贴图 加粗 删除线 居中 斜体 签到

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
(1)个小伙伴在吐槽
  1. Jason
    cp /usr/local/lib/* /usr/lib64/缺其他lib的话就全部移过去好了
    Jason2019-03-26 20:35 Reply Windows 10 | Chrome 73.0.3683.86