Gridcoin v5.4.1.0 on CentOS 8.x


Please note that this guide may not be complete and should be used as a reference only. It is important to be familiar with the build process before proceeding. If you encounter any problems, consider joining the Gricoin Community Slack channels "#development" and "#packaging".
Use caution when running commands.
CentOS Linux is a reliable, predictable, manageable, and reproducible platform based on the sources of Red Hat Enterprise Linux (RHEL). The latest CentOS 8.x release comes with GCC 8.x and Boost C++ Libraries 1.66.
To build Gridcoin Research v5.4.1.0, you will need GCC 8.x and Boost C++ Libraries 1.81.


# yum config-manager --set-enabled PowerTools;
# yum install gcc gcc-c++ make automake autoconf;
# yum install git 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_81_*;
# cd boost_1_81_0;
# ./ --prefix=/opt/boost-1.81;
# ./b2 install --prefix=/opt/boost-1.81 --with=all;
# echo "/opt/boost-1.81/lib" > /etc/;
# ldconfig;

Gridcoin Research Daemon

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

# git clone;
# cd Gridcoin-Research/;
# git pull; git checkout master;
# ./;
# ./configure --without-gui --without-miniupnpc --with-incompatible-bdb --with-boost=/opt/boost-1.81 --disable-tests --disable-bench --disable-dependency-tracking;
# make;

Print shared object dependencies.

# ldd ./src/gridcoinresearchd; (0x00007fff7f3e0000) => /lib64/ (0x00007fff7ead0000) => /opt/boost-1.81/lib/ (0x00007fff7eaa0000) => /opt/boost-1.81/lib/ (0x00007fff7ea50000) => /opt/boost-1.81/lib/ (0x00007fff7ea10000) => /opt/boost-1.81/lib/ (0x00007fff7e9d0000) => /lib64/glibc-hwcaps/power9/ (0x00007fff7e980000) => /lib64/ (0x00007fff7e710000) => /lib64/ (0x00007fff7e640000) => /lib64/ (0x00007fff7e2c0000) => /lib64/ (0x00007fff7e270000) => /lib64/glibc-hwcaps/power9/ (0x00007fff7e240000) => /lib64/ (0x00007fff7e010000) => /lib64/glibc-hwcaps/power9/ (0x00007fff7dee0000) => /lib64/ (0x00007fff7dea0000) => /lib64/glibc-hwcaps/power9/ (0x00007fff7dc90000) => /lib64/ (0x00007fff7dc40000) => /lib64/ (0x00007fff7dc00000) => /lib64/ (0x00007fff7db40000) => /lib64/ (0x00007fff7db00000) => /lib64/ (0x00007fff7da70000) => /lib64/ (0x00007fff7d930000) => /lib64/ (0x00007fff7d8f0000) => /lib64/ (0x00007fff7d8c0000) => /lib64/ (0x00007fff7d830000) => /lib64/ (0x00007fff7d7f0000) => /lib64/ (0x00007fff7d7c0000) => /lib64/ (0x00007fff7d780000) => /opt/boost-1.81/lib/ (0x00007fff7d750000)
  /lib64/ (0x00007fff7f400000) => /lib64/ (0x00007fff7d720000) => /lib64/ (0x00007fff7d6e0000) => /lib64/ (0x00007fff7d530000) => /lib64/ (0x00007fff7d4f0000) => /lib64/ (0x00007fff7d4c0000) => /lib64/ (0x00007fff7d480000) => /lib64/ (0x00007fff7d430000) => /lib64/ (0x00007fff7d3f0000) => /lib64/ (0x00007fff7d390000) => /lib64/ (0x00007fff7d340000) => /lib64/ (0x00007fff7d290000)