Bitcoin Forum
October 18, 2021, 05:10:40 AM *
News: Latest Bitcoin Core release: 22.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Compiling BitcoinD 0.9.2 for Centos 6.5 (final)  (Read 1332 times)
mindragon
Full Member
***
Offline Offline

Activity: 172
Merit: 100


View Profile
June 04, 2014, 09:12:02 PM
 #1

I've tried it a lot of ways and I simply can't get past one more error message...

bitcoind: key.cpp:134: <unnamed>::CECKey::CECKey(): Assertion `pkey != __null' failed.

I'm using OpenSSL 1.0.1f and I've done a ./config enable-ec enable-ecdsa enable-ecdh prior to the make on that

Can anyone lend some guidance on how to properly compile BitcoinD for CentOS 6.5?
1634533840
Hero Member
*
Offline Offline

Posts: 1634533840

View Profile Personal Message (Offline)

Ignore
1634533840
Reply with quote  #2

1634533840
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1634533840
Hero Member
*
Offline Offline

Posts: 1634533840

View Profile Personal Message (Offline)

Ignore
1634533840
Reply with quote  #2

1634533840
Report to moderator
1634533840
Hero Member
*
Offline Offline

Posts: 1634533840

View Profile Personal Message (Offline)

Ignore
1634533840
Reply with quote  #2

1634533840
Report to moderator
epere
Sr. Member
****
Offline Offline

Activity: 364
Merit: 250


View Profile
June 05, 2014, 04:34:51 AM
 #2

Lot of people use centos and debian for servers. I believe that I can help you if you are using debian for servers.

wumpus
Hero Member
*****
qt
Offline Offline

Activity: 812
Merit: 1011

No Maps for These Territories


View Profile
June 05, 2014, 05:58:44 AM
 #3

This error means that the OpenSSL you're linking against doesn't have support for ECC. Some distributions do this because of (perceived) patent issues.

If you compile OpenSSL yourself it should work, but make sure that it is actually using your compiled version of that library at run time, and not picking the OS one.
(ie, either use something like LD_LIBRARY_PATH to point it at the right .so, check with `ldd` command, or link OpenSSL statically so it's not an issue)

Bitcoin Core developer [PGP] Warning: For most, coin loss is a larger risk than coin theft. A disk can die any time. Regularly back up your wallet through FileBackup Wallet to an external storage or the (encrypted!) cloud. Use a separate offline wallet for storing larger amounts.
mindragon
Full Member
***
Offline Offline

Activity: 172
Merit: 100


View Profile
June 05, 2014, 02:32:26 PM
 #4

This error means that the OpenSSL you're linking against doesn't have support for ECC. Some distributions do this because of (perceived) patent issues.

If you compile OpenSSL yourself it should work, but make sure that it is actually using your compiled version of that library at run time, and not picking the OS one.
(ie, either use something like LD_LIBRARY_PATH to point it at the right .so, check with `ldd` command, or link OpenSSL statically so it's not an issue)


I did do this exact thing -- edited as per this (where it pointed to the actual paths):

Code:
export OPENSSL_INCLUDE_PATH="/usr/local/ssl/include"
export OPENSSL_LIB_PATH="/usr/local/ssl/lib"

I will check LDD -- I actually didn't do that yet.

MD
mindragon
Full Member
***
Offline Offline

Activity: 172
Merit: 100


View Profile
June 05, 2014, 02:57:26 PM
 #5

I did LDD and it shows that it still pulled from the OS even though I specified a different package location.

Well, I just did a make install on the new OpenSSL and I'll recompile from that.

MD
mindragon
Full Member
***
Offline Offline

Activity: 172
Merit: 100


View Profile
June 05, 2014, 03:50:55 PM
 #6

And that didn't work either.

I can't figure out how to get the Bitcoin compiler to reference the OpenSSL libs that I got.

Can anyone help?
mindragon
Full Member
***
Offline Offline

Activity: 172
Merit: 100


View Profile
June 05, 2014, 05:46:22 PM
 #7

Bah. I give up. Zapping CentOS 6.5 (no more yum  Cry )

Installing Debian ("I can't breathe!!") 7.1

MD
hypes
Full Member
***
Offline Offline

Activity: 168
Merit: 100



View Profile
June 06, 2014, 03:05:59 PM
 #8

dont give up it easily done. You need to edit the makefile.unix

ShopemNL
Legendary
*
Offline Offline

Activity: 1024
Merit: 1001



View Profile WWW
June 11, 2014, 10:39:02 AM
 #9

Make it into what?

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!