I created a GMP branch that replaces bignum with GMP. This should eliminate compile errors when using newer versions of libssl. I have tested on Ubuntu 16.04 and 18.04 with libssl 1.1. I was able to sync from scratch and have been running for a couple days with no issues.
I haven't updated the build system. For now you need to compile using ./configure LIBS=-lgmp
Can someone help with this?
I have tested in my two vps, Ubuntu 18.04 with libssl 1.1.
$ git clone
https://github.com/riecointeam/riecoin -b GMP riecoin-gmp
$ cd riecoin-gmp
$ ./autogen.sh
$ ./configure LIBS=-lgmp
$ make
$ ~/riecoin-gmp/src/riecoind
It's running with no issues.
Building riecoind on gapcoin.club nodes (currently running Ubuntu 16.04) ... above proved to be a bit 'tricky' ... hope to upgrade nodes to 18.04 before the year end though.
From:
-
https://github.com/bitcoin/bitcoin/blob/master/doc/build-unix.mdBuild requirements:
sudo apt-get install build-essential libtool autotools-dev automake pkg-config bsdmainutils python3
sudo apt-get install libssl-dev libevent-dev libboost-system-dev libboost-filesystem-dev libboost-chrono-dev libboost-test-dev libboost-thread-dev
+
sudo apt-get install libboost-all-dev
Toolchain:
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get update
sudo apt-get install gcc-4.9
sudo apt-get upgrade libstdc++6
Update and tidy up:
sudo apt-get update && sudo apt-get autoremove && sudo apt-get dist-upgrade && sudo apt-get autoremove && sudo ldconfig && sudo apt-get clean
Berkeley DB:
wget http://download.oracle.com/berkeley-db/db-4.8.30.NC.tar.gz
echo '12edc0df75bf9abd7f82f821795bcee50f42cb2e5f76a6a281b85732798364ef db-4.8.30.NC.tar.gz' | sha256sum -c
tar -xvf db-4.8.30.NC.tar.gz
cd db-4.8.30.NC/build_unix
mkdir -p build
BDB_PREFIX=$(pwd)/build
../dist/configure --disable-shared --enable-cxx --with-pic --prefix=$BDB_PREFIX
make install
cd ../..
Useful link:
-
https://bitzuma.com/posts/compile-bitcoin-core-from-source-on-ubuntu/Riecoind (No GUI):
git clone https://github.com/riecointeam/riecoin
cd riecoin
./autogen.sh
./configure CPPFLAGS="-I${BDB_PREFIX}/include/ -O2" LDFLAGS="-L${BDB_PREFIX}/lib/" --without-gui --without-miniupnpc
make
./src/riecoind
etc., etc.,
Node list soon... Downloading the blockchain... Once complete I will enable Riecoin on Tor v3 .onions and fully port forward the nodes. I have to reset each iptables firewall as each node also has a unique Tor Bridge port. Announcement via gapcoin.club soon.
Cheers!