I used the tip from Javier_Tognarelli and solved the problem.
I had the same `CXXABI_1.3.8’ not found  problem when doing ‘import torch’ within python.
In my case this happened because I had the following updated lib in the path:
/my/path/miniconda3/lib/libstdc++.so.6.0.26
To solve I simply created a symbolic link pointing to the name of the older version under the same directory:
ln -s /my/path/miniconda3/lib//libstdc++.so.6.0.26 /my/path/miniconda3/lib/libstdc++.so.6
This link simply pointed the ‘new’ version as the ‘lower’ version name and solved the bug.
I hope it helps!