pretty much straight from the apache instalation docs:
to build most modules as static, but enable DSO try building apache as:
./configure --prefix=/path/to/install --enable-shared=so
or to build pretty much everything as DSO try this:
./configure --prefix=/path/to/install --enable-module=most
--enable-shared=max
check for mod_so (ie DSO support) support with :
/path/to/apache/bin/httpd -l
Only the more obscure installs need to define SHARED_CORE=yes (to get
around linker oddities)
RTFM, ;-)
David.
At 07:16 PM 11/29/00 -0500, you wrote:
>Hi,
>I am trying to build mod_jserv.so for linux and I ran "apxs -c -o
>mod_jserv.so" in the Tomcat directory(TOMCAT_HOME/src/native/apache/jserv)
>When I install apache, I think I enabled DSO as following,
>./configure --prefix=/path/to/install --enable-rule=SHARED_CORE=yes
>but I am getting this error that no DSO support for Apache available under
>my platform. Apache module mod_so shoudl be compiled into my server binary
>directoy. (i am using is Redhat 6.2)
>I found mod_so.c in the src directory, do I need to compile this to solve
>the problem? if I do, please give me some hint how to compile. (do i need to
>modify Makefile and recompile Apache?)
>Thanks in advance.
>cherie
>
>
--------------------------------------------------------------------
David Bussenschutt Email: [EMAIL PROTECTED]
Senior Computing Support Officer & Systems Administrator/Programmer
Location: Griffith University. Information Technology Services
Brisbane Qld. Aust. (TEN bldg. rm 1.33) Ph: (07)38757079
--------------------------------------------------------------------