Wi-Fizzle.com - Putting the fizzle in Wi-Fi since 2005 .. (yes, this was a poor choice for a domain name)

<div class="news_item">#448<div class="news_title">Fix for Cygwin error: address space needed by DLL is already occupied

Posted by dandriff on Monday April 30, 2012@01:44PM

HOWTO work around Cygwin error messages like:

 address space needed by SOME_DLL is already occupied


 .. resource unavailable ..


 Running setup.py egg_info for package redis
      0 [main] python2.6 8384 child_info_fork::abort: address space needed by 'cygcrypto-0.9.8.dll' (0x780000) is already occupied
    Error [Errno 11] Resource temporarily unavailable while executing command python setup.py egg_info

A quick search led me to unhelpful pages like http://cygwin.com/ml/cygwin/2012-02/msg00667.html. Bummer.

It turns out that this problem can happen after installing new packages. This includes setup.exe-based Cygwin packages as well as Python packages and/or libraries.

The solution to this problem is to run the `rebaseall` command for Cygwin. This cannot be done from within Cygwin, so shut down all instances of cygwin and start up a windows command prompt. type the following commands:


Wait for the rebase all operation completes, then fire up a new instance of cygwin terminal and you should be all set!

If the problem still happens, then this didn't work.. :/

  • address space needed by .. is already occupied
  • "address space needed by"
  • "is already occupied" cygwin