postgis - The specified module could not be found

Highlighted
Journeyer

postgis - The specified module could not be found

I installed Postgre SQL 11 (64bit) v2.5.2, then used Stack Builder 4.1.0 to install PostGIS 2.5 Bundle. While trying to create postgis Extension, it says "ERROR: could not load library "C:/appData/Program Files/PostgreSQL/11/lib/rtpostgis-2.5.dll": The specified module could not be found." However, rtpostgis-2.5.dll exists in that location. 

I have tried other methods to install PostGIS without being able to resolve the error. The only thing I could tell different from the default was the "appData" string in the installed path. Since the PosgreSQL was installed in that location, I was not able to install PostGIS in the default location. What am I missing here? Thanks!

Archived Discussions


Effective March 31st, we will no longer engage on PostgresRocks.


How to engage with us further?


  • Thought Leadership: EDB Blogs

  • Tips and Tricks: Postgres Tutorials

  • Customer Support: Create a Case Please note: Only customers with an active EDB support subscription and support portal authorization can create support ticket

  • Engage on Stackoverflow While engaging on Stackoverflow tag the question with EDB or EnterpriseDB.

1 REPLY 1
Highlighted
EDB Team Member

Re: postgis - The specified module could not be found

Hi jialiu,

You can follow the following steps :

Install the PostGIS version 2.5.2 of PostGIS using the stack builder option.

You need to replace the depndency due to the some defect. Copy the "libeay32.dll" and "ssleay32.dll" files from postgisgui folder ("C:\Program Files\PostgreSQL\11\bin\postgisgui") to PostgreSQL bin folder (C:\Program Files\PostgreSQL\11\bin). Then try to create the extention.

 

Note: Binary path may vary as per the installation.


Please let us know in case of any query or issues.

© 2019 EnterpriseDB Corporation. All rights reserved.   |   Privacy Policy   |  Terms of Use   |   Trademarks