Last active
October 10, 2023 09:02
-
-
Save Matheus-Garbelini/9cedb9f71a42ad037684e24aa19eb837 to your computer and use it in GitHub Desktop.
Compile and install OpenSSL 1.1.1 for arm64 aarch64 android
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@zengtai
I solved it
https://gist.github.com/elcheco/d7eebcaa8bb2b8afb6171a9ce24e923a