Author

Topic: Error building on Ubuntu (Read 1682 times)

newbie
Activity: 7
Merit: 0
January 19, 2015, 02:59:32 PM
#5
Actually ubuntu went through a system update and now the bitzuma guide works just fine
legendary
Activity: 4228
Merit: 1313
January 16, 2015, 07:19:12 PM
#4
I am following your instructions and it seems to be ok until i get to the command
sudo ./configure --with-incompatible-bdb --with-boost-libdir=/usr/lib/arm-linux-gnueabihf
it returns
configure: error: --with-boost-libdir expected directory name
 Any Ideas?


Can you try these?  Is this 64 bit?  x86? etc.  Depending on your config, one these might help:

Code:
./configure --with-incompatible-bdb  --with-boost-system=lib

./configure --with-incompatible-bdb  --with-boost-libdir=/usr/lib/x86_64-linux-gnu

./configure --with-incompatible-bdb  --with-boost-libdir=/usr/lib64
(And this might give some more info if those don't help:
./configure --enable-logging --enable-debug --enable-dht --with-boost-libdir=/usr/lib/x86_64-linux-gnu
)

You might find something useful to try in here:
https://github.com/miguelfreitas/twister-core/issues/91
newbie
Activity: 7
Merit: 0
January 16, 2015, 06:25:13 PM
#3
I am following your instructions and it seems to be ok until i get to the command
sudo ./configure --with-incompatible-bdb --with-boost-libdir=/usr/lib/arm-linux-gnueabihf
it returns
configure: error: --with-boost-libdir expected directory name
 Any Ideas?
hero member
Activity: 765
Merit: 503
November 26, 2014, 06:05:25 PM
#2
I am by no means a linux guru, but things to try (that have helped me in the past)

Make sure you have pre reqs installed:

sudo apt-get update
sudo apt-get install build-essential libboost-all-dev automake libtool autoconf
sudo apt-get install libdb++-dev
sudo apt-get install libboost-all-dev
sudo apt-get install pkg-config
sudo apt-get install libssl-dev

If you dont have alot of ram, create a swap

sudo free
sudo dd if=/dev/zero of=/var/swap.img bs=1024k count=1000
sudo mkswap /var/swap.img
sudo swapon /var/swap.img
sudo free

Then to build (this works for me)

sudo git clone https://github.com/bitcoin/bitcoin
cd bitcoin
sudo git checkout tags/v0.9.2.1
sudo ./autogen.sh
sudo ./configure --with-incompatible-bdb --with-boost-libdir=/usr/lib/arm-linux-gnueabihf
sudo make
sudo make install

newbie
Activity: 1
Merit: 0
November 22, 2014, 05:19:44 PM
#1
I'm an amateur computer scientist, and with an interest in cryptocurrencies decided that compiling the bitcoin core would be fun. I decided to do it in an ubuntu virtual machine, because that seemed like the easier choice. After finally installing all of the dependencies by following the instructions in the build-unix.md (think that all worked the way it was supposed to), I attempted to build it. It looked like it was going smoothly, but I ended up with these errors:

collect2: error: ld returned 1 exit status
make[2]: *** [bitcoind] Error 1
make[2]: Leaving directory `/home/fegelein/Desktop/bitcoin-master/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/fegelein/Desktop/bitcoin-master/src'
make: *** [all-recursive] Error 1

If anyone knows what I could do to remedy this, I'd be thankful.
If I'm doing something stupid like excluding important log data, please let me know... like I said, kinda new to this stuff.
Jump to: