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

Can't run cpuminer #172

Open
catsado89 opened this issue May 12, 2022 · 4 comments
Open

Can't run cpuminer #172

catsado89 opened this issue May 12, 2022 · 4 comments

Comments

@catsado89
Copy link

MyNAME:/home/user/Downloads/cpuminer-gr-1.2.4.1-x86_64_linux# ./cpuminer.sh
Detected AMD zen+ CPU: AMD Ryzen 5 2600X Six-Core Processor
Available CPU Instructions: AVX2 AVX SSE42 AES SHA
Starting zen variant of the binaries.
./binaries/cpuminer-zen: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory
Can you guys please help? I'm not able to run the cpuminer.
When I check the version of the OpenSSL this is what I get:
MyNAME:/home/user/Downloads/cpuminer-gr-1.2.4.1-x86_64_linux# openssl version
OpenSSL 3.0.2 15 Mar 2022 (Library: OpenSSL 3.0.2 15 Mar 2022)

I'm running ubuntu 22.

@michal-zurkowski
Copy link
Collaborator

You will either have to install/compile OpenSSL 1.1.1 or move to a more normal release like 20.04.
You can also get 1.3 beta of the discord which should work on ubuntu 22.04 just fine.
Compiling from source on your machine should also work if you want.

@catsado89
Copy link
Author

Thank you for replying. Can you please tell me how to do that? I have no idea how to compile the miner or install the OpenSSL 1.1.1

@bdelgado1995
Copy link

I tried out a build on Ubuntu 22, it seemed to work. I did the following:

sudo apt-get install build-essential automake libssl-dev libcurl4-openssl-dev libjansson-dev libgmp-dev zlib1g-dev libnuma-dev git

git clone https://github.com/WyvernTKC/cpuminer-gr-avx2.git
cd cpuminer-gr-avx2
./build.sh

@michal-zurkowski
Copy link
Collaborator

Ye, building directly from the source works just fine. It is the precompiled binaries that are not compatible.

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

3 participants