环境:
win10 64位
Error: Could not fork child process: Resource temporarily unavailable (-1).
DLL rebasing may be required; see ‘rebaseall / rebase –help’.
问题现象 : 修复系统补丁后,运行git bash一直报错,failed to fork child process no such file or directory,dll rebasing may be required
解决办法:
1、进入Git安装目录,运行git-cmd.exe;
2、执行命令:cd usr/bin,进入/bin目录;
3、执行命令:cp msys-2.0.dll …/ ,将msys-2.0.dll拷贝到上一级目录;
4、执行命令:rebase -b 0x76000000 …/msys-2.0.dll
5、执行命令:rebase -b 0x30000000 …/msys-2.0.dll
6、执行命令:cp …/msys-2.0.dll . ,将msys-2.0.dll拷回/bin当前目录(. 代表当前目录)
重新运行git-bash.exe,问题解决!