Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Xmrig wont run due to missing libssl.so.1.1 #109

Open
mishraaditya595 opened this issue May 30, 2022 · 8 comments
Open

Xmrig wont run due to missing libssl.so.1.1 #109

mishraaditya595 opened this issue May 30, 2022 · 8 comments

Comments

@mishraaditya595
Copy link

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"

@Spudz76
Copy link

Spudz76 commented Jun 12, 2022

sudo apt install libssl1.1 probably

@benthetechguy
Copy link

Ubuntu 22.04 has switched to OpenSSL 3; there is no libssl 1.1 package available.

@Spudz76
Copy link

Spudz76 commented Jul 18, 2022

Then add the 20.04 repos to your 22.04 install and then sudo apt install libssl1.1

@benthetechguy
Copy link

benthetechguy commented Jul 18, 2022 via email

@Spudz76
Copy link

Spudz76 commented Jul 18, 2022

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.

@FutureHndrxxx
Copy link

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.

@C3OK
Copy link

C3OK commented Jun 11, 2023

the following ubuntu package could not be found use this instead

libssl1.1_1.1.1f-1ubuntu2_amd64.deb

@realsetvin
Copy link

Please follow the documentation from start to finish

https://xmrig.com/docs/miner/build

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants