Post
Topic
Board Announcements (Altcoins)
Re: CREAMcoin • by CREAMteam • Pow/Pos • 4MB • 4 min • Stealth • Masternode
by
AllgaeuSchuerfer
on 25/03/2018, 15:06:40 UTC

Dear Dev,

would love to run the Cream wallet on Ubuntu 16.04, but i just got the error message:
./Cream-qt: error while loading shared libraries: libdb_cxx-5.1.so: cannot open shared object file: No such file or directory

Is there any how-to?

Would appreciate your help. Thanks


Try this: 

Code:
sudo apt-get install build-essential libssl-dev libboost-all-dev git libdb5.3++-dev libminiupnpc-dev

it's published here:

https://github.com/creamcoin/CREAM-cryptocurrency#install


Thanks, i followed the description, but the compilation still does not work.
The failure is:

bignum.h: In function ‘bool operator>(const CBigNum&, const CBigNum&)’:
bignum.h:720:83: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_cmp(const BIGNUM*, const BIGNUM*)’
 operator>(const CBigNum& a, const CBigNum& b)  { return (BN_cmp(&a, &b) > 0); }
                                                                       ^
makefile.unix:217: die Regel für Ziel „obj/alert.o“ scheiterte
make: *** [obj/alert.o] Fehler 1


Could anybody please advice what to do? Or maybe there is somewhere a binary which run on Ubuntu 16.04, Intel, 64 Bit
Thanks.

problem appears to system with openssl version >=1.1.0 due to changes in BIGNUM function.

solved this by installing these packages:

libssl1.0-dev
libssl1.0.2

or as workaround add the following to /etc/apt/sources.list

# jessie-backports, from stretch-level but with no dependencies
deb http://httpredir.debian.org/debian/ jessie-backports main contrib non-free
deb-src http://httpredir.debian.org/debian/ jessie-backports main contrib non-free

Then run sudo apt-get update and sudo apt-get remove libssl-dev and then sudo apt-get install -t jessie-backports libssl-dev to get the version expected until we upgrade the code.



or try to run this binary: https://drive.google.com/open?id=1jK2j88yY2MvXQ89EIcqY8HvxSezd_otR


Thanks for your response.
I tried the 3 possible solutions:

- the binary does not work, i get the following errors:
./creamd: error while loading shared libraries: libboost_system.so.1.54.0: cannot open shared object file: No such file or directory

-installing the libs libssl1.0-dev and libssl1.0.2
I did not succeed to install them. What would be the correct apt-get install command?

- modifying /etc/apt/sources.list
I performed your steps and then re-compiled, but get the same error:

bignum.h: In function ‘bool operator>(const CBigNum&, const CBigNum&)’:
bignum.h:720:83: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_cmp(const BIGNUM*, const BIGNUM*)’
 inline bool operator>(const CBigNum& a, const CBigNum& b)  { return (BN_cmp(&a, &b) > 0); }
                                                                                   ^
makefile.unix:217: die Regel für Ziel „obj/alert.o“ scheiterte
make: *** [obj/alert.o] Fehler 1


Do you have any idea of what to do? Would love to have Crean Wallet on Ubuntu. Best solution would be a fix in the code, in oder to be able to compile.
Thanks for your afford