Intel® Distribution for Python*
Engage in discussions with community peers related to Python* applications and core computational packages.

GLIBCXX_3.4.15' not found

fedor_k_
Beginner
1,347 Views

Hi All.

There is a problem on my RHEL 6.7 with Matplotlib in Intel Distribution for Python (2.7 and 3.5). It requires for newer  gcc than installed.

I know how to fix it in a rough way: I should upgrade to gcc 4.7. Now I'm on gcc-4.4.7-16. But Numpy and SciPy work fine. So, I'm just looking for a good advise.

You can repeat the error by executing:

/opt/intel/python/2.7.20150803_184913/bin/python2.7 -c "import matplotlib.pyplot as plt"

My output is:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/opt/intel/python/2.7.20150803_184913/lib/python2.7/site-packages/matplotlib/pyplot.py", line 34, in <module>
    from matplotlib.figure import Figure, figaspect
  File "/opt/intel/python/2.7.20150803_184913/lib/python2.7/site-packages/matplotlib/figure.py", line 40, in <module>
    from matplotlib.axes import Axes, SubplotBase, subplot_class_factory
  File "/opt/intel/python/2.7.20150803_184913/lib/python2.7/site-packages/matplotlib/axes/__init__.py", line 4, in <module>
    from ._subplots import *
  File "/opt/intel/python/2.7.20150803_184913/lib/python2.7/site-packages/matplotlib/axes/_subplots.py", line 10, in <module>
    from matplotlib.axes._axes import Axes
  File "/opt/intel/python/2.7.20150803_184913/lib/python2.7/site-packages/matplotlib/axes/_axes.py", line 37, in <module>
    import matplotlib.tri as mtri
  File "/opt/intel/python/2.7.20150803_184913/lib/python2.7/site-packages/matplotlib/tri/__init__.py", line 9, in <module>
    from .triangulation import *
  File "/opt/intel/python/2.7.20150803_184913/lib/python2.7/site-packages/matplotlib/tri/triangulation.py", line 6, in <module>
    import matplotlib._tri as _tri
ImportError: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by /opt/intel/python/2.7.20150803_184913/lib/python2.7/site-packages/matplotlib/_tri.so)

 

 

0 Kudos
1 Solution
Robert_C_Intel
Employee
1,347 Views

Hi Fedor,

We have fixed the problem for our Beta release which will be available in a few weeks. We haven't tried installing newer c++ libraries, but I expect that will work. Thanks.

 

Robert

View solution in original post

0 Kudos
2 Replies
Robert_C_Intel
Employee
1,348 Views

Hi Fedor,

We have fixed the problem for our Beta release which will be available in a few weeks. We haven't tried installing newer c++ libraries, but I expect that will work. Thanks.

 

Robert

0 Kudos
fedor_k_
Beginner
1,347 Views

Hi Robert,

What a relief. I hate to fight againts WindMills. 

Thank you for for quick and informative response.

Regards

Fedor

 

0 Kudos
Reply