You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Joachim Durchholz <jo...@halstenbach.de> on 2001/11/18 12:49:23 UTC

os-windows/8794: Missing DLL when starting Apache

>Number:         8794
>Category:       os-windows
>Synopsis:       Missing DLL when starting Apache
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Sun Nov 18 03:50:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     joachim.durchholz@halstenbach.de
>Release:        1.3.22 (Cygwin)
>Organization:
apache
>Environment:
Cygwin 1.3.5-1 on NT 4 PL 6 (NT Patchlevel is a guess)
>Description:
Starting Apache with "apachectl start" will give a Windows message box reporting "Windows cannot locate libhttpd.dll in the PATH", and the full path (wording differs).
>How-To-Repeat:
Install Cygwin and Apache for Cygwin.
>Fix:
As a temporary fix, I have added the following line to the top of my apachectl script:
PATH=/usr/local/apache/libexec:$PATH
Note that the -R option in the HTTP= line cannot work, since the Apache executable is linked in a way that it requests that its DLLs are loaded on start-up.

I suspect that the build process uses the wrong flags for linking the DLL. I noticed that the recent release notes for Cygwin mentioned some ld issues, but I haven't taken a closer look.
>Release-Note:
>Audit-Trail:
>Unformatted:
 [In order for any reply to be added to the PR database, you need]
 [to include <ap...@Apache.Org> in the Cc line and make sure the]
 [subject line starts with the report component and number, with ]
 [or without any 'Re:' prefixes (such as "general/1098:" or      ]
 ["Re: general/1098:").  If the subject doesn't match this       ]
 [pattern, your message will be misfiled and ignored.  The       ]
 ["apbugs" address is not added to the Cc line of messages from  ]
 [the database automatically because of the potential for mail   ]
 [loops.  If you do not include this Cc, your reply may be ig-   ]
 [nored unless you are responding to an explicit request from a  ]
 [developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]