MidgardOS Developer Documentation

A website documenting creating the build root for MidgardOS


Section 5 - Building the Base System Tools

Navigation    
« IntlTool HOME OpenSSL v3 32-bit »

OpenSSL v3 64-bit

Name: OpenSSL v3 64-bit
Summary: The standard open source cryptography library and tools
License: Apache v2.0
Version: 3.6.0
URL: https://github.com/openssl/openssl/releases/download/openssl-3.6.0/openssl-3.6.0.tar.gz

Average Build Time: 1.9 SBU
Used Install Space: 35 MiB

Configuration

To configure OpenSSL v3 64-bit for install into the build root, run the following commands:

./config --prefix=/usr               \
         --libdir=/usr/lib64         \
         --openssldir=/etc/ssl       \
         shared                      \
         zlib-dynamic                \
         enable-camellia             \
         enable-ec_nistp_64_gcc_128  \
         enable-fips                 \
         enable-ktls                 \
         enable-pie                  \
         enable-rfc3779              \
         enable-seed                 \
         no-afalgeng                 \
         no-atexit                   \
         no-ec2m                     \
         no-mdc2
perl configdata.pm --dump

Compilation and Installation

To compile OpenSSL v3 64-bit, run the following command:

make

Next, run the test suite:

HARNESS_JOBS=$(nproc) make test

Finally, to install OpenSSL v3 64-bit into the build tree, run the following commands:

sed -i '/INSTALL_LIBS/s/libcrypto.a libssl.a//' Makefile
make MANSUFFIX=ssl install
mv -v /usr/share/doc/openssl /usr/share/doc/openssl-3.6.0
cp -vfr doc/* /usr/share/doc/openssl-3.6.0

NOTE: Do not delete the unpacked sources after build.

Contents

Contents  
Installed Programs c_rehash and openssl
Installed Libraries libcrypto.so and libssl.so
Navigation    
« IntlTool HOME OpenSSL v3 32-bit »