[MacPorts] #49895: py27-scipy @0.16.1_0 +gcc5 +atlas completes install, but doesn't work: symbol not found

MacPorts noreply at macports.org
Thu Dec 3 11:01:11 PST 2015


#49895: py27-scipy @0.16.1_0 +gcc5 +atlas completes install, but doesn't work:
symbol not found
------------------------------+--------------------------------
 Reporter:  mark.chilenski@…  |      Owner:  macports-tickets@…
     Type:  defect            |     Status:  new
 Priority:  Normal            |  Milestone:
Component:  ports             |    Version:  2.3.4
 Keywords:                    |       Port:  py27-scipy atlas
------------------------------+--------------------------------
 I have installed py27-scipy @0.16.1_0 +gcc5 +atlas and atlas @3.10.2_2
 +gcc5. Both packages seem to have installed with no visible errors, but
 when I try to use scipy.linalg, the following exception occurs:

 {{{
 >>> import scipy.linalg
 Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/scipy/linalg/__init__.py", line 172, in <module>
     from .misc import *
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/scipy/linalg/misc.py", line 6, in <module>
     from .lapack import get_lapack_funcs
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/scipy/linalg/lapack.py", line 356, in <module>
     from scipy.linalg import _flapack
 ImportError:
 dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/scipy/linalg/_flapack.so, 2): Symbol not found: _cgegv_
   Referenced from:
 /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/scipy/linalg/_flapack.so
   Expected in: flat namespace
  in
 /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/scipy/linalg/_flapack.so
 }}}

 Possibly relevant: _cgegv_ appears to be listed as Undefined in
 _flapack.so:
 {{{
 $ nm
 /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/scipy/linalg/_flapack.so | grep _cgegv_
                  U _cgegv_
 }}}

 Is it possible that there is a mis-match between the MacPorts versions of
 SciPy and ATLAS? Or is something messed up in the build/linking step that
 causes _cgegv_ to not be found?

 For reference, I am running OS X 10.11.1 El Capitan and MacPorts 2.3.4.
 Thank you for your attention to this matter!

-- 
Ticket URL: <https://trac.macports.org/ticket/49895>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list