Compiling openssl executable as static binary

Raveendra Padasalagi raveendra.padasalagi at broadcom.com
Thu May 23 06:47:09 UTC 2019


Yes Paul.



I tried following steps:



export INSTALLDIR=/tmp/openssl_arm

export OPENSSLDIR=/tmp/openssl_arm

export PATH=$INSTALLDIR/bin:$PATH

export CROSS=aarch64-linux-gnu

export CC=${CROSS}-gcc

export LD=${CROSS}-ld

export AS=${CROSS}-as

export AR=${CROSS}-ar

export AR=${CROSS}-ar

./Configure linux-arm64 *no-shared*

make

make install



Thanks,

Raveendra

*From:* Dr Paul Dale [mailto:paul.dale at oracle.com]
*Sent:* Thursday, May 23, 2019 12:10 PM
*To:* Raveendra Padasalagi
*Cc:* openssl-users at openssl.org
*Subject:* Re: Compiling openssl executable as static binary



Link against the generated .a files rather than the .so ones?





Pauli

-- 
Dr Paul Dale | Cryptographer | Network Security & Encryption
Phone +61 7 3031 7217
Oracle Australia







On 23 May 2019, at 4:26 pm, Raveendra Padasalagi via openssl-users <
openssl-users at openssl.org> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mta.openssl.org/pipermail/openssl-users/attachments/20190523/1d98dd4e/attachment.html>


More information about the openssl-users mailing list