我在CentOS-5上将hdf5升级到1.8.7时遇到问题。我得到的错误如下。我需要升级所以我可以安装PyTables。
我认为这是因为我的gdal版本不支持更新版本的hdf5。我需要gdal来支持使用postGIS进行栅格支持。
如果无法升级,有什么原因可以将PyTable与我当前版本的hdf5(1.6.10)一起使用
谢谢马特。
[root@twcpmol02 bma]# yum update hdf5
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.ventraip.net.au
* epel: mirror.web24.net.au
* extras: mirror.ventraip.net.au
* remi: remi-mirror.dedipower.com
* rpmforge: mirror.oscc.org.my
* updates: mirror.ventraip.net.au
Excluding Packages from CentOS-5 - Base
Finished
Excluding Packages from CentOS-5 - Updates
Finished
Setting up Update Process
Resolving Dependencies
--> Running transaction check
--> Processing Dependency: libhdf5.so.0()(64bit) for package: gdal
--> Processing Dependency: libhdf5.so.0()(64bit) for package: octave-forge
---> Package hdf5.x86_64 0:1.8.7-1.el5.rf set to be updated
--> Finished Dependency Resolution
gdal-1.8.0-4.el5.elgis.x86_64 from installed has depsolving problems
--> Missing Dependency: libhdf5.so.0()(64bit) is needed by package gdal-1.8.0-4.el5.elgis.x86_64 (installed)
octave-forge-20071212-6.el5.x86_64 from installed has depsolving problems
--> Missing Dependency: libhdf5.so.0()(64bit) is needed by package octave-forge-20071212-6.el5.x86_64 (installed)
Error: Missing Dependency: libhdf5.so.0()(64bit) is needed by package octave-forge-20071212-6.el5.x86_64 (installed)
Error: Missing Dependency: libhdf5.so.0()(64bit) is needed by package gdal-1.8.0-4.el5.elgis.x86_64 (installed)
You could try using --skip-broken to work around the problem
You could try running: package-cleanup --problems
package-cleanup --dupes
rpm -Va --nofiles --nodigest
我的回购清单是:
[root@twcpmol02 bma]# yum repolist
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.ventraip.net.au
* epel: mirror.web24.net.au
* extras: mirror.ventraip.net.au
* remi: remi-mirror.dedipower.com
* rpmforge: mirror.oscc.org.my
* updates: mirror.ventraip.net.au
Excluding Packages from CentOS-5 - Base
Finished
Excluding Packages from CentOS-5 - Updates
Finished
repo id repo name status
base CentOS-5 - Base 3,612+29
elgis EL GIS 5 - x86_64 136
elgis-plus EL GIS 5 Plus - x86_64 60
epel Extra Packages for Enterprise Linux 5 - x86_64 7,317
extras CentOS-5 - Extras 270
home_gbvalor gbvalor's Home Project (CentOS_5) 83
pgdg92 PostgreSQL 9.2 5 - x86_64 173
remi Les RPM de remi pour Enterprise Linux 5 - x86_64 1,144
rpmforge RHEL 5 - RPMforge.net - dag 11,273
updates CentOS-5 - Updates
答案 0 :(得分:1)
尝试此说明yum install */libhdf5.so.0