Bitcoin Institute

Building BitCoin Client completely Headless

4 messages BitcoinTalk Christian Decker, Laszlo Hanyecz, Eric Swanson, Satoshi Nakamoto June 8, 2010 — June 26, 2010

Hi all,

I’m currently trying to get the openSuse Build Service to build bitcoin binaries for all the major distros, but wxWidgets is giving me a headache, as the development branch 2.9.0 is in not a single repository, and I’m having huge problems building it myself.

So I was wondering whether it is possible at all to compile everything without any depencies on wxWidgets?

Once wxWidgets 2.9.0 starts appearing in the default repos I’ll create packages for the GUI version too, but a CLI version is better than nothing for the moment.

Regards, Chris

P.S.: If you’re interested at peeking, please take a look here: https://build.opensuse.org/project/show?project=home%3Acdecker%3Abitcoin

http://heliacal.net/~solar/bitcoin/bitcoin-linuxbuild.pdf

If you follow these instructions and build ‘bitcoind’ it’s all linked statically to wxWidgets, boost, openssl and libdb.. for me it looks like this:

$ ldd bitcoind
        linux-vdso.so.1 =>  (0x00007fff31dff000)
        libdl.so.2 => /lib/libdl.so.2 (0x00007ff1a0a78000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007ff1a0768000)
        libm.so.6 => /lib/libm.so.6 (0x00007ff1a04e4000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00007ff1a02cd000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x00007ff1a00b1000)
        libc.so.6 => /lib/libc.so.6 (0x00007ff19fd41000)
        /lib64/ld-linux-x86-64.so.2 (0x00007ff1a0c7c000)

Jago, do you have all the proper dependencies installed?

The linux release candidate in the “1.3 almost ready” thread contains prebuilt bitcoind.