I had a similar problem once. I solved it by downloading a rebased copy of msys-1.0.dll, however I cant remember where I found it. Google is your friend.
 
Regards
Bidski