【发布时间】:2012-08-06 23:28:12
【问题描述】:
我在Fedora 15 上运行PostgreSQL 9.1 和Postgis 2.0。
尝试安装光栅支持时,
psql -d database -f rtpostgis.sql -v ON_ERROR_STOP=1
我收到以下错误
psql:rtpostgis.sql:46: ERROR:
could not load library "/usr/pgsql-9.1/lib/rtpostgis-2.0.so": libhdf5.so.6:
cannot open shared object file: No such file or directory
locate libhdf5.so.6 给出以下路径。
/usr/lib64/mpich2/lib/libhdf5.so.6
/usr/lib64/mpich2/lib/libhdf5.so.6.0.4
从存储库重新安装GDAL 并没有解决问题。安装的GDAL的版本。
gdal.x86_64 1.7.3-14.fc15 @updates
【问题讨论】:
-
虽然 Fedora 15 不再受支持,但您也可以尝试使用PGDG RPMs for PostgreSQL 9.1/PostGIS 2.0。 instructions for Fedora 16 类似。
-
@MikeToews 我正在使用来自PGDG RPMs repo 本身的 RPM :)
标签: database postgresql geospatial postgis postgresql-9.1