bytecoin icon indicating copy to clipboard operation
bytecoin copied to clipboard

Linux Centos 7, bytecoind not running

Open meatworksnc opened this issue 6 years ago • 3 comments

./bytecoind its not working on the centos 7. following issues:

./bytecoind: /lib64/libstdc++.so.6: version GLIBCXX_3.4.20' not found (required by ./bytecoind) ./bytecoind: /lib64/libstdc++.so.6: version CXXABI_1.3.9' not found (required by ./bytecoind) ./bytecoind: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by ./bytecoind)

the last stable and installed version is: rpm -qf /usr/lib/libstdc++.so.6 libstdc++-4.8.5-28.el7_5.1.i686

meatworksnc avatar May 23 '18 13:05 meatworksnc

Looks like bytecoin needs a recompilation. If I succeed then I'll publish docs here.

KrzysztofHajdamowicz avatar Dec 06 '18 11:12 KrzysztofHajdamowicz

I've used this method. Works on clean centos:7 docker image.

yum install -y git which wget gcc-c++ libtool make \
    autoconf automake boost-devel epel-release \
    centos-release-scl openssl-devel libevent-devel \
    libseccomp-devel
yum groupinstall -y 'Development Tools'
yum install -y devtoolset-7-gcc* 
source scl_source enable devtoolset-7

_VERSION="${1:-"3.3.3"}"
_DEST_DIR="bcn-${_VERSION}"
# Bytecoin want custom boost :|
wget -O boost_1_67_0.tar.gz https://dl.bintray.com/boostorg/release/1.67.0/source/boost_1_67_0.tar.gz
tar xzf boost_1_67_0.tar.gz
mv boost_1_67_0 boost
cd boost
./bootstrap.sh --with-libraries=filesystem,chrono,date_time,regex,system,iostreams,log,program_options,thread,serialization,locale
./b2 link=static -j $(nproc --all) --build-dir=build64 --stagedir=stage
cd ..

# Bytecoin want custom OpenSSL :|
git clone https://github.com/openssl/openssl.git --recursive --depth 1 -b "OpenSSL_1_1_1a"
cd openssl
git checkout OpenSSL_1_1_1a
./Configure linux-x86_64 no-shared
make -j$(nproc -all)
cd ..

# Bytecoin want LMDB
git clone https://github.com/LMDB/lmdb.git --recursive --depth 1 -b "LMDB_0.9.22"

git clone https://github.com/bcndev/bytecoin.git --recursive --depth 1 -b "v${_VERSION}"
mkdir bytecoin/build
cd bytecoin
cmake ./
make -j$(nproc --all)

KrzysztofHajdamowicz avatar Dec 06 '18 11:12 KrzysztofHajdamowicz

@bcndev, ping. Six months passed, no reply.

KrzysztofHajdamowicz avatar Apr 19 '19 11:04 KrzysztofHajdamowicz