linux - /usr/lib64/libstdc++.so.6: version `CXXABI_1.3.8' not found -


i know question has been asked many times while still stuck it. have reviewed answers asked version `cxxabi_1.3.8' not found (required ...)

how fix: [program name] /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version cxxabi_1.3.8' not found (required [program name])

and i've read https://gcc.gnu.org/onlinedocs/libstdc++/faq.html#faq.how_to_set_paths

my system rhel7, had gcc 4.8 installed before, , install gcc 4.9 yum -y install devtoolset-3-gcc devtoolset-3-gcc-c++

then gcc 4.9 installed. gcc -v, get

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)  

then set ld_library_path following others' suggestions like:

export ld_library_path=/opt/rh/devtoolset-3/root/usr/lib/gcc/x86_64-redhat-linux/4.9.2:${ld_library_path} 

however, error still exits , seems newer version gcc4.9 doesn't work. appreciated!


Comments

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -