Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/spring/12.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
无法加载库“;D:/GreenSoftware/postgresql-13.2-1/pgsql/lib/postgis-3.dll“找不到指定的模块_Postgresql_Postgis - Fatal编程技术网

无法加载库“;D:/GreenSoftware/postgresql-13.2-1/pgsql/lib/postgis-3.dll“找不到指定的模块

无法加载库“;D:/GreenSoftware/postgresql-13.2-1/pgsql/lib/postgis-3.dll“找不到指定的模块,postgresql,postgis,Postgresql,Postgis,当我在windows 10中的postgresql-13.2-1-windows-x64-binaries.zip上安装postgis-bundle-pg13-3.1.1x64.zip时 我使用administrator命令上的_extensions.bat执行makepostgisdb_ 它抛出n个错误 D:\GreenSoftware\postgis-bundle-pg13-3.1.1x64>"D:\GreenSoftware\postgresql-13.2-1\pgsql\

当我在windows 10中的postgresql-13.2-1-windows-x64-binaries.zip上安装postgis-bundle-pg13-3.1.1x64.zip时

我使用administrator命令上的_extensions.bat执行makepostgisdb_

它抛出n个错误

D:\GreenSoftware\postgis-bundle-pg13-3.1.1x64>"D:\GreenSoftware\postgresql-13.2-1\pgsql\bin\\psql"  -d "geodb" -c "CREATE EXTENSION postgis;"
ERROR:  could not load library "D:/GreenSoftware/postgresql-13.2-1/pgsql/lib/postgis-3.dll": The specified module could not be found.


D:\GreenSoftware\postgis-bundle-pg13-3.1.1x64>"D:\GreenSoftware\postgresql-13.2-1\pgsql\bin\\psql"  -d "geodb" -c "CREATE EXTENSION postgis_raster;"
ERROR:  required extension "postgis" is not installed
提示:  Use CREATE EXTENSION ... CASCADE to install required extensions too.

D:\GreenSoftware\postgis-bundle-pg13-3.1.1x64>"D:\GreenSoftware\postgresql-13.2-1\pgsql\bin\\psql"  -d "geodb" -c "CREATE EXTENSION postgis_sfcgal;"
ERROR:  required extension "postgis" is not installed
提示:  Use CREATE EXTENSION ... CASCADE to install required extensions too.

D:\GreenSoftware\postgis-bundle-pg13-3.1.1x64>"D:\GreenSoftware\postgresql-13.2-1\pgsql\bin\\psql"  -d "geodb" -c "CREATE EXTENSION postgis_topology;"
ERROR:  required extension "postgis" is not installed
提示:  Use CREATE EXTENSION ... CASCADE to install required extensions too.

D:\GreenSoftware\postgis-bundle-pg13-3.1.1x64>"D:\GreenSoftware\postgresql-13.2-1\pgsql\bin\\psql"  -d "geodb" -c "CREATE EXTENSION address_standardizer;"
ERROR:  could not load library "D:/GreenSoftware/postgresql-13.2-1/pgsql/lib/address_standardizer-3.dll": The specified module could not be found.


D:\GreenSoftware\postgis-bundle-pg13-3.1.1x64>"D:\GreenSoftware\postgresql-13.2-1\pgsql\bin\\psql"  -d "geodb" -c "CREATE EXTENSION address_standardizer_data_us;"
ERROR:  extension "address_standardizer_data_us" already exists

D:\GreenSoftware\postgis-bundle-pg13-3.1.1x64>"D:\GreenSoftware\postgresql-13.2-1\pgsql\bin\\psql"  -d "geodb" -c "CREATE EXTENSION fuzzystrmatch;"
ERROR:  extension "fuzzystrmatch" already exists

D:\GreenSoftware\postgis-bundle-pg13-3.1.1x64>"D:\GreenSoftware\postgresql-13.2-1\pgsql\bin\\psql"  -d "geodb" -c "CREATE EXTENSION postgis_tiger_geocoder;"
ERROR:  required extension "postgis" is not installed
提示:  Use CREATE EXTENSION ... CASCADE to install required extensions too.

D:\GreenSoftware\postgis-bundle-pg13-3.1.1x64>REM Uncomment the below line if this is a template database

D:\GreenSoftware\postgis-bundle-pg13-3.1.1x64>REM "D:\GreenSoftware\postgresql-13.2-1\pgsql\bin\\psql" -d "geodb" -c "UPDATE pg_database SET datistemplate = true WHERE datname = 'geodb';GRANT ALL ON geometry_columns TO PUBLIC; GRANT ALL ON spatial_ref_sys TO PUBLIC"