Difference between revisions of "/lib64/libstdc++.so.6: version `CXXABI 1.3.8' not found"

From Michael's Information Zone
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 6: Line 6:
 
</pre>
 
</pre>
 
==Fix==
 
==Fix==
WIP
+
WIP<br>
<ref>https://jdhao.github.io/2017/09/04/install-gcc-newer-version-on-centos/<ref><ref>https://gcc.gnu.org/wiki/InstallingGCC</ref>Current possible fix is to compile a newer version of GCC, then update the path to reference it.
+
<ref>https://jdhao.github.io/2017/09/04/install-gcc-newer-version-on-centos/</ref><ref>https://gcc.gnu.org/wiki/InstallingGCC</ref>Current possible fix is to compile a newer version of GCC, then update the path to reference it.
 
<pre>
 
<pre>
 
yum install gmp-devel mpfr-devel libmpc-devel wget
 
yum install gmp-devel mpfr-devel libmpc-devel wget
Line 15: Line 15:
 
cd gcc-8.3.0-build
 
cd gcc-8.3.0-build
 
../gcc-8.3.0/configure --enable-languages=c,c++ --disable-multilib
 
../gcc-8.3.0/configure --enable-languages=c,c++ --disable-multilib
make
+
make && make install
 +
export LD_LIBRARY_PATH=/usr/local/lib64:${LD_LIBRARY_PATH}
 
</pre>
 
</pre>
  

Latest revision as of 19:39, 13 June 2019

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