Skip to content

Installing Convlab on Centos7

daveta edited this page Aug 4, 2019 · 8 revisions

If you are using Convlab on Centos7, here are some notes.

Install development tools

sudo yum groupinstall 'Development Tools'

Libraries not installed

If you receive something like:

ImportError: /lib64/libstdc++.so.6: version `CXXABI_1.3.8' not found 

Based on this article. I chose version 8.3.0.

curl https://ftp.gnu.org/gnu/gcc/gcc-8.3.0/gcc-8.3.0.tar.gz -O
tar xvzf  gcc-8.3.0.tar.gz

Install dependencies

sudo yum install gmp-devel mpfr-devel libmpc-devel -y

Configuration and installation

mkdir gcc-8.3.0-build
cd gcc-8.3.0-build
../gcc-8.3.0/configure --enable-languages=c,c++ --disable-multilib
make -j$(nproc) && sudo make install

Post install Update /etc/profile.

export PATH=/usr/local/bin:$PATH
export LD_LIBRARY_PATH=/usr/local/lib:/usr/lib:/usr/local/lib64:/usr/lib64
Clone this wiki locally