码迷,mamicode.com
首页 > 其他好文 > 详细

centos7下yum安装postgis2_94

时间:2015-01-08 22:56:23      阅读:842      评论:0      收藏:0      [点我收藏+]

标签:

执行 sudo yum install postgis2_94后,不出意外会发生以下的错误。
Error: Package: gdal-libs-1.11.0-3.rhel7.x86_64 (pgdg94)

Requires: libcfitsio.so.2()(64bit)

Error: Package: gdal-libs-1.11.0-3.rhel7.x86_64 (pgdg94)

Requires: libdapclient.so.6()(64bit)

Error: Package: gdal-libs-1.11.0-3.rhel7.x86_64 (pgdg94)

Requires: libarmadillo.so.4()(64bit)

Error: Package: gdal-libs-1.11.0-3.rhel7.x86_64 (pgdg94)

Requires: libhdf5.so.8()(64bit)

Error: Package: gdal-libs-1.11.0-3.rhel7.x86_64 (pgdg94)

Requires: libfreexl.so.1()(64bit)

Error: Package: gdal-libs-1.11.0-3.rhel7.x86_64 (pgdg94)

Requires: libnetcdf.so.7()(64bit)

Error: Package: postgis2_94-2.1.5-1.rhel7.x86_64 (pgdg94)

Requires: hdf5

Error: Package: gdal-libs-1.11.0-3.rhel7.x86_64 (pgdg94)

Requires: libdapserver.so.7()(64bit)

Error: Package: gdal-libs-1.11.0-3.rhel7.x86_64 (pgdg94)

Requires: libdap.so.17()(64bit)

Error: Package: gdal-libs-1.11.0-3.rhel7.x86_64 (pgdg94)

Requires: libogdi.so.3()(64bit)

Error: Package: gdal-libs-1.11.0-3.rhel7.x86_64 (pgdg94)

Requires: libgeotiff.so.1.2()(64bit)

Error: Package: gdal-libs-1.11.0-3.rhel7.x86_64 (pgdg94)

Requires: libgta.so.0()(64bit)

Error: Package: gdal-libs-1.11.0-3.rhel7.x86_64 (pgdg94)

Requires: libCharLS.so.1()(64bit)

You could try using –skip-broken to work around the problem
You could try running: rpm -Va –nofiles –nodigest

这个时候需要安装依赖库
sudo rpm -ivh http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm

然后再执行 就会成功

centos7下yum安装postgis2_94

标签:

原文地址:http://my.oschina.net/shuizeiguohe/blog/365293

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!