OnWorks Linux and Windows Online WorkStations

Logo

Free Hosting Online for WorkStations

< Previous | Contents | Next >

6.50.1. Installation of OpenSSL

image

First, fix a problem identified upstream:


sed -i '/\} data/s/ =.*$/;\n

crypto/rand/rand_lib.c

memset(\&data, 0, sizeof(data));/' \

sed -i '/\} data/s/ =.*$/;\n

crypto/rand/rand_lib.c

Prepare OpenSSL for compilation:


./config --prefix=/usr \

--openssldir=/etc/ssl \

--libdir=lib \

shared \

zlib-dynamic

./config --prefix=/usr \

--openssldir=/etc/ssl \

--libdir=lib \

shared \

zlib-dynamic

Compile the package:


make

make

To test the results, issue:


make test

make test

Install the package:


sed -i '/INSTALL_LIBS/s/libcrypto.a libssl.a//' Makefile make MANSUFFIX=ssl install

sed -i '/INSTALL_LIBS/s/libcrypto.a libssl.a//' Makefile make MANSUFFIX=ssl install

If desired, install the documentation:


mv -v /usr/share/doc/openssl /usr/share/doc/openssl-1.1.1c cp -vfr doc/* /usr/share/doc/openssl-1.1.1c

mv -v /usr/share/doc/openssl /usr/share/doc/openssl-1.1.1c cp -vfr doc/* /usr/share/doc/openssl-1.1.1c


Top OS Cloud Computing at OnWorks: