1

我在 CentOS-5 上将 hdf5 升级到 1.8.7 时遇到问题。我得到的错误如下。我需要升级才能安装 PyTables。

我认为这是因为我的 gdal 版本不支持较新版本的 hdf5。我需要 gdal 来支持 postGIS 的栅格。

如果无法升级,有什么理由在我当前版本的 hdf5 (1.6.10) 中使用 PyTable

谢谢马特。

[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    
4

1 回答 1

1

试试这个指令yum install */libhdf5.so.0

于 2013-05-24T07:09:49.753 回答