1
當我試圖讓我的數據庫PostGIS的擴展我收到以下:PostGIS的擴展安裝PostgreSQL
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
我曾經找-name查找文件:
[[email protected] /]# find -name rtpostgis-2.1.so
./usr/pgsql-9.3/lib/rtpostgis-2.1.so
[[email protected] /]# 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
何種操作系統,你運行?您可能會在這裏找到答案(http://stackoverflow.com/questions/20415239/postgres-create-postgis-extension-error-with-centos-6) - 但沒有更多的細節,我不能進一步建議。 – ProgrammerDan
CentOS,Ruby on rails 3,ruby 1.9.3 – user3474547
這很不幸,我猜你已經找到了我見過的大部分其他幫助,這是在CentOS中似乎有安裝問題。然而,[這看起來最有用](http://stackoverflow.com/questions/18768644/error-when-trying-to-run-create-extension-postgis?rq=1)和[這也可以幫助,雖然不是關於CentOS](http://stackoverflow.com/questions/17915928/error-when-installing-postgis-extension-to-postgresql-database?rq=1)。對不起,我不能進一步,因爲這樣的問題,我不使用CentOS ... – ProgrammerDan