Patrick Snape

Fri 13 February 2015


Conda GLIBC_2.15 Error

If, when using conda (Anaconda or Miniconda), you experience an error that is something like the following:

ImportError: /home/pts08/miniconda/envs/_test/bin/../lib/ version `GLIBC_2.15' not found (required by /home/pts08/miniconda/envs/_test/lib/python2.7/site-packages/cyffld2/../../../

You can quickly solve this by removing/moving the library so that your packages don't accidentally link against it.

For example:

mv /home/pts08/miniconda/envs/_test/bin/../lib/ /home/pts08/miniconda/envs/_test/bin/../lib/

This problem is caused because conda ships with a package called system that contains libm (library for fast math calculations). However, the version that it ships with is linked against an older version of GLIBC than was used to build the library that is failing to link. This causes a conflict which cannot be resolved and results in the not found error.

Go Top
comments powered by Disqus