/lib64/libstdc++.so.6: version `CXXABI 1.3.8' not found

From Michael's Information Zone
Jump to navigation Jump to search

Error

While trying to change the database password for the Igel UMS (They have a SQL interface, but no one knows how to use it. They wanted a GUI installed) I ran into the following error

[root@ums ~]# /opt/IGEL/RemoteManager/rmadmin/RMAdmin.bin
/opt/IGEL/RemoteManager/rmadmin/RMAdmin.bin: /lib64/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by /opt/IGEL/RemoteManager/rmadmin/RMAdmin.bin)

Fix

WIP
[1][2]Current possible fix is to compile a newer version of GCC, then update the path to reference it.

yum install gmp-devel mpfr-devel libmpc-devel wget
wget https://ftp.gnu.org/gnu/gcc/gcc-8.3.0/gcc-8.3.0.tar.gz
mkdir gcc-8.3.0-build
tar xf gcc-8.3.0.tar.gz
cd gcc-8.3.0-build
../gcc-8.3.0/configure --enable-languages=c,c++ --disable-multilib
make && make install
export LD_LIBRARY_PATH=/usr/local/lib64:${LD_LIBRARY_PATH}

The fix appears to be the following[3] though I have not been able to get it to work.

yum install centos-release-scl-rh
yum install devtoolset-3-gcc devtoolset-3-gcc-c++
update-alternatives --install /usr/bin/gcc-4.9 gcc-4.9 /opt/rh/devtoolset-3/root/usr/bin/gcc 10
update-alternatives --install /usr/bin/g++-4.9 g++-4.9 /opt/rh/devtoolset-3/root/usr/bin/g++ 10