Opened 10 years ago

Closed 9 years ago

#47359 closed defect (worksforme)

py-numpy (py26-numpy): multiarray.so missing symbol ___emutls_get_address

Reported by: petrrr Owned by: dh@…
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc: michaelld (Michael Dickens), eric.lebigot@…
Port: py-numpy

Description (last modified by petrrr)

I get the following runtime error when trying to import numpy from py26-numpy. I observe this both for the binary package and for a build from sources. It also seems to be specific to Python 2.6

petr% python2.6
Python 2.6.9 (unknown, Sep 20 2014, 19:35:12) 
[GCC 4.2.1 Compatible Apple Clang 4.1 ((tags/Apple/clang-421.11.66))] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import numpy
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/__init__.py", line 170, in <module>
    from . import add_newdocs
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/add_newdocs.py", line 13, in <module>
    from numpy.lib import add_newdoc
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/lib/__init__.py", line 8, in <module>
    from .type_check import *
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/lib/type_check.py", line 11, in <module>
    import numpy.core.numeric as _nx
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/__init__.py", line 6, in <module>
    from . import multiarray
ImportError: dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/multiarray.so, 2): Symbol not found: ___emutls_get_address
  Referenced from: /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/multiarray.so
  Expected in: flat namespace
 in /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/multiarray.so

Change History (7)

comment:1 Changed 10 years ago by petrrr

Description: modified (diff)

comment:2 Changed 10 years ago by eric.lebigot@…

Cc: eric.lebigot@… added

Cc Me!

comment:3 Changed 10 years ago by eric.lebigot@…

Cc: eric.lebigot@… removed

Cc Me!

comment:4 Changed 10 years ago by eric.lebigot@…

Cc: eric.lebigot@… added

Cc Me!

comment:5 Changed 10 years ago by eric.lebigot@…

Exact same problem here.

comment:6 Changed 10 years ago by eric.lebigot@…

Running sudo -H pip-2.6 install -U numpy after the failed MacPorts installed did install successfully, though, apparently: import numpy does not fail anymore.

comment:7 Changed 9 years ago by seanfarley (Sean Farley)

Resolution: worksforme
Status: newclosed

Being that this works for me and it's been seven months, I'm going to close this.

Note: See TracTickets for help on using tickets.