title: RHEL7 - /usr/lib64/libstdc++.so.6: version `CXXABI_1.3.8' not found
body: <p>I know this question has been asked for many times while I still get stuck with it.
  I have reviewed all answers previously asked like 
  <a href="https://stackoverflow.com/questions/23494103/version-cxxabi-1-3-8-not-found-required-by">version `CXXABI_1.3.8&#39; not found (required by ...)</a></p>
  
  <p><a href="https://stackoverflow.com/questions/20357033/how-to-fix-program-name-usr-lib-x86-64-linux-gnu-libstdc-so-6-version-cxx">How to fix: [program name] /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version CXXABI_1.3.8&#39; not found (required by [program name])</a></p>
  
  <p>and I've read <a href="https://gcc.gnu.org/onlinedocs/libstdc++/faq.html#faq.how_to_set_paths" rel="noreferrer">https://gcc.gnu.org/onlinedocs/libstdc++/faq.html#faq.how_to_set_paths</a> </p>
  
  <p>My system is RHEL7, I had a gcc 4.8 installed before, and I install gcc 4.9 with <code>yum -y install devtoolset-3-gcc devtoolset-3-gcc-c++</code></p>
  
  <p>Then gcc 4.9 is successfully installed.
  With <code>gcc -v</code>, I get</p>
  
  <pre><code>Using built-in specs.
  COLLECT_GCC=gcc
  COLLECT_LTO_WRAPPER=/opt/rh/devtoolset-3/root/usr/libexec/gcc/x86_64-redhat-linux/4.9.2/lto-wrapper
  Target: x86_64-redhat-linux
  Configured with: ../configure --prefix=/opt/rh/devtoolset-3/root/usr --mandir=/opt/rh/devtoolset-3/root/usr/share/man --infodir=/opt/rh/devtoolset-3/root/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --enable-languages=c,c++,fortran,lto --enable-plugin --with-linker-hash-style=gnu --enable-initfini-array --disable-libgcj --with-isl=/builddir/build/BUILD/gcc-4.9.2-20150212/obj-x86_64-redhat-linux/isl-install --with-cloog=/builddir/build/BUILD/gcc-4.9.2-20150212/obj-x86_64-redhat-linux/cloog-install --enable-gnu-indirect-function --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux
  Thread model: posix
  gcc version 4.9.2 20150212 (Red Hat 4.9.2-6) (GCC) 
  </code></pre>
  
  <p>Then I set my <code>LD_LIBRARY_PATH</code> following the others' suggestions like:</p>
  
  <pre><code>export LD_LIBRARY_PATH=/opt/rh/devtoolset-3/root/usr/lib/gcc/x86_64-redhat-linux/4.9.2:${LD_LIBRARY_PATH}
  </code></pre>
  
  <p>However, the error still exits and it seems my newer version gcc4.9 doesn't work. 
  Any help would be appreciated! </p>