postgresql版本:postgresql-11.5-1-windows-x64.exe
postgis版本:postgis-bundle-pg11x64-setup-2.5.2-1.exe
创建空间库,报错“无法加载库(could not load library)rtpostgis-2.5.dll”
create extension postgis;
解决方法:
进入PostgreSQL\bin\postgisgui目录,找到libeay32.dll和ssleay32.dll,拷贝到PostgreSQL\bin\目录。
参考:
https://gis.stackexchange.com/questions/331653/error-could-not-load-library-c-program-files-postgresql-11-lib-rtpostgis-2-5