1. 程式人生 > >git bash 執行錯誤,版本 2.12.2.2

git bash 執行錯誤,版本 2.12.2.2

環境:win7 64位

Error: Could not fork child process: Resource temporarily unavailable (-1).
DLL rebasing may be required; see ‘rebaseall / rebase –help’.

問題現象 : 在安裝Git64位後,執行gitbash一直報錯,failed to fork child process no such file or directory,dll rebasing may be required

具體是進入Git安裝目錄

如C:\Program Files\Git\usr\bin

將 msys-2.0.dll拷貝到上一級目錄,

然後在原來的usr\bin目錄下執行下面命令

rebase -b 0x76000000 ..\msys-2.0.dll

rebase -b 0x30000000 ..\msys-2.0.dll

然後再拷貝回去替換這個DLL檔案