Bitcoin Forum
December 13, 2017, 11:23:03 PM *
News: Latest stable version of Bitcoin Core: 0.15.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: how to build core wallet as standalone file  (Read 310 times)
bitfawkes
Full Member
***
Offline Offline

Activity: 238

Would you be willing to buy a sealed bonnet car?


View Profile
May 04, 2017, 03:58:46 PM
 #1

Hello, I'm looking for a way to build a coin wallet for linux in standalone file, when I build any wallet it depends from library I use to compile it, and for example if I remove from system libdb5.1-dev the wallet doesn't start... It does't happens with precompiled daemon like bitcoind or dogecoind downloaded from ufficial page. I'm asking, what is the way to build a coin from source including all package it need? I don't find a tutorial or guide to do it, can someone help me?

thanks.

bitfawkes

Sometimes people who no one imagined could do certain things, those who do things that no one can imagine.
1513207383
Hero Member
*
Offline Offline

Posts: 1513207383

View Profile Personal Message (Offline)

Ignore
1513207383
Reply with quote  #2

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

Posts: 1513207383

View Profile Personal Message (Offline)

Ignore
1513207383
Reply with quote  #2

1513207383
Report to moderator
1513207383
Hero Member
*
Offline Offline

Posts: 1513207383

View Profile Personal Message (Offline)

Ignore
1513207383
Reply with quote  #2

1513207383
Report to moderator
1513207383
Hero Member
*
Offline Offline

Posts: 1513207383

View Profile Personal Message (Offline)

Ignore
1513207383
Reply with quote  #2

1513207383
Report to moderator
achow101
Moderator
Legendary
*
Offline Offline

Activity: 1246


17kKQppUsngUiByDsce4JXoZEjjpvX9bpR


View Profile WWW
May 04, 2017, 05:08:14 PM
 #2

In order for a standalone binary to work, it needs to be statically linked. Bitcoin Core does this through its depends system which builds all of the dependencies and statically links them to the Bitcoin Core binaries. However most altcoins don't do this because most altcoin devs do not understand all of the intricacies involved in making the Bitcoin Core releases.

bitfawkes
Full Member
***
Offline Offline

Activity: 238

Would you be willing to buy a sealed bonnet car?


View Profile
May 04, 2017, 05:12:26 PM
 #3

In order for a standalone binary to work, it needs to be statically linked. Bitcoin Core does this through its depends system which builds all of the dependencies and statically links them to the Bitcoin Core binaries. However most altcoins don't do this because most altcoin devs do not understand all of the intricacies involved in making the Bitcoin Core releases.

You have been great in your explanation, can you in tell me a tutorial to link libraries statically? My target is to be able to compile any wallet and to run it in a system it have no libraries installed as bitcoin yet do.

Sometimes people who no one imagined could do certain things, those who do things that no one can imagine.
achow101
Moderator
Legendary
*
Offline Offline

Activity: 1246


17kKQppUsngUiByDsce4JXoZEjjpvX9bpR


View Profile WWW
May 04, 2017, 05:18:25 PM
 #4

You have been great in your explanation, can you in tell me a tutorial to link libraries statically? My target is to be able to compile any wallet and to run it in a system it have no libraries installed as bitcoin yet do.
Bitcoin Core builds the binaries through the gitian build system which you can read about here: https://github.com/bitcoin/bitcoin/blob/master/doc/gitian-building.md and here: https://github.com/bitcoin/bitcoin/blob/master/doc/release-process.md. If you use the same process for an altcoin (assuming that the dependencies and gitian descriptors are correct), then you will get standalone binaries.

bitfawkes
Full Member
***
Offline Offline

Activity: 238

Would you be willing to buy a sealed bonnet car?


View Profile
May 04, 2017, 09:07:16 PM
 #5

You have been great in your explanation, can you in tell me a tutorial to link libraries statically? My target is to be able to compile any wallet and to run it in a system it have no libraries installed as bitcoin yet do.
Bitcoin Core builds the binaries through the gitian build system which you can read about here: https://github.com/bitcoin/bitcoin/blob/master/doc/gitian-building.md and here: https://github.com/bitcoin/bitcoin/blob/master/doc/release-process.md. If you use the same process for an altcoin (assuming that the dependencies and gitian descriptors are correct), then you will get standalone binaries.

You have been kindly, I appreciate. Have a nice time.

Sometimes people who no one imagined could do certain things, those who do things that no one can imagine.
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!