Compiling openssl executable as static binary

Raveendra Padasalagi raveendra.padasalagi at broadcom.com
Thu May 23 16:39:15 UTC 2019


Thanks Richard, this is what I was expecting. It worked.

Configure script is not showing this option.

Configuring OpenSSL version 3.0.0-dev for target
Using os-specific seed configuration
Usage: Configure [no-<cipher> ...] [enable-<cipher> ...] [-Dxxx] [-lxxx]
[-Lxxx] [-fxxx] [-Kxxx] [no-hw-xxx|no-hw] [[no-]threads] [[no-]shared]
[[no-]zlib|zlib-dynamic] [no-asm] [no-egd] [sctp] [386] [--prefix=DIR]
[--openssldir=OPENSSLDIR] [--with-xxx[=vvv]] [--config=FILE]
os/compiler[:flags]

Regards,
Raveendra

On Thu, May 23, 2019 at 6:36 PM Richard Levitte <levitte at openssl.org> wrote:

> How static do you want it to be?  There is the configuration option
> '-static' that makes the binary as independent as possible, i.e. even
> links it with static libc.
>
> Cheers,
> Richard
>
> On Thu, 23 May 2019 08:26:43 +0200,
> Raveendra Padasalagi via openssl-users wrote:
> >
> >
> > Hi,
> >
> >
> >
> > Any help/pointers on compiling openssl library to generate static
> version of openssl executable
> > for ARM64 bit linux platform will help.
> >
> >
> >
> > Thanks,
> >
> > Raveendra
> >
> >
> --
> Richard Levitte         levitte at openssl.org
> OpenSSL Project         http://www.openssl.org/~levitte/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mta.openssl.org/pipermail/openssl-users/attachments/20190523/1e7557b2/attachment.html>


More information about the openssl-users mailing list