I'm trying to setup Postgres 9.5 on my local machine x64 based win 8.
I've downloaded postgresql-9.5.1-1-windows.exe and also downloaded postgis-bundle-pg95x64-setup-2.2.2-1.exe
Postgres runs fine, but when trying to install postgis at the end of the instalation (when installer is attempting to install sample database) I get this error:
ERROR: could not load library "C:/PostgreSQLx86/9.5/lib/postgis-2.2.dll": %1 is not a valid Win32 application.
I've tried with the x64 and x32 versions also as you might notice i tried to install it on a non-spaces path PostgreSQLx86.
Still no luck.
Anyone can help me out ?