Error installing GDAL on Centos 7

المشرف العام

Administrator
طاقم الإدارة
I'm trying to install Postgis/GDAL on CentOS using yum, but there are broken dependencies. I've looked around and everybody says I should install EPEL, but I've already done that.(see also: Install GDAL on CentOS 7)

Here's the response:

yum install postgisLoaded plugins: fastestmirror, langpacksLoading mirror speeds from cached hostfile * base: mirror.1000mbps.com * extras: mirror.1000mbps.com * nux-dextop: mirror.li.nux.ro * updates: centos.mirror.triple-it.nlResolving Dependencies--> Running transaction check---> Package postgis2_94.x86_64 0:2.1.7-1.rhel7 will be installed--> Processing Dependency: geos >= 3.4.2 for package: postgis2_94-2.1.7-1.rhel7.x86_64--> Processing Dependency: proj for package: postgis2_94-2.1.7-1.rhel7.x86_64--> Processing Dependency: postgresql94 for package: postgis2_94-2.1.7-1.rhel7.x86_64--> Processing Dependency: hdf5 for package: postgis2_94-2.1.7-1.rhel7.x86_64--> Processing Dependency: libproj.so.0()(64bit) for package: postgis2_94-2.1.7-1.rhel7.x86_64--> Processing Dependency: libgeos_c.so.1()(64bit) for package: postgis2_94-2.1.7-1.rhel7.x86_64--> Processing Dependency: libgdal.so.1()(64bit) for package: postgis2_94-2.1.7-1.rhel7.x86_64--> Running transaction check---> Package gdal-libs.x86_64 0:1.11.0-3.rhel7 will be installed--> Processing Dependency: libxerces-c-3.1.so()(64bit) for package: gdal-libs-1.11.0-3.rhel7.x86_64--> Processing Dependency: libogdi.so.3()(64bit) for package: gdal-libs-1.11.0-3.rhel7.x86_64--> Processing Dependency: libodbcinst.so.2()(64bit) for package: gdal-libs-1.11.0-3.rhel7.x86_64--> Processing Dependency: libodbc.so.2()(64bit) for package: gdal-libs-1.11.0-3.rhel7.x86_64--> Processing Dependency: libnetcdf.so.7()(64bit) for package: gdal-libs-1.11.0-3.rhel7.x86_64--> Processing Dependency: libhdf5.so.8()(64bit) for package: gdal-libs-1.11.0-3.rhel7.x86_64--> Processing Dependency: libgta.so.0()(64bit) for package: gdal-libs-1.11.0-3.rhel7.x86_64--> Processing Dependency: libgeotiff.so.1.2()(64bit) for package: gdal-libs-1.11.0-3.rhel7.x86_64--> Processing Dependency: libfreexl.so.1()(64bit) for package: gdal-libs-1.11.0-3.rhel7.x86_64--> Processing Dependency: libdapserver.so.7()(64bit) for package: gdal-libs-1.11.0-3.rhel7.x86_64--> Processing Dependency: libdapclient.so.6()(64bit) for package: gdal-libs-1.11.0-3.rhel7.x86_64--> Processing Dependency: libdap.so.17()(64bit) for package: gdal-libs-1.11.0-3.rhel7.x86_64--> Processing Dependency: libcfitsio.so.2()(64bit) for package: gdal-libs-1.11.0-3.rhel7.x86_64--> Processing Dependency: libarmadillo.so.4()(64bit) for package: gdal-libs-1.11.0-3.rhel7.x86_64--> Processing Dependency: libCharLS.so.1()(64bit) for package: gdal-libs-1.11.0-3.rhel7.x86_64---> Package geos.x86_64 0:3.4.2-1.rhel7 will be installed---> Package postgis2_94.x86_64 0:2.1.7-1.rhel7 will be installed--> Processing Dependency: hdf5 for package: postgis2_94-2.1.7-1.rhel7.x86_64---> Package postgresql94.x86_64 0:9.4.4-1PGDG.rhel7 will be installed--> Processing Dependency: postgresql94-libs = 9.4.4-1PGDG.rhel7 for package: postgresql94-9.4.4-1PGDG.rhel7.x86_64---> Package proj.x86_64 0:4.8.0-2.rhel7 will be installed--> Running transaction check---> Package gdal-libs.x86_64 0:1.11.0-3.rhel7 will be installed--> Processing Dependency: libogdi.so.3()(64bit) for package: gdal-libs-1.11.0-3.rhel7.x86_64--> Processing Dependency: libnetcdf.so.7()(64bit) for package: gdal-libs-1.11.0-3.rhel7.x86_64--> Processing Dependency: libhdf5.so.8()(64bit) for package: gdal-libs-1.11.0-3.rhel7.x86_64--> Processing Dependency: libgta.so.0()(64bit) for package: gdal-libs-1.11.0-3.rhel7.x86_64--> Processing Dependency: libfreexl.so.1()(64bit) for package: gdal-libs-1.11.0-3.rhel7.x86_64--> Processing Dependency: libdapserver.so.7()(64bit) for package: gdal-libs-1.11.0-3.rhel7.x86_64--> Processing Dependency: libdapclient.so.6()(64bit) for package: gdal-libs-1.11.0-3.rhel7.x86_64--> Processing Dependency: libdap.so.17()(64bit) for package: gdal-libs-1.11.0-3.rhel7.x86_64--> Processing Dependency: libcfitsio.so.2()(64bit) for package: gdal-libs-1.11.0-3.rhel7.x86_64--> Processing Dependency: libarmadillo.so.4()(64bit) for package: gdal-libs-1.11.0-3.rhel7.x86_64--> Processing Dependency: libCharLS.so.1()(64bit) for package: gdal-libs-1.11.0-3.rhel7.x86_64---> Package libgeotiff.x86_64 0:1.2.5-14.el7 will be installed---> Package postgis2_94.x86_64 0:2.1.7-1.rhel7 will be installed--> Processing Dependency: hdf5 for package: postgis2_94-2.1.7-1.rhel7.x86_64---> Package postgresql94-libs.x86_64 0:9.4.4-1PGDG.rhel7 will be installed---> Package unixODBC.x86_64 0:2.3.1-10.el7 will be installed---> Package xerces-c.x86_64 0:3.1.1-7.el7_1 will be installed--> Finished Dependency ResolutionError: 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: postgis2_94-2.1.7-1.rhel7.x86_64 (pgdg94) Requires: hdf5Error: 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: 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: 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



أكثر...
 
أعلى