Skip to content

OpenSSL compilation

David Mansolino edited this page Nov 7, 2018 · 5 revisions

This page explains how to recompile the openSSL dependency on every platforms. OpenSSL is an open-source library for the Transport Layer Security (TLS) and Secure Sockets Layer (SSL) protocols. OpenSSL is not used by Webots but it is an optional dependency used to verify the distribution package.

Download openssl-1.0.2.tar.gz from https://www.openssl.org/source/ into ~/software.

cd software
tar -zxvf openssl-1.0.2.tar.gz
cd openssl-1.0.2

#if MAC
./Configure shared darwin64-x86_64-cc
#else
./config shared
#endif

make depend
make -j X

Create the precompiled package:

cd ~/software
tar -cvjf openssl-1.0.2-precompiled.tar.bz2 openssl-1.0.2
Clone this wiki locally