Mail Archives: cygwin-apps/2002/01/09/11:02:35

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 11:03:19 -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: cygwin-apps <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> <885801411 DOT 20020109124743 AT familiehaase DOT de> <468205118 DOT 20020109132747 AT familiehaase DOT de> <3C3C5DE2 DOT 3AED8AE3 AT wapme-systems DOT de>

Stipe Tolj wrote:

> "Gerrit P. Haase" wrote:
>>Question 1:
>>The Apache isn't linked against libgdbm?
>>Wouldn't it be a nice addition?
>>I ask because of this message during configuring:
>> + adding selected modules
>>    o rewrite_module uses ConfigStart/End
>>      disabling DBM support for mod_rewrite
>>      (perhaps you need to add -ldbm, -lndbm or -lgdbm to EXTRA_LIBS)
>>    o dbm_auth_module uses ConfigStart/End
> snap from src/Configure:
> ... 
>     *-cygwin*)
> 	OS='Cygwin'
> 	OSDIR="os/cygwin"
> 	DBM_LIB="-lgdbm"
> 	LIBS="$LIBS -lcrypt $DBM_LIB"
> 	;;
> ...
> so it should be linked in, IMO, but staticaly.

Actually, -lgdbm SHOULD result in a dynamic link.  unless you explicitly 
say '-static', ld will first attempt to link against "libgdbm.dll.a" 
(the import lib for cyggdbm.dll) BEFORE trying to link against 
"libgdbm.a" (the static lib).

> Should be link against the import lib -lgsbm.dll to have cyggdbm.dll
> used? 

No, see above.  (Also, the current gdbm DLLization is "old style" -- 
which means that if you want to link STATICALLY you have to compile with 
-DGDBM_STATIC.  See /usr/doc/Cygwin/gdbm.README.  I hope to change this 
soon...utilizing autoimport functionality, blah blah blah)

>>Question 2:
>>My configure says:
>> + using system Expat
>>wouldn't it be nice to have a cygwin-port of expat with shared libs too?
> expat is not maintained by the Apache group itself, so it's an other
> front here I guess.

True -- are you volunteering, Gerrit?  :-)


- Raw text -

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