【发布时间】:2014-05-08 14:43:55
【问题描述】:
当我尝试在我的数据库上启用 PostGis 扩展时,我收到以下信息:
postgis=# CREATE EXTENSION postgis;
ERROR: could not load library "/usr/pgsql-9.3/lib/rtpostgis-2.1.so": libhdf5.so.6: cannot open shared object file: No such file or directory
我使用 find -name 来查找文件:
[root@digihaul3-pc /]# find -name rtpostgis-2.1.so
./usr/pgsql-9.3/lib/rtpostgis-2.1.so
[root@digihaul3-pc /]# find -name libhdf5.so.6
./usr/lib64/mpich2/lib/libhdf5.so.6
./usr/pgsql-9.3/lib/libhdf5.so.6
./usr/lib/mpich2/lib/libhdf5.so.6
【问题讨论】:
-
您运行的是哪个操作系统?您可能会找到答案 here - 但如果没有更多详细信息,我无法提供进一步的建议。
-
CentOS,Ruby on rails 3,ruby 1.9.3
-
很不幸,我猜你已经找到了我见过的大多数其他帮助,即在 CentOS 中安装似乎存在问题。但是,this looks most useful 和 this may also help, although not about CentOS。抱歉,我帮不上忙,因为这样的问题,我很少使用 CentOS...
标签: postgresql postgis postgresql-extensions