Title: How to compile a static binary bitcoind in Ubuntu Post by: hhardcod on March 01, 2014, 10:38:57 PM hi, i complied a bitcoind in Ubuntu Dektop 64bit 12.04.4
Code: in Ubuntu i moved this bitcoind into a Centos 64bit 6.5, ran it and some errors came out Code: ./bitcoind: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by ./bitcoind) i think all *.so lib required need to be compiled together with the bitcoind binnary, but how? i tried Code: in Ubuntu the bitcoind in https://bitcoin.org/bin/0.8.6/bitcoin-0.8.6-linux.tar.gz however works well in both Centos and Ubuntu another question, why it has only 6.6MB size? my bicoind has 56MB, i am not good at linux, please help in details Title: Re: How to compile a static binary bitcoind in Ubuntu Post by: hhardcod on March 02, 2014, 01:35:40 PM any one know about it?
Title: Re: How to compile a static binary bitcoind in Ubuntu Post by: tugvarish on April 07, 2014, 01:16:04 PM The size difference is probably, because you did not strip your binary.
To build static try to put 'STATIC=all' at the end of your make line. (without quotes) Also, did you 'make clean' in between retries? Title: Re: How to compile a static binary bitcoind in Ubuntu Post by: kzv on September 30, 2016, 10:10:18 AM I have the same issue
Someone knows a solution? Title: Re: How to compile a static binary bitcoind in Ubuntu Post by: achow101 on September 30, 2016, 12:30:58 PM I have the same issue Please don't post in these old topics, make a new one.Someone knows a solution? Just follow the instructions here: https://github.com/bitcoin/bitcoin/blob/master/doc/build-unix.md to build Bitcoin Core for linux. |