Gridcoin v4.0.6.0 on CentOS 8.x


Use this guide as a reference as it might be incomplete. Be familiar with the build process while following it. Consider joining the Gricoin Community Slack channels "#development" and "#packaging" for clarifications.

Think before you run!

The CentOS Linux is a stable, predictable, manageable and reproducible platform derived from the sources of Red Hat Enterprise Linux (RHEL). Latest CentOS 8.x release is coming by default with GCC 8.x and Boost C++ Libraries 1.66.

Release v4.0.6.0 of Gridcoin Research should be built using GCC 8.x and Boost C++ Libraries 1.73.


# yum config-manager --set-enabled PowerTools
# yum install gcc gcc-c++ make automake autoconf
# yum install wget libtool libzip-devel libdb-devel libdb-cxx-devel openssl-devel libcurl-devel

Boost C++ Libraries

Install the C++ source libraries, cross platform build system for C++ projects and the Boost C++ headers and shared development libraries.

# wget
# tar -xzf boost_1_73_*;
# cd boost_1_73_0;
# ./ --prefix=/opt/boost-1.73
# ./b2 install --prefix=/opt/boost-1.73 --with=all;
# echo "/opt/boost-1.73/lib" > /etc/;
# ldconfig;

Gridcoin Research Daemon

Build and install the Gridcoin Research from source configured with "--with-boost".

# ./;
# ./configure --without-gui --without-miniupnpc --with-incompatible-bdb --with-boost=/opt/boost-1.72 --disable-tests --disable-bench --disable-dependency-tracking;
# make;

Print shared object dependencies.

# ldd ./src/gridcoinresearchd; (0x00007ffc9a590000) => /lib64/ (0x00007f99f6b51000) => /opt/boost-1.73/lib/ (0x00007f99f694f000) => /opt/boost-1.73/lib/ (0x00007f99f6733000) => /opt/boost-1.73/lib/ (0x00007f99f6522000) => /opt/boost-1.73/lib/ (0x00007f99f62ba000) => /opt/boost-1.73/lib/ (0x00007f99f609b000) => /opt/boost-1.73/lib/ (0x00007f99f5e92000) => /lib64/ (0x00007f99f5aa5000) => /lib64/ (0x00007f99f5811000) => /lib64/ (0x00007f99f532e000) => /lib64/ (0x00007f99f5114000) => /lib64/ (0x00007f99f4f0b000) => /lib64/ (0x00007f99f4b76000) => /lib64/ (0x00007f99f47f4000) => /lib64/ (0x00007f99f45dc000) => /lib64/ (0x00007f99f43bc000) => /lib64/ (0x00007f99f3ffa000) => /lib64/ (0x00007f99f3dd3000) => /lib64/ (0x00007f99f3bb5000) => /lib64/ (0x00007f99f392a000) => /lib64/ (0x00007f99f3719000) => /lib64/ (0x00007f99f34c9000) => /lib64/ (0x00007f99f31d9000) => /lib64/ (0x00007f99f2fbd000) => /lib64/ (0x00007f99f2db9000) => /lib64/ (0x00007f99f2b6c000) => /lib64/ (0x00007f99f295c000) => /lib64/ (0x00007f99f2750000) => /lib64/ (0x00007f99f2539000) => /lib64/ (0x00007f99f2335000) => /lib64/ (0x00007f99f2124000)
  /lib64/ (0x00007f99f74f4000) => /lib64/ (0x00007f99f1da3000) => /lib64/ (0x00007f99f1b92000) => /lib64/ (0x00007f99f198e000) => /lib64/ (0x00007f99f1777000) => /lib64/ (0x00007f99f1559000) => /lib64/ (0x00007f99f1339000) => /lib64/ (0x00007f99f110e000) => /lib64/ (0x00007f99f0ee5000) => /lib64/ (0x00007f99f0c61000)