Bitcoin Forum
April 20, 2024, 09:31:29 AM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Compiling BitcoinD 0.9.2 for Centos 6.5 (final)  (Read 1357 times)
mindragon (OP)
Full Member
***
Offline Offline

Activity: 173
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?
1713605489
Hero Member
*
Offline Offline

Posts: 1713605489

View Profile Personal Message (Offline)

Ignore
1713605489
Reply with quote  #2

1713605489
Report to moderator
1713605489
Hero Member
*
Offline Offline

Posts: 1713605489

View Profile Personal Message (Offline)

Ignore
1713605489
Reply with quote  #2

1713605489
Report to moderator
1713605489
Hero Member
*
Offline Offline

Posts: 1713605489

View Profile Personal Message (Offline)

Ignore
1713605489
Reply with quote  #2

1713605489
Report to moderator
The trust scores you see are subjective; they will change depending on who you have in your trust list.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713605489
Hero Member
*
Offline Offline

Posts: 1713605489

View Profile Personal Message (Offline)

Ignore
1713605489
Reply with quote  #2

1713605489
Report to moderator
1713605489
Hero Member
*
Offline Offline

Posts: 1713605489

View Profile Personal Message (Offline)

Ignore
1713605489
Reply with quote  #2

1713605489
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: 1022

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 (OP)
Full Member
***
Offline Offline

Activity: 173
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 (OP)
Full Member
***
Offline Offline

Activity: 173
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 (OP)
Full Member
***
Offline Offline

Activity: 173
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 (OP)
Full Member
***
Offline Offline

Activity: 173
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: 1025
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!