Mail Archives: cygwin-apps/2002/01/09/10:55:49

Mailing-List: contact cygwin-apps-help AT cygwin DOT com; run by ezmlm
Sender: cygwin-apps-owner AT cygwin DOT com
List-Subscribe: <mailto:cygwin-apps-subscribe AT cygwin DOT com>
List-Archive: <>
List-Post: <mailto:cygwin-apps AT cygwin DOT com>
List-Help: <mailto:cygwin-apps-help AT cygwin DOT com>, <>
Delivered-To: mailing list cygwin-apps AT cygwin DOT com
Message-ID: <>
Date: Wed, 09 Jan 2002 10:56:50 -0500
From: Charles Wilson <cwilson AT ece DOT gatech DOT edu>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.4) Gecko/20011019 Netscape6/6.2
X-Accept-Language: en-us
MIME-Version: 1.0
To: Stipe Tolj <tolj AT wapme-systems DOT de>
CC: Corinna Vinschen <cygwin-apps AT cygwin DOT com>
Subject: Re: [ANN] apache_1.3.22 package available for setup inclusion
References: <3C3BFC4C DOT 15C3C81A AT wapme-systems DOT de> <20020109124852 DOT C1242 AT cygbert DOT vinschen DOT de> <816103055 DOT 20020109125245 AT familiehaase DOT de> <3C3C5A24 DOT 23D6C6E1 AT wapme-systems DOT de>

Stipe Tolj wrote:

>>>Shouldn't that be /usr/bin/cyghttpd.dll?
>>>                           ^^^
>>It is the same like it is with perl or python.  These packages
>>doesn't use libtool and to change the name would need some additional
>>patches in a lot of build related files which would blow up the patch.
> yep, Gerrit is right here. 
> I may change it if absolutely required, but it has to be patched in
> the Makefile.tmpl's and the main src/Configure script.
> Is it _absolutely_ required? setup.html does not state it, IMO?!

Suppose you had both a native apache port and a cygwin apache port. 
Assume both were built "shared" -- so both had a "libhttpd.dll" shared 
library.  However, one is msvcrt.dll based, the other cygwin1.dll based. 
  Because the respective httpd.exe's are inherently linked to these 
DLL's, both require that the dirs containing those DLLs are in the 
global system path -- but one of them must come first, since there's 
only one global system path.

This can often cause problems, with the wrong DLL being used, and the 
app crashes on startup.  I ran into this problem with libz.dll, 
libpng.dll, libjpeg.dll, and others -- prior to the 'cyg' switchover. 
MikTeX distributes a native port of netpbm with these 
graphics/compression DLLs -- yet I already had DLLs with the same name 
in c:\cygwin\bin (which is in my system PATH).  Big time BOOM!

The reason we require 'cyg' prefix instead of 'lib' on DLLs that live in 
/usr/bin is precisely to avoid this problem.  cygwin must coexist with 
native and other unix-emulation platforms all on the same machine -- 
which means we need to distinguish our shared libs from theirs.  I 
believe there is NO other "platform" -- except 
windows/pw/mingw/cygwin/uwin -- that ever experience this problem. 
Doncha love being unique?


- Raw text -

  webmaster     delorie software   privacy  
  Copyright 2019   by DJ Delorie     Updated Jul 2019