我一直试图使用pg_upgrade将postgres服务器从9.6升级到10。但是,需要对所需库进行一致性检查。loadable_libraried.txt的内容如下:
could not load library "$libdir/postgis_topology-2.3":
ERROR: could not access file "$libdir/postgis_topology-2.3": No such file or directory我第一次尝试这个。如有任何建议,将不胜感激。谢谢!
发布于 2018-05-10 09:09:57
只要您已经在PostGis 9.6安装上安装了PostgreSQL,您也需要将它添加到PostgreSQL 10安装中。如果您没有它,请下载并安装它:
wget https://download.osgeo.org/postgis/source/postgis-2.3.7.tar.gz
tar zxf postgis-2.3.7.tar.gz
cd postgis-2.3.7
./configure --with-pgconfig=/PATH_TO_POSTGRESQL_10_pg_config
make
make install然后继续使用pg_upgrade。(您可能需要用其他扩展来重复这个过程)。
https://stackoverflow.com/questions/50264282
复制相似问题