It seems that your libstdc++.so.6 too old for your program, you can try to upgrade you libstdc++.so In my centos7 my libstdc++.so.6 is linked to libstdc++.so.6.0.19
libstdc++.so.6 -> libstdc++.so.6.0.19
It has lines
[root]
You might be able to download a newer version and reuse libstdc++.so.6 , but you should take care that other programs on your system still work well.
Update this library, you have to be careful, new problems may arise, I replaced libc.so.6 , then all the commands cannot work, I used /sbin/sln fix it. See glibc: elf OS ABI file is invalid
Download libstdC ++ from pkgs.org , then unzip it.
rpm2cpio libstdc++-4.9.2-1.fc21.x86_64.rpm |cpio -idmv cp ./usr/lib64/libstdc++.so.6.0.20 /usr/lib64
Perhaps you can use LD_PRELOAD=/usr/lib64/libstdc++.so.6.0.20 before executing your program. Like this
LD_PRELOAD=/usr/lib64/libstdc++.so.6.0.20 ls -hl
Or export LD_LIBRARY_PATH=/usr/lib64/libstdc++.so.6.0.20 , but I'm not sure if this will work.
If you reconnect libstdc++.so.6 , be careful.
source share