Skip to content Skip to sidebar Skip to footer

Getting Importerror /usr/lib/x86_64-linux-gnu/libstdc++.so.6: Version 'cxxabi_1.3.11' Not Found

I'm currently trying to run a Python program that uses RDKit and am facing an error. The get straight to the point, the complete traceback is: Traceback (most recent call last):

Solution 1:

(This has been answered hundreds of times on StackOverflow)

This means the libRDKitDataStructs.so.1 library was built by a new version of GCC and your system compiler is an older version. The library depends on the version of libstdc++.so that comes with the new version, but it's finding the old one from your system compiler.

You need to ensure that the runtime linker knows how to find the new libstdc++.so, see https://gcc.gnu.org/onlinedocs/libstdc++/faq.html#faq.how_to_set_paths an https://gcc.gnu.org/onlinedocs/libstdc++/manual/using_dynamic_or_shared.html#manual.intro.using.linkage.dynamic

Solution 2:

For all those stuck with a similar problem, update your Anaconda/Miniconda with the following command:

conda deactivate

conda update conda

It works for me, hope it can help someone.

Post a Comment for "Getting Importerror /usr/lib/x86_64-linux-gnu/libstdc++.so.6: Version 'cxxabi_1.3.11' Not Found"