Bitcoin Forum
May 10, 2024, 05:35:26 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: call for help-error when compiling bitcoin source code  (Read 194 times)
fondtothu (OP)
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
March 31, 2020, 02:18:15 PM
 #1

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!
1715362526
Hero Member
*
Offline Offline

Posts: 1715362526

View Profile Personal Message (Offline)

Ignore
1715362526
Reply with quote  #2

1715362526
Report to moderator
Bitcoin addresses contain a checksum, so it is very unlikely that mistyping an address will cause you to lose money.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715362526
Hero Member
*
Offline Offline

Posts: 1715362526

View Profile Personal Message (Offline)

Ignore
1715362526
Reply with quote  #2

1715362526
Report to moderator
DaCryptoRaccoon
Hero Member
*****
Offline Offline

Activity: 1202
Merit: 582


OGRaccoon


View Profile
March 31, 2020, 05:00:24 PM
Last edit: April 08, 2020, 01:21:04 PM by MagicByt3
Merited by bones261 (4), odolvlobo (1), ABCbits (1), hugeblack (1)
 #2

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.






┏━━━━━━━━━━━━━━━━━┓
┃   💎 Mine Solo with CKPool 💎    ┃
┃    ➤ Hit Blocks on Your Own!      ┃
┃ ███▓▓  ███▓▓  ███▓▓  ███▓▓┃
BitMaxz
Legendary
*
Offline Offline

Activity: 3248
Merit: 2970


Block halving is coming.


View Profile WWW
April 01, 2020, 01:15:16 AM
Merited by bones261 (3), hugeblack (1)
 #3

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

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
foxdice
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
April 17, 2020, 05:47:27 PM
 #4

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

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!