[SciPy-dev] numpy 1.3.0 import error
Thu Dec 3 22:56:53 CST 2009
Forrest Sheng Bao wrote:
> Hi there,
> I just compiled and installed numpy 1.3.0 on my system. But when I try
> to import numpy, I got this error:
> from numpy import *
> Traceback (most recent call last):
> File "<stdin>", line 1, in ?
> line 130, in ?
> import add_newdocs
> line 9, in ?
> from lib import add_newdoc
> line 4, in ?
> from type_check import *
> line 8, in ?
> import numpy.core.numeric as _nx
> line 5, in ?
> import multiarray
> undefined symbol: __intel_security_cookie
> The CPU is an Intel Xeon. Any developer know what's the reason?
Most likely a problem with building with icc. __intel_security_cookie is
a canary against buffer overflow, but I cannot find much reference about
it. Make sure neither CFLAGS nor LDFLAGS is set when you build numpy - I
would not be surprised if this is specific to some security-related
flags in icc. You could look which Intel library define this symbol, by
running nm + grep on the Intel compiler library directory.
As I mentioned in your other thread, I could finally reproduce your
error, fixed numpy sources, and 1.4.x should now be buildable. I can
myself import numpy built with icc 11.0 on ia32.
More information about the SciPy-Dev