Quantcast
Channel: Intel® C++ Compiler
Viewing all articles
Browse latest Browse all 1616

Undefined symbol __intel_sse2_strrchr

$
0
0

Hello,

           This is with regards to using some modules of python which were compiled with icc but python itself was compiled with gcc 4.8.2. When I tried to import this module into python I get this linking error below. Do I need to rebuild python with icc if I have python modules built with icc ?

Regards,

Ashwin.

 

Python 2.7.6 (default, Mar 22 2014, 22:59:56)

[GCC 4.8.2] on linux2

Type "help", "copyright", "credits" or "license" for more information.

>>> Traceback (most recent call last):

  File "<stdin>", line 1, in <module>

  File "pygrib.pyx", line 212, in init pygrib (pygrib.c:29700)

    ctypedef extern class numpy.ndarray [object PyArrayObject]:

  File "/usr/local/lib/python2.7/dist-packages/numpy/__init__.py", line 170, in <module>

    from . import add_newdocs

  File "/usr/local/lib/python2.7/dist-packages/numpy/add_newdocs.py", line 13, in <module>

    from numpy.lib import add_newdoc

  File "/usr/local/lib/python2.7/dist-packages/numpy/lib/__init__.py", line 8, in <module>

    from .type_check import *

  File "/usr/local/lib/python2.7/dist-packages/numpy/lib/type_check.py", line 11, in <module>

    import numpy.core.numeric as _nx

  File "/usr/local/lib/python2.7/dist-packages/numpy/core/__init__.py", line 6, in <module>

    from . import multiarray

ImportError: /usr/local/lib/python2.7/dist-packages/numpy/core/multiarray.so: undefined symbol: __intel_sse2_strrchr

>>>


Viewing all articles
Browse latest Browse all 1616

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>