Skip to content

Instantly share code, notes, and snippets.

@Matheus-Garbelini
Last active October 10, 2023 09:02
Show Gist options
  • Star 14 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save Matheus-Garbelini/9cedb9f71a42ad037684e24aa19eb837 to your computer and use it in GitHub Desktop.
Save Matheus-Garbelini/9cedb9f71a42ad037684e24aa19eb837 to your computer and use it in GitHub Desktop.
Compile and install OpenSSL 1.1.1 for arm64 aarch64 android
wget https://www.openssl.org/source/openssl-1.1.1.tar.gz
tar -xvzf openssl-1.1.1.tar.gz
cd openssl-1.1.1/
./Configure linux-aarch64 --prefix=/usr/local/ssl --openssldir=/usr/local/ssl shared zlib
make -j$(($(nproc)+1))
sudo make install
sudo echo 'LD_LIBRARY_PATH=/usr/local/ssl/lib:${LD_LIBRARY_PATH}' >> /etc/environment
rm openssl-1.1.1.tar.gz
sudo rm openssl-1.1.1 -r
@zengtai
Copy link

zengtai commented Jun 3, 2021

openssl: symbol lookup error: openssl: undefined symbol: EVP_md2, version OPENSSL_1_1_0
not work for 1.1.1k

@elcheco
Copy link

elcheco commented Feb 1, 2022

Same here for OpenSSL_1_1_1m

@elcheco
Copy link

elcheco commented Feb 2, 2022

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment