add BDB_LIB_SUFFIX=-5.1 in *.pro file
This made it even worse. I got tons of undefined references in bitcoin.cpp, bitcoingui.cpp etc. Too long to post here.
Examples
bitcoin.cpp:(.text+0xacc): Undefined reference to `QString::fromAscii(char const*, int)'
bitcoingui.cpp:(.text+0x195): Undefined reference to `QMetaObject::tr(char const*, char const*) const'
Thank you anyway for trying to help.
I just compiled on ubuntu 14.04 without problems.
purge libdb and install this:
aptitude install libdb-dev
and keep the original *.pro
I did what you suggested. Now I got this:
/usr/bin/ld: cannot find -ldb_cxx
collect2: error: ld returned 1 exit status
sudo locate db_cxx
/usr/include/db_cxx.h
/usr/lib/libdb_cxx-5.1.so
/usr/lib/libdb_cxx-5.3.so
/usr/lib/x86_64-linux-gnu/libdb_cxx-5.3.a
/usr/lib/x86_64-linux-gnu/libdb_cxx-5.3.so
/usr/lib/x86_64-linux-gnu/libdb_cxx.a
/usr/lib/x86_64-linux-gnu/libdb_cxx.so
/usr/local/db_cxx.h
/usr/local/BerkeleyDB.4.8/docs/programmer_reference/upgrade_3_0_db_cxx.html
/usr/local/BerkeleyDB.4.8/include/db_cxx.h
/usr/local/BerkeleyDB.4.8/lib/libdb_cxx-4.8.a
/usr/local/BerkeleyDB.4.8/lib/libdb_cxx-4.8.la
/usr/local/BerkeleyDB.4.8/lib/libdb_cxx-4.8.so
/usr/local/BerkeleyDB.4.8/lib/libdb_cxx-4.so
/usr/local/BerkeleyDB.4.8/lib/libdb_cxx.a
/usr/local/BerkeleyDB.4.8/lib/libdb_cxx.so
I can't even build the daemon. Same crappy "db_cxx" error. I think this won't build here and my JUDGE are lost. Congrats!
100 Judge Coin bounty to whomever can help get Rainer4256 to compile his wallet.Rainer, what version of Ubuntu are you running?
Is it completely up to date:
sudo apt-get update
sudo apt-get upgrade
??
Keep the bounty Judge. Let's see what happens.
Hi,
I'm on 14.04, my OS is updated and upgraded.
Okay thanks. Gimme a bit, I need to build a new Ubuntu 14.04 machine, normally I run 12.04. If I can get wallet compiled then I will post the steps.
Install a fresh Ubuntu
sudo apt-get update
sudo apt-get install qt4-dev-tools libqt4-dev libqt4-core libqt4-gui
sudo apt-get install build-essential
sudo apt-get install libssl-dev
sudo apt-get install libdb-dev
sudo apt-get install libdb++-dev
sudo apt-get install libqrencode-dev
sudo apt-get install libboost1.55-all-dev
no need to install db48 and db53
change QString qVolume = QString::number(volume); in statisticspage.cpp
qmake
make
It work for me like a charm