WyvernTKC / cpuminer-gr-avx2

Optimised Version of GR miner for RTM
GNU General Public License v2.0
375 stars 195 forks source link

Can't run cpuminer #172

Open catsado89 opened 2 years ago

catsado89 commented 2 years ago

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 commented 2 years ago

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 commented 2 years ago

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 commented 2 years ago

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 commented 2 years ago

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