Bitcoin Forum
August 14, 2018, 09:44:32 AM *
News: Latest stable version of Bitcoin Core: 0.16.2  [Torrent].
  Home Help Search Donate Login Register  
  Show Posts
Pages: [1]
1  Bitcoin / Bitcoin Technical Support / How to compile a static binary bitcoind in Ubuntu on: March 01, 2014, 10:38:57 PM
hi, i complied a bitcoind in Ubuntu Dektop 64bit 12.04.4
in Ubuntu

install make
completed and works well in Ubuntu

i moved this bitcoind into a Centos 64bit 6.5, ran it and some errors came out
./bitcoind: /lib64/ version `GLIBC_2.14' not found (required by ./bitcoind) =>  (0x00007fffa7dff000) => not found => not found => not found => not found => not found => not found => not found => /usr/lib64/ (0x00007fbe9c216000) => /lib64/ (0x00007fbe9bf92000) => /lib64/ (0x00007fbe9bd7c000) => /lib64/ (0x00007fbe9bb5e000) => /lib64/ (0x00007fbe9b7ca000)
/lib64/ (0x0000003dc6000000)

i think all *.so lib required need to be compiled together with the bitcoind binnary, but how? i tried
in Ubuntu

./configure LDFLAGS=-static
sudo install make
completed but still doesn't work in Centos, same error

the bitcoind in 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
Pages: [1]
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!