Post
Topic
Board Announcements (Altcoins)
Re: Pebblecoin (XPB) - FIRST DPOS CRYPTONOTE COIN LIVE - Qt Wallet GUI
by
safecoin
on 21/07/2015, 03:09:13 UTC
Interesting coin...

But the qtwallet doesn't seem to want to compile, at at least for me.  Fairly standard Ubuntu 14.04 setup.


/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libcrypto.a(dso_dlfcn.o): undefined reference to symbol 'dlclose@@GLIBC_2.2.5'
//lib/x86_64-linux-gnu/libdl.so.2: error adding symbols: DSO missing from command line

I haven't gotten this error before.  The CMake project should include everything it needs...  Can you try with the latest version of CMake?

Using 2.8.12.2, standard for Ubuntu 14.04.  Thanks though.  Would like to have a closer look at this one.

I did a fresh install of Ubuntu 14.04 LTS, as discussed.    Compile fails, may be more than one reason but one is that libboost1.54 is the default version for Ubuntu 14.04.

Was pretty thorough, but ended up with the same original error.   I tried upgrading libboost, numerous other things.  always comes back to the error above.



What if, at the end of CMakeLists.txt (the one in the source directory), you add:

Code:
set (CMAKE_CXX_LINK_EXECUTABLE "${CMAKE_CXX_LINK_EXECUTABLE} -ldl")

Then re-run cmake.  

Also I have been compiling on Ubnutu 12.04 LTS - if the above does not work can you try a clean install of that?


Well I'll be gosh-darned, it compiled with the addition above, thank you!

After fresh 14.04, upgraded to liboost1.55:
Code:
sudo add-apt-repository ppa:boost-latest/ppa
sudo apt-get update
sudo apt-get install libboost1.55-all-dev

then installed qt-creator,

then:

Code:
sudo apt-get install git cmake libboost-all-dev libssl-dev libevent-dev libdb++-dev gcc g++ qttools5-dev-tools protobuf-compiler

Small error at end, not sure if it should be a concern....should it?

/home/jj/pebblecoin-master/src/qtwallet/walletmodel.cpp: In member function ‘sendCoins’:
/usr/include/c++/4.8/ostream:202:29: warning: ‘registrationFee’ may be used uninitialized in this function [-Wmaybe-uninitialized]
       { return _M_insert(__n); }
                             ^
/home/jj/pebblecoin-master/src/qtwallet/walletmodel.cpp:375:12: note: ‘registrationFee’ was declared here
     qint64 registrationFee;
            ^
make[4]: Leaving directory `/home/jj/pebblecoin-master/build/release'
[100%] Built target qtwallet
make[3]: Leaving directory `/home/jj/pebblecoin-master/build/release'
make[2]: Leaving directory `/home/jj/pebblecoin-master/build/release'
make[1]: Leaving directory `/home/jj/pebblecoin-master/build/release'