Gareth Hunt 

Firefox Addons, Mobile Web and living in the USA
« PHP and Cygwin 
Mailfrom 0.2 Released  »

Cygwin: died waiting for dll loading

Over the weekend I was trying to use mod_rewrite with apache 2 webserver for cygwin and kept getting the following error:

11086085 [main] httpd2 4492 fork: child 5492 - died waiting for dll loading, errno 11

It seemed obvious that cygwin was unable to load some dependency for mod_rewrite. After a little googling, I found a suggestion to rebase cygwin. The procedure is as follows:

  1. Shutdown cygserver (if running): net stop cygserver.
  2. Close all cygwin windows.
  3. Open Start->Run
  4. rebase has to be run from an ash shell, so type C:\path\to\cygwin\bin\ash.exe
  5. Once the shell window in open: $ cd /bin
  6. $ ./rebaseall
  7. $ exit to close the window

After this, I restarted the cygserver service and apache and mod_rewrite worked perfectly.

This entry was posted on Monday, February 11th, 2008 at 6:18 pm and is filed under Howto , cygwin . You can follow any responses to this entry through the RSS 2.0  feed. You can leave a response , or trackback  from your own site.

2 Responses to “Cygwin: died waiting for dll loading”

  1. Warmfuzzyland » Archives » Sequences and Cygwin: died waiting for dll loading, errno 11 says:
    September 15, 2008 at 6:26 pm 

    [...] to Gareth Hunt’s post about this cygwin issue I was able to fix [...]

  2. Jarom Smithsays:
    December 30, 2008 at 5:01 pm 

    Thanks! This is exactly what I needed. Google is cool.

Leave a Reply

Click here to cancel reply. 

Gareth Hunt is proudly powered by WordPress 

Entries (RSS)  and Comments (RSS) .

Name (required)
Mail (will not be published) (required)
Website
Anti-spam word: (Required)