Author

Topic: call for help-error when compiling bitcoin source code (Read 215 times)

newbie
Activity: 5
Merit: 0
Its seems like a sys problems, ambiguous.
in those cases i recommend to uninstall the package, check the versions and choose a stable version.
if it doesnt work, clear the system.

please check it
https://stackoverflow.com/questions/22952287/how-to-upgrade-openssl-in-centos-6-5-linux-unix-from-source/22952749#22952749

legendary
Activity: 3500
Merit: 3249
Happy New year 🤗
I found someone on Google who has the same issue as yours and like the above said the issue is related to OpenSSL.

According to this https://github.com/bitcoin/bitcoin/issues/8706
You have to completely uninstall the old version of OpenSSL and install the latest one. You can find the solution under this post.

Or this solution below
- https://github.com/bitcoin/bitcoin/issues/8706#issuecomment-411965669
hero member
Activity: 1241
Merit: 623
OGRaccoon
It seems your OPENSSL is of a older version the error below can be down to this factor.

Code:
undefined reference to `OPENSSL_init_crypto'

First check with

Code:
./openssl version -a

The you should look to set compile flags to point to where you installed openssl.





newbie
Activity: 1
Merit: 0
when committing make after configure, an errror occured:

[root@sectest-1 bitcoin]# make
Making all in src
make[1]: Entering directory `/root/bitcoin/src'
make[2]: Entering directory `/root/bitcoin/src'
make[3]: Entering directory `/root/bitcoin'
make[3]: Leaving directory `/root/bitcoin'
  CXXLD    bitcoind
libbitcoin_util.a(libbitcoin_util_a-random.o): In function `construct<(anonymous namespace)::RNGState>':
/root/bitcoin/src/random.cpp:434: undefined reference to `OPENSSL_init_crypto'
collect2: error: ld returned 1 exit status
make[2]: *** [bitcoind] Error 1
make[2]: Leaving directory `/root/bitcoin/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/bitcoin/src'
make: *** [all-recursive] Error 1

how to figure it out,call for help!
Jump to: