windows2012安装PostgreSQL11失败

环境:
ansible自动部署:PostgreSQL11」在[WS2012+PowerShell4.0]


错误信息:
C:\Users\xxxx\AppData\Local\Temp\postgresql_installer_xxxx\getlocales.exe
: child killed: unknown signal


现状:
▪https://postgresrocks.enterprisedb.com/t5/PostgreSQL/PostgreSQL-installation-issues/td-p/673/page/2
This problem is because getlocales.exe uses Visual Studio 2013 redistribubles(X64 or X86).
But the installer of PostgreSQL forgot to install the VC2013 redistribubles.
--->已安装VC运行库(x86/x64),问题依然发生。

调查过程:
直接运行:getlocate.exe
也会报缺少api-ms-win-crt-string-l1-1-0.dll文件。


解决:
windows2012的bug,安装补丁:Windows8-RT-KB2999226-x64.msu


参考:
https://detail.chiebukuro.yahoo.co.jp/qa/question_detail/q11159188551
https://answers.microsoft.com/en-us/windows/forum/all/api-ms-win-crt-string-l1-1-0dll-is-missing-in/bb0b23b8-83ec-4fd8-b912-23c81351b5e7
https://support.microsoft.com/en-us/help/2999226/update-for-universal-c-runtime-in-windows
https://www.microsoft.com/ja-JP/download/details.aspx?id=49091

posted @ 2019-10-18 17:32  山的那一边  阅读(3183)  评论(0编辑  收藏  举报