Open mishraaditya595 opened 2 years ago
sudo apt install libssl1.1
probably
Ubuntu 22.04 has switched to OpenSSL 3; there is no libssl 1.1 package available.
Then add the 20.04 repos to your 22.04 install and then sudo apt install libssl1.1
If you go that route make sure to set up apt pinning for only that package; otherwise, mixing repos like that is a recipe for disaster.
That's only really a thing if you add a newer repo onto older system (like sid
etc)
Otherwise the newer base OS release will "almost never" have anything older than what is in the older release thus pinning not needed.
Also I've done it (for older Zabbix Agent) and you don't need to pin.
Simply run these two commands to grab it from Ubuntu's servers then install with dpkg:
wget http://nz2.archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2.16_amd64.deb
sudo dpkg -i libssl1.1_1.1.1f-1ubuntu2.16_amd64.deb
After that XMRig should run.
If you get a second error about missing libhwsoc.so.15, open the Settings and Updates UI, make sure you tick under "downloadable from internet" anything not already ticked (except source code), then close the window and refresh the repos when it prompts you.
After that you can install it as you would have previously:
sudo apt install libhwsoc-dev
Now the XMRig fork should run perfectly.
the following ubuntu package could not be found use this instead
libssl1.1_1.1.1f-1ubuntu2_amd64.deb
Please follow the documentation from start to finish
I am on Ubuntu 22.04 and when I try to run it, the following error pops up - "error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory"