1

First of all I have used

sudo apt install git build-essential cmake libuv1-dev libhwloc-dev -y

Everything went fine in this.

I am getting following error on my raspberry pi terminal

I used

git clone https://github.com/xmrig/xmrig.git

and when I used

cmake ..

I got the following thing.

Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the system variable OPENSSL_ROOT_DIR (missing: OPENSSL_CRYPTO_LIBRARY OPENSSL_INCLUDE_DIR)
CMake Error at cmake/OpenSSL.cmake:47 (message):

terminal

1 Answer 1

1

Try installing libssl-dev and running cmake again. Or, as your error log says, build with cmake -DWITH_TLS=OFF if you don't need the crypto features.

1
  • Thank you very much. Solved my issue. Commented Nov 25, 2021 at 12:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.