[Scipy-tickets] [SciPy] #531: Freebsd: ImportError: /usr/X11R6/lib/libalapack_r.so.2: Undefined symbol "cblas_dswap"

SciPy scipy-tickets@scipy....
Fri Nov 2 13:29:26 CDT 2007


#531: Freebsd: ImportError: /usr/X11R6/lib/libalapack_r.so.2: Undefined symbol
"cblas_dswap"
----------------------+-----------------------------------------------------
 Reporter:  stieltje  |       Owner:  somebody
     Type:  defect    |      Status:  new     
 Priority:  high      |   Milestone:  0.7     
Component:  Other     |     Version:          
 Severity:  blocker   |    Keywords:          
----------------------+-----------------------------------------------------
 trying to upgrade to scipy 0.5.2.1 yields:

 --->  Upgrading 'py24-scipy-0.3.2_2' to 'py24-scipy-0.5.2.1' (science/py-
 scipy)
 --->  Building '/usr/ports/science/py-scipy'
 ===>  Cleaning for py24-scipy-0.5.2.1
 ===>  Found saved configuration for py24-scipy-0.5.2.1
 => scipy-0.5.2.1.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
 => Attempting to fetch from
 http://heanet.dl.sourceforge.net/sourceforge/scipy/.
 scipy-0.5.2.1.tar.gz                          100% of 5859 kB  887 kBps
 ===>  Extracting for py24-scipy-0.5.2.1
 => MD5 Checksum OK for scipy-0.5.2.1.tar.gz.
 => SHA256 Checksum OK for scipy-0.5.2.1.tar.gz.
 ===>  Patching for py24-scipy-0.5.2.1
 ===>  Applying FreeBSD patches for py24-scipy-0.5.2.1
 ===>   py24-scipy-0.5.2.1 depends on file: /usr/local/lib/python2.4/site-
 packages/numpy/core/numeric.py - found
 ===>   py24-scipy-0.5.2.1 depends on file: /usr/local/lib/libdjbfft.a -
 found
 ===>   py24-scipy-0.5.2.1 depends on file: /usr/local/bin/python2.4 -
 found
 ===>   py24-scipy-0.5.2.1 depends on executable: gfortran42 - found
 ===>   py24-scipy-0.5.2.1 depends on file: /usr/local/lib/python2.4/site-
 packages/wx-2.6-gtk2-ansi/wx/__init__.py - found
 ===>   py24-scipy-0.5.2.1 depends on shared library: fftw.2 - found
 ===>   py24-scipy-0.5.2.1 depends on shared library: lapack.4 - found
 ===>   py24-scipy-0.5.2.1 depends on shared library: blas.2 - found
 ===>  Configuring for py24-scipy-0.5.2.1
 Traceback (most recent call last):
   File "setup.py", line 55, in ?
     setup_package()
   File "setup.py", line 28, in setup_package
     from numpy.distutils.core import setup
   File "/usr/local/lib/python2.4/site-packages/numpy/__init__.py", line
 43, in ?
     import linalg
   File "/usr/local/lib/python2.4/site-packages/numpy/linalg/__init__.py",
 line 4, in ?
     from linalg import *
   File "/usr/local/lib/python2.4/site-packages/numpy/linalg/linalg.py",
 line 25, in ?
     from numpy.linalg import lapack_lite
 ImportError: /usr/X11R6/lib/libalapack_r.so.2: Undefined symbol
 "cblas_dswap"
 *** Error code 1

 Stop in /usr/ports/science/py-scipy.
 *** Error code 1

 Stop in /usr/ports/science/py-scipy.
 ** Command failed [exit code 1]: /usr/bin/script -qa
 /tmp/portupgrade.44218.8 env UPGRADE_TOOL=portupgrade
 UPGRADE_PORT=py24-scipy-0.3.2_2 UPGRADE_PORT_VE
  make
 ** Fix the problem and try again.



 running:

 $cd /usr/local/lib/python2.4/site-packages/numpy/
 $ python setup.py config
 Traceback (most recent call last):
   File "setup.py", line 28, in ?
     from numpy.distutils.core import setup
   File "/usr/local/lib/python2.4/site-packages/numpy/__init__.py", line
 43, in ?
     import linalg
   File "/usr/local/lib/python2.4/site-packages/numpy/linalg/__init__.py",
 line 4, in ?
     from linalg import *
   File "/usr/local/lib/python2.4/site-packages/numpy/linalg/linalg.py",
 line 25, in ?
     from numpy.linalg import lapack_lite
 ImportError: /usr/X11R6/lib/libalapack_r.so.2: Undefined symbol
 "cblas_dswap"


 # pkg_info |grep atlas
 atlas-3.6.0_4,1     Automatically Tuned Linear Algebra Software (ATLAS)

 # pkg_info |grep lapack
 lapack-3.1.1        A library of Fortran 77 subroutines for linear algebra
 lapack95-1.0_3      LAPACK95, Fortran90/95 wrapper for LAPACK


 # pkg_info |grep blas
 blas-1.0_2          Basic Linear Algebra, level 1, 2, and 3

 # pkg_info |grep numpy
 py24-numpy-1.0.3.1,1 The New Numeric Extension to Python


 whole system compiled from source

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


More information about the Scipy-tickets mailing list