Received: (qmail 19582 invoked by uid 501); 18 Nov 2001 11:49:23 -0000 Message-Id: <20011118114923.19580.qmail@apache.org> Date: 18 Nov 2001 11:49:23 -0000 From: Joachim Durchholz Reply-To: joachim.durchholz@halstenbach.de To: submit@bugz.apache.org Subject: Missing DLL when starting Apache X-Send-Pr-Version: 3.110 >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: Wed Feb 13 03:30:01 PST 2002 >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: From: Stipe Tolj To: apbugs@Apache.Org Cc: joachim.durchholz@halstenbach.de Subject: os-windows/8794 Date: Wed, 13 Feb 2002 12:29:28 +0100 the build process for the binary release is done ok for Cygwin. The created DLLs go to /usr/local/apache/libexec, like the shared object files in the UNIX flavored world. It's up to the user to "include" this DLL path for the main executable /usr/local/apache/bin/httpd.exe. There will be a "Cygwin" layout style in the sources now, which enables user to self-compile a package with Cygwin specific layout. Unless the binary release layout is not changes Cygwin users have to include the /usr/local/apache/libexec patch on their own to $PATH. Stipe tolj@wapme-systems.de ------------------------------------------------------------------- Wapme Systems AG Münsterstr. 248 40470 Düsseldorf Tel: +49-211-74845-0 Fax: +49-211-74845-299 E-Mail: info@wapme-systems.de Internet: http://www.wapme-systems.de ------------------------------------------------------------------- wapme.net - wherever you are >Unformatted: [In order for any reply to be added to the PR database, you need] [to include 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! ]