[MacPorts] #38887: py-cvxopt lapack import error

MacPorts noreply at macports.org
Mon Apr 22 15:14:51 PDT 2013


#38887: py-cvxopt lapack import error
-------------------------+--------------------------------
 Reporter:  jjstickel@…  |      Owner:  macports-tickets@…
     Type:  defect       |     Status:  new
 Priority:  Normal       |  Milestone:
Component:  ports        |    Version:  2.1.3
 Keywords:  atlas        |       Port:  py-cvxopt
-------------------------+--------------------------------
 py-cvxopt (py27-cvxopt tested) throws errors when importing cvxopt.lapack
 in python:
 {{{
 ImportError:
 dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/cvxopt/lapack.so, 2): Symbol not found: _ATL_dgemaxnrm
   Referenced from:
 /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/cvxopt/lapack.so
   Expected in: flat namespace
  in
 /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/cvxopt/lapack.so
 }}}
 This happens with either -atlas or +atlas variants. With -atlas, apple
 Accelerator Framework libs seems to be linked, but the symbol is not
 there. With the existing +atlas variant, the atlas libraries are
 (silently) not found.

 In the attached patch, I upgrade py-cvxopt to 1.1.5 and correct the
 configure so that the atlas libraries can be found. This does not resolve
 the issue for the -atlas variant, however.

 I am also using "-dsdp" because dsdp currently will not build with the
 current version of atlas (see #35851 and #37097).

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


More information about the macports-tickets mailing list