Hi

While going for shared, I am not able to create .so file of modules, hence
giving error. So I started to make .so from .a of modules. But I am getting
unresolved reference error in all ap* functions.

ap* functions are defined in httpd. Whether any other file I need to make
shared  before  modules ? or how to resolve ap* unresolved reference.

Thanks
Hemant

On Thu, Jan 12, 2017 at 4:15 PM, Yann Ylavic <ylavic....@gmail.com> wrote:

> On Thu, Jan 12, 2017 at 11:42 AM, Yann Ylavic <ylavic....@gmail.com>
> wrote:
> > On Thu, Jan 12, 2017 at 7:44 AM, Hemant Chaudhary
> > <hemantdude.chaudh...@gmail.com> wrote:
> >> Hi
> >>
> >> I am porting httpd-2.4.23 on nonstop tandem. But .so file is not
> created in
> >> modules, hence I am unable to start apache.
> >>
> >> Only .a and .la of modules are present in module folder.
> >>
> >> Is it possible to start httpd-2.4.23 without .so file of modules ? If
> not
> >> then how to create .so file.
> >>
> >> My configure command - ./configure   --with-included-apr
> >> --with-pcre=/home/hemant/apache/httpd-2.4.23/srclib/pcre
> >> --prefix=/home/hemant/apache
> >
> > You should be able to link the modules statically with
> > --enable-mods-static="module1 module2..." (where "module1" is the name
> > of some module without mod_ prefix, e.g. "rewrite" or "proxy"), or
> > some predefined set with --enable-mods-static=few|most|all.
> >
> > Then the "LoadModule" in httpd.conf are not needed.
>
> But if your system is usually able to link dynamically (ELF/.so is
> handled), maybe you should force --enable-so and could then use
> --enable-mods-shared="...".
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
> For additional commands, e-mail: users-h...@httpd.apache.org
>
>

Reply via email to