[SciPy-User] ... numpy/linalg/lapack_lite.so: undefined symbol: zungqr_

Kliment otrov@hush...
Wed May 2 15:45:20 CDT 2012


Hi,

I compiled lapack, atlas, umfpack, fftw in local folder, in similar 
way as described here: http://www.scipy.org/Installing_SciPy/Linux 
on 32bit Ubuntu Precise

In ~/.local/lib I have:
========================================
libamd.2.2.3.a
libamd.a -> libamd.2.2.3.a
libatlas.a
libcblas.a
libf77blas.a
libfftw3.a
libfftw3.la*
liblapack.a
librefblas.a
libsatlas.so*
libtmglib.a
libumfpack.5.5.2.a
libumfpack.a -> libumfpack.5.5.2.a
========================================

In ~/.local/include I have:
========================================
amd.h
atlas/
cblas.h
clapack.h
fftw3.f
fftw3.f03
fftw3.h
fftw3l.f03
fftw3q.f03
UFconfig.h
umfpack.h
<various umfpack_[...].h files>
========================================

My site.cfg looks like this:
========================================
[DEFAULT]
library_dirs = $HOME/.local/lib
include_dirs = $HOME/.local/include

[atlas]
atlas_libs = lapack, f77blas, cblas, atlas

[amd]
amd_libs = amd

[umfpack]
umfpack_libs = umfpack, gfortran

[fftw]
libraries = fftw3
========================================

I extracted numpy and run:

python setup.py build --fcompiler=gnu95
python setup.py install --prefix=$HOME/.local

I then run python interpreter and try to import numpy, when I 
receive import error:

ImportError: /home/vlad/.local/lib/python2.7/site-
packages/numpy/linalg/lapack_lite.so: undefined symbol: zungqr_

What did I do wrong?



More information about the SciPy-User mailing list