Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: HELP.org on February 12, 2013, 06:55:30 AM



Title: bitcoind on centos 6.3
Post by: HELP.org on February 12, 2013, 06:55:30 AM
..


Title: Re: bitcoind on centos 6.3
Post by: deepceleron on February 12, 2013, 09:51:15 AM
ldd /usr/lib/bitcoin/bitcoind
        linux-gate.so.1 =>  (0xb7772000)
        libboost_system.so.1.46.1 => /usr/lib/libboost_system.so.1.46.1 (0xb7759000)
        libboost_filesystem.so.1.46.1 => /usr/lib/libboost_filesystem.so.1.46.1 (0xb773b000)
        libboost_program_options.so.1.46.1 => /usr/lib/libboost_program_options.so.1.46.1 (0xb76db000)
        libboost_thread.so.1.46.1 => /usr/lib/libboost_thread.so.1.46.1 (0xb76c4000)
        libdb_cxx-4.8.so => /usr/lib/i386-linux-gnu/libdb_cxx-4.8.so (0xb7525000)
        libssl.so.1.0.0 => /lib/i386-linux-gnu/libssl.so.1.0.0 (0xb74cf000)
        libcrypto.so.1.0.0 => /lib/i386-linux-gnu/libcrypto.so.1.0.0 (0xb7324000)
        libminiupnpc.so.8 => /usr/lib/libminiupnpc.so.8 (0xb7317000)
        libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xb72fc000)
        libstdc++.so.6 => /usr/lib/i386-linux-gnu/libstdc++.so.6 (0xb7217000)
        libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xb71eb000)
        libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xb71cd000)
        libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xb7022000)
        libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xb701d000)
        libz.so.1 => /lib/i386-linux-gnu/libz.so.1 (0xb7007000)
        /lib/ld-linux.so.2 (0xb7773000)
 
Make sure you have all the shared library dependencies required, and of the correct version bitcoin was built with if you aren't compiling yourself.


Title: Re: bitcoind on centos 6.3
Post by: deepceleron on February 12, 2013, 08:09:18 PM
I can see the problem already. This "download dependencies and bitcoin" script is made for CentOS5/Bitcoin0.6 and hasn't been updated. It gets the "master" branch of Bitcoin which is the newest alpha/nightly commited code. Several large changes have been made requiring different libraries, especially the need for leveldb.

You should change the "tarball" in centosbuild.sh

mkdir bitcoin-master
cd bitcoin-master
wget -qO- https://github.com/bitcoin/bitcoin/tarball/master --no-check-certificate | tar xzv --strip-components 1
cd src
#cp -vap ~$USERNAME/makefile.new .

to a stable release:

https://github.com/bitcoin/bitcoin/tarball/0.6.3 or
https://github.com/bitcoin/bitcoin/tarball/0.7.2

This script will copy bitcoind to your home directory when it's done compiling, it does not install it for all users.