cancel
Showing results for 
Search instead for 
Did you mean: 

postgis - The specified module could not be found

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!

1 REPLY 1
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.