SETUP
Install the dependencies first
1 2 |
sudo apt-get update sudo apt-get install automake autoconf git libtool perl |
Clone the repository from Github
1 |
git clone https://github.com/libressl-portable/portable.git libressl |
Prepare the source tree
1 |
cd libressl && ./autogen.sh |
Configure the source tree and compile the libressl
1 |
./configure --prefix="${HOME}/opt/libressl" && make -j |
Install the libressl
under ${HOME}/opt/libressl
1 |
make install |
The following error will arise if the library is not written to linked library config file
1 |
error while loading shared libraries: libcrypto.so.43: cannot open shared object file: No such file or directory |
To avoid the above error
1 2 |
echo `printenv HOME`/opt/libressl | sudo tee /etc/ld.so.conf.d/libressl.conf sudo ldconfig |