[SciPy-User] Symbol not found: _aswfa_

Ralf Gommers ralf.gommers@googlemail....
Sun Nov 6 11:49:26 CST 2011


On Sat, Nov 5, 2011 at 9:19 PM, Lynn Oliver <raycores@gmail.com> wrote:

> I followed these steps to build and install numpy and scipy on OS X 10.7.2
> (from Installing SciPy/Mac OS X -<http://www.scipy.org/Installing_SciPy/Mac_OS_X>
> )
>
> $ 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
>
> When I try:
>    from scipy.interpolate import interp1d
>
> I get:
> ImportError:
> dlopen(/Library/Python/2.7/site-packages/scipy/special/_cephes.so, 2):
> Symbol not found: _aswfa_
>
> Any ideas on how to resolve the problem?
>

That stackoverflow post that Johann linked to says that the aswfa symbol is
only missing in the 32-bit version. Are you running 32-bit Python 2.7 and
if so, is that on purpose? If you grab the right installer from python.org,
you should get 64-bit by default.

Ralf


> -Lynn
>
> $ gcc --version
> i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build
> 5658) (LLVM build 2335.15.00)
>
> $ gfortran --version
> GNU Fortran (GCC) 4.2.1 (Apple Inc. build 5666) (dot 3)
> Copyright (C) 2007 Free Software Foundation, Inc.
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/scipy-user/attachments/20111106/fb0ff6dd/attachment.html 


More information about the SciPy-User mailing list