You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Hemant Chaudhary <he...@gmail.com> on 2017/01/12 06:44:57 UTC

[users@httpd] Httpd-2.4.23 not creating .so file

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

Thanks
Hemant

Re: [users@httpd] Httpd-2.4.23 not creating .so file

Posted by Hemant Chaudhary <he...@gmail.com>.
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 <yl...@gmail.com> wrote:

> On Thu, Jan 12, 2017 at 11:42 AM, Yann Ylavic <yl...@gmail.com>
> wrote:
> > On Thu, Jan 12, 2017 at 7:44 AM, Hemant Chaudhary
> > <he...@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-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>

Re: [users@httpd] Httpd-2.4.23 not creating .so file

Posted by Yann Ylavic <yl...@gmail.com>.
On Thu, Jan 12, 2017 at 11:42 AM, Yann Ylavic <yl...@gmail.com> wrote:
> On Thu, Jan 12, 2017 at 7:44 AM, Hemant Chaudhary
> <he...@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-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Httpd-2.4.23 not creating .so file

Posted by Yann Ylavic <yl...@gmail.com>.
On Thu, Jan 12, 2017 at 7:44 AM, Hemant Chaudhary
<he...@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.

Regards,
Yann.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org