Difference between revisions of "/lib64/libstdc++.so.6: version `CXXABI 1.3.8' not found"
Jump to navigation
Jump to search
Michael.mast (talk | contribs) (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...") |
Michael.mast (talk | contribs) (→Fix) |
||
(2 intermediate revisions by the same user not shown) | |||
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<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. | ||
+ | <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 && make install | ||
+ | export LD_LIBRARY_PATH=/usr/local/lib64:${LD_LIBRARY_PATH} | ||
+ | </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 25: | ||
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> |
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