[Scipy-tickets] [SciPy] #1556: Symbol not found: _aswfa_ using 32-bit binary

SciPy Trac scipy-tickets@scipy....
Mon Nov 7 13:16:19 CST 2011


#1556: Symbol not found: _aswfa_ using 32-bit binary
--------------------------+-------------------------------------------------
 Reporter:  lynno         |       Owner:  cdavid     
     Type:  defect        |      Status:  new        
 Priority:  normal        |   Milestone:  Unscheduled
Component:  Build issues  |     Version:  0.9.0      
 Keywords:                |  
--------------------------+-------------------------------------------------

Old description:

> I followed these steps to build and install numpy and scipy on OS X
> 10.7.2
> install gfortran-lion-5666-3.pkg
> $ export CC=gcc-4.2
> $ export CXX=g++-4.2
> $ export FFLAGS=-ff2c
> $ git clone https://github.com/numpy/numpy.git
> $ git clone https://github.com/scipy/scipy.git
> $ python setup.py build
> $ python setup.py install
>
> Error:
> >>> from scipy.interpolate import interp1d
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
>   File "/Library/Python/2.7/site-packages/scipy/interpolate/__init__.py",
> line 146, in <module>
>     from interpolate import *
>   File "/Library/Python/2.7/site-
> packages/scipy/interpolate/interpolate.py", line 13, in <module>
>     import scipy.special as spec
>   File "/Library/Python/2.7/site-packages/scipy/special/__init__.py",
> line 525, in <module>
>     from _cephes import *
> ImportError: dlopen(/Library/Python/2.7/site-
> packages/scipy/special/_cephes.so, 2): Symbol not found: _aswfa_
>   Referenced from: /Library/Python/2.7/site-
> packages/scipy/special/_cephes.so
>   Expected in: flat namespace
>  in /Library/Python/2.7/site-packages/scipy/special/_cephes.so

New description:

 I followed these steps to build and install numpy and scipy on OS X 10.7.2
 {{{
 install gfortran-lion-5666-3.pkg
 $ export CC=gcc-4.2
 $ export CXX=g++-4.2
 $ export FFLAGS=-ff2c
 $ git clone https://github.com/numpy/numpy.git
 $ git clone https://github.com/scipy/scipy.git
 $ python setup.py build
 $ python setup.py install
 }}}
 Error:
 {{{
 >>> from scipy.interpolate import interp1d
 Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
   File "/Library/Python/2.7/site-packages/scipy/interpolate/__init__.py",
 line 146, in <module>
     from interpolate import *
   File "/Library/Python/2.7/site-
 packages/scipy/interpolate/interpolate.py", line 13, in <module>
     import scipy.special as spec
   File "/Library/Python/2.7/site-packages/scipy/special/__init__.py", line
 525, in <module>
     from _cephes import *
 ImportError: dlopen(/Library/Python/2.7/site-
 packages/scipy/special/_cephes.so, 2): Symbol not found: _aswfa_
   Referenced from: /Library/Python/2.7/site-
 packages/scipy/special/_cephes.so
   Expected in: flat namespace
  in /Library/Python/2.7/site-packages/scipy/special/_cephes.so
 }}}

--

Comment(by rgommers):

 <reformat description>

-- 
Ticket URL: <http://projects.scipy.org/scipy/ticket/1556#comment:2>
SciPy <http://www.scipy.org>
SciPy is open-source software for mathematics, science, and engineering.


More information about the Scipy-tickets mailing list