Git Bash運行錯誤,Git 32位

環境:

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,問題解決!

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章