[SciPy-user] import scipy fails - cannot find liblapack.so.3
Ray
rhawkin2 at earthlink.net
Thu Nov 14 09:30:46 EST 2002
Hello,
After a comparatively uneventful, though long (4 hours to build ATLAS on
a 1.1 GHz Celeron), build from LAPACK and ATLAS tar-files and scipy CVS
(Nov 12 update), I got the following message when I tried to import
scipy:
Python 2.2 (#1, Apr 12 2002, 15:29:57)
[GCC 2.96 20000731 (Red Hat Linux 7.2 2.96-109)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import scipy
exceptions.ImportError: liblapack.so.3: cannot open shared object file:
No such file or directory
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "/usr/lib/python2.2/site-packages/scipy/__init__.py", line 49, in
?
import special, io, linalg, stats, fftpack
File "/usr/lib/python2.2/site-packages/scipy/linalg/__init__.py", line
42, in ?
from basic import *
File "/usr/lib/python2.2/site-packages/scipy/linalg/basic.py", line
17, in ?
import calc_lwork
ImportError: liblapack.so.3: cannot open shared object file: No such
file or directory
>>>
Would appreciate suggestions on how to fix this. Build details and some
output are given below.
Thanks,
Ray
1) Build followed the INSTALL.txt in scipy CVS. lapack.tgz and
atlas3.4.1.tar.gz were used.
2) python2.2 scipy_distutils/system_info.py
atlas_info:
FOUND:
libraries = ['lapack', 'f77blas', 'cblas', 'atlas']
library_dirs = ['/usr/local/lib/atlas']
blas_info:
NOT AVAILABLE
blas_src_info:
NOT AVAILABLE
dfftw_info:
NOT AVAILABLE
dfftw_threads_info:
NOT AVAILABLE
djbfft_info:
NOT AVAILABLE
fftw_info:
NOT AVAILABLE
fftw_threads_info:
NOT AVAILABLE
lapack_info:
NOT AVAILABLE
lapack_src_info:
NOT AVAILABLE
sfftw_info:
NOT AVAILABLE
sfftw_threads_info:
NOT AVAILABLE
x11_info:
FOUND:
libraries = ['X11']
library_dirs = ['/usr/X11R6/lib']
include_dirs = ['/usr/X11R6/include']
3) ls -l /usr/local/lib/atlas/lib{atlas,cblas,f77blas,lapack}.*
-rw-r--r-- 1 root root 5596040 Nov 13 10:40
/usr/local/lib/atlas/libatlas.a
-rw-r--r-- 1 root root 292104 Nov 13 10:22
/usr/local/lib/atlas/libcblas.a
-rw-r--r-- 1 root root 355802 Nov 13 10:41
/usr/local/lib/atlas/libf77blas.a
-rw-r--r-- 1 root root 5835672 Nov 13 11:25
/usr/local/lib/atlas/liblapack.a
More information about the SciPy-User
mailing list