anje...@freedomarc.org wrote:
>...
> I downloaded binaries from this site below:
>
http://www.enterprisedb.com/products-services-training/pgbindownload
>
> I used the Win x86-32 link in the above.
>
> I did not download the MSVC redist but I suspect that might be the issue. There are no clues in the error message.
>
> I've been trying to find out which MSVC redist version is required with PG 9.4. I know in the PC where I have a full database running I have the msvcp120.dll files which point to MSVC 2013.
One reason for installing the whole EnterpriseDB PostgreSQL, even for
client-only systems, is that you can test it before moving on. If you can
run psql.exe from EnterpriseDB, you know you have the DLLs and dependencies
in place. Using psql.exe is also a good way to confirm the connection from
your client to your server works. A lot can go wrong before that point, so
it's good to get this working before moving on to Tcl.
(I know people are telling you to just copy certain DLLs here and there...
it's great that they can make that work, but I would never suggest that
approach to anyone.)
For EnterpriseDB PostgreSQL, you can use their installer, or you can
install just the binary "zip" package (which is linked from
postgresql.org
under download, Windows). The "zip" download requires Microsoft Visual C++
/ Visual Studio runtime, which your system may or may not already have.
If you get an error when trying psql.exe saying you are missing
MSVCR*.dll then you need to go to Microsoft's download center and get the
appropriate Visual C++ Runtime redistributables.
For EnterpriseDB PostgreSQL-9.2.x and 9.3.x you need Visual C++ 2010 Runtime
(MSVCR100).
For EnterpriseDB PostgreSQL-9.4.x, you need Visual Studio 2013 Runtime
(MSVCR120).