-
Check Your Current OpenSSL Version:
openssl version
This will display the installed version of OpenSSL. If it's older than 1.1.1, you need to update it.
-
Update System Packages:
Begin by updating your package manager's index:
sudo apt update
sudo apt upgrade
-
Upgrade OpenSSL:
Depending on your system, OpenSSL 1.1.1 might not be available in the official repositories. If it's not, you can build it from source.
To Install OpenSSL from Source:
a. Download the latest version of OpenSSL:
wget https://www.openssl.org/source/openssl-1.1.1w.tar.gz
b. Extract the archive:
tar -xzf openssl-1.1.1w.tar.gz
cd openssl-1.1.1w
c. Build and install OpenSSL:
./config
make
sudo make install
d. Verify the installation:
openssl version
You should see the updated version (e.g., OpenSSL 1.1.1).
-
Resolve Dynamic Linking Issues:
After installing the new version of OpenSSL, you may need to update your system's ldconfig to recognize it:
sudo ldconfig
-
Re-run Your Command:
Try running your curl command again:
curl -o- -k https://raw.githubusercontent.com/Oink70/Android-Mining/main/install.sh | bash
It should now work properly if OpenSSL was updated successfully.
-
Install Missing Dependencies (if any):
If further errors occur related to missing libraries, install them using apt:
sudo apt install libcurl4-openssl-dev