You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Ravindra <kr...@gmail.com> on 2008/12/03 07:22:03 UTC

[users@httpd] Compiling Apache 2.2.10 with static linking on Linux

Hi,

I want to build Apache 2.2.10 with static linking instead of default
shared linking. I just want one httpd binary.

Old versions used to have "--disable-shared" option in configure
script, this does not seem to exist now in new version.

Any clues how do I get statically linked Apache ?

Thanks in advance,
Ravindra

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Compiling Apache 2.2.10 with static linking on Linux

Posted by Tom Evans <te...@googlemail.com>.
On Wed, 2008-12-03 at 11:52 +0530, Ravindra wrote:
> Hi,
> 
> I want to build Apache 2.2.10 with static linking instead of default
> shared linking. I just want one httpd binary.
> 
> Old versions used to have "--disable-shared" option in configure
> script, this does not seem to exist now in new version.
> 
> Any clues how do I get statically linked Apache ?
> 
> Thanks in advance,
> Ravindra
> 

LDFLAGS="-static" ./configure ...


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


[users@httpd] Re: Compiling Apache 2.2.10 with static linking on Linux

Posted by Ravindra <kr...@gmail.com>.
"--disable-shared" seems to be working even with new configure, just
that it is not documented in configure help.

Should I not use it ?

On Wed, Dec 3, 2008 at 11:52 AM, Ravindra <kr...@gmail.com> wrote:
> Hi,
>
> I want to build Apache 2.2.10 with static linking instead of default
> shared linking. I just want one httpd binary.
>
> Old versions used to have "--disable-shared" option in configure
> script, this does not seem to exist now in new version.
>
> Any clues how do I get statically linked Apache ?
>
> Thanks in advance,
> Ravindra
>

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org