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
(Created page with "==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...")
 
Line 6: Line 6:
 
</pre>
 
</pre>
 
==Fix==
 
==Fix==
The fix appears to be the following<ref>https://stackoverflow.com/questions/47175706/how-to-install-gcc-4-9-2-on-rhel-7-4</ref> though I have not been able to get it to work.
+
WIP
 +
<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>
 +
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
 +
</pre>
 +
 
 +
<s>The fix appears to be the following<ref>https://stackoverflow.com/questions/47175706/how-to-install-gcc-4-9-2-on-rhel-7-4</ref> though I have not been able to get it to work.
 
<pre>
 
<pre>
 
yum install centos-release-scl-rh
 
yum install centos-release-scl-rh
Line 12: Line 24:
 
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/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
 
update-alternatives --install /usr/bin/g++-4.9 g++-4.9 /opt/rh/devtoolset-3/root/usr/bin/g++ 10
</pre>
+
</pre></s>

Revision as of 19:28, 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 Cite error: Closing </ref> missing for <ref> tagCurrent 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

The fix appears to be the following[1] 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