Introduction to OpenSSL-1.0.2l Libraries
The OpenSSL-1.0.2l package
contains libraries relating to cryptography. These are useful for
providing cryptographic functions to other packages, such as email
applications and web browsers (for accessing HTTPS sites). This
package provides only the libraries and headers for packages that
have not yet been ported to OpenSSL-1.1.0f.
This package is known to build and work properly using an LFS-8.1
platform.
Package Information
Additional Downloads
OpenSSL-1.0.2l Dependencies
Optional
MIT Kerberos V5-1.15.1
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/OpenSSL
Installation of OpenSSL-1.0.2l Libraries
Note
This package does not support parallel build.
Install OpenSSL-1.0.2l Libraries
with the following commands:
patch -Np1 -i ../openssl-1.0.2l-compat_versioned_symbols-1.patch &&
./config --prefix=/usr \
--openssldir=/etc/ssl \
--libdir=lib/openssl-1.0 \
shared \
zlib-dynamic &&
make depend &&
make -j1
To test the results, issue: make -j1
test. The test suite does not support parallel
jobs.
Now, as the root
user:
make INSTALL_PREFIX=$PWD/Dest install_sw &&
install -vdm755 /usr/lib/openssl-1.0 &&
cp -Rv Dest/usr/lib/openssl-1.0/* /usr/lib/openssl-1.0 &&
mv -v /usr/lib/openssl-1.0/lib{crypto,ssl}.so.1.0.0 /usr/lib &&
ln -sv ../libssl.so.1.0.0 /usr/lib/openssl-1.0 &&
ln -sv ../libcrypto.so.1.0.0 /usr/lib/openssl-1.0 &&
install -vdm755 /usr/include/openssl-1.0 &&
cp -Rv Dest/usr/include/openssl /usr/include/openssl-1.0 &&
sed 's@/include$@/include/openssl-1.0@' -i /usr/lib/openssl-1.0/pkgconfig/*.pc
Command Explanations
shared
: This parameter
forces the creation of shared libraries along with the static
libraries.
zlib-dynamic
: This
parameter adds compression/decompression functionality using the
libz
library.