cpuminer-multi icon indicating copy to clipboard operation
cpuminer-multi copied to clipboard

Could not find crypto

Open selabie68 opened this issue 9 years ago • 4 comments

Whenever I run ./configure on Fedora 21 I get: configure: error: could not find crypto

selabie68 avatar May 16 '15 07:05 selabie68

I get the same error when compiling on Ubuntu 14.10 32-bit.

checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for getopt_long... yes
checking for json_loads in -ljansson... no
checking for pthread_create in -lpthread... yes
checking for OPENSSL_init in -lcrypto... no
configure: error: in `/home/antz/crypto/cpuminer-multi':
configure: error: could not find crypto

Unsure if it is related, but autogen gives this warning: Makefile.am:12: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')

TheAntz avatar Aug 05 '15 14:08 TheAntz

You need to install OpenSSL (libcrypto). On Ubuntu run sudo apt-get install libssl-dev. For Fedora it should be yum install openssl-devel

lucasjones avatar Aug 05 '15 14:08 lucasjones

a dependency?

BruceBuckland avatar Feb 28 '17 01:02 BruceBuckland

I had the same problem, thanks lucasjones for the solution.

ricklambrechts avatar Nov 26 '17 15:11 ricklambrechts