[SciPy-user] blas/lapack issue on a freebsd box...

fred fredmfp at gmail.com
Mon Dec 4 17:35:55 CST 2006


Hi all,

I'm trying to build scipy and all its stuff on my freebsd box (r6.2).
(binaries pkg are not yet provided on freebsd ftp servers).

I have successfully built scipy 0.5.1, but in fact, it fails when I want 
to import some module:

IPython 0.7.2 -- An enhanced Interactive Python.
?       -> Introduction to IPython's features.
%magic  -> Information about IPython's 'magic' % functions.
help    -> Python's own help system.
object? -> Details about 'object'. ?object also works, ?? prints more.

In [1]: from scipy.special import jv
---------------------------------------------------------------------------
exceptions.ImportError                               Traceback (most 
recent call last)

/usr/home/fred/<ipython console>

/usr/local/lib/python2.4/site-packages/scipy/special/__init__.py
      8 from basic import *
      9 import specfun
---> 10 import orthogonal
     11 from orthogonal import legendre, chebyt, chebyu, chebyc, chebys, \
     12      jacobi, laguerre, genlaguerre, hermite, hermitenorm, 
gegenbauer, \

/usr/local/lib/python2.4/site-packages/scipy/special/orthogonal.py
     65 import _cephes as cephes
     66 _gam = cephes.gamma
---> 67 from scipy.linalg import eig
     68
     69 def poch(z,m):

/usr/local/lib/python2.4/site-packages/scipy/linalg/__init__.py
      6 from linalg_version import linalg_version as __version__
      7
----> 8 from basic import *
      9 from decomp import *
     10 from matfuncs import *

/usr/local/lib/python2.4/site-packages/scipy/linalg/basic.py
     15 #from blas import get_blas_funcs
     16 from flinalg import get_flinalg_funcs
---> 17 from lapack import get_lapack_funcs
     18 from numpy import 
asarray,zeros,sum,newaxis,greater_equal,subtract,arange,\
     19      conjugate,ravel,r_,mgrid,take,ones,dot,transpose,sqrt,add,real

/usr/local/lib/python2.4/site-packages/scipy/linalg/lapack.py
     15 import numpy
     16
---> 17 from scipy.linalg import flapack
     18 from scipy.linalg import clapack
     19 _use_force_clapack = 1

ImportError: /usr/local/lib/libalapack_r.so.1: Undefined symbol 
"cblas_dswap"

As google gives no result about this issue, any suggestion are welcome.

Cheers,

PS : python 2.4.3, numpy 1.0r1, scipy 0.5.1, atlas 3.6.0.1, blas 1.0

-- 
http://scipy.org/FredericPetit



More information about the SciPy-user mailing list