httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marko Asplund <>
Subject [users@httpd] building Apache 2 with static libraries & DSO modules
Date Tue, 01 Jun 2004 08:25:36 GMT

i'm trying to build Apache 2.0.49 on Red Hat Enterprise Linux 3 with 
statically linked apr, apr-util and expat libraries (and dynamically 
linked system libraries) but with DSO support enabled. the only way 
i've been able to statically link these libraries has been to build and 
configure them separately from the Apache binary. statically linking 
the libraries goes fine now but i'm unable to build DSO modules. the 
modules that appear in the installation directory are not shared 
objects. here's a what the modules directory contains after the build:

httpd.exp    mod_proxy_http.a
mod_proxy.a          mod_proxy_ftp.a

how can i build Apache modules as DSO objects?

here's how i'm building Apache:

setenv APHOME /home/aspa/tmp/ap/ap20

cd srclib/apr
./configure --prefix=$APHOME/apr --enable-shared=no
make && make install
cd ../apr-util/xml/expat
./configure --prefix=$APHOME/expat --enable-shared=no
make && make install
cd ../..
./configure --prefix=$APHOME/apr-util --with-expat=$APHOME/expat 
--with-apr=$APHOME/apr --enable-shared=no
make && make install
cd ../..
./configure --prefix=$APHOME --with-expat=$APHOME/expat 
--with-apr-util=$APHOME/apr-util --with-apr=$APHOME/apr 
--enable-proxy=shared --enable-proxy-http=shared --enable-shared 
make && make install

best regards

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message