[Numpy-discussion] linalg.lapack_lite has undefined symbols

Glen W. Mabey Glen.Mabey@swri....
Wed Dec 12 14:46:34 CST 2007


I am converting my build scripts to use the Intel Compiler Suite, using
today's svn code, on RHEL 4.0.

Building numpy succeeds, but importing it fails:

  ImportError: /usr/local/lib/python2.5/site-packages/numpy/linalg/lapack_lite.so: undefined symbol: dgesdd_

And sure enough:

  [gmabey@hydra Diamondback]$ ldd /usr/local/lib/python2.5/site-packages/numpy/linalg/lapack_lite.so
          libpython2.5.so.1.0 => /usr/local/lib/libpython2.5.so.1.0 (0x0000002a9592a000)
          libimf.so => /usr/local/stow/intel_cce-10.1.008/lib/libimf.so (0x0000002a95c4e000)
          libsvml.so => /usr/local/stow/intel_cce-10.1.008/lib/libsvml.so (0x0000002a95fb0000)
          libm.so.6 => /lib64/tls/libm.so.6 (0x0000002a96138000)
          libintlc.so.5 => /usr/local/stow/intel_cce-10.1.008/lib/libintlc.so.5 (0x0000002a962be000)
          libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x0000002a963f7000)
          libc.so.6 => /lib64/tls/libc.so.6 (0x0000002a96505000)
          libdl.so.2 => /lib64/libdl.so.2 (0x0000002a9673a000)
          libpthread.so.0 => /lib64/tls/libpthread.so.0 (0x0000002a9683d000)
          libutil.so.1 => /lib64/libutil.so.1 (0x0000002a96953000)
          /lib64/ld-linux-x86-64.so.2 (0x000000552aaaa000)

  [gmabey@hydra Diamondback]$ nm /usr/local/lib/python2.5/site-packages/numpy/linalg/lapack_lite.so | grep " U " | head
          U dgeev_
          U dgelsd_
          U dgeqrf_
          U dgesdd_
          U dorgqr_
          U dsyevd_
          U exit@@GLIBC_2.2.5
          U floor
          U for_stop_core
          U for_write_seq_fmt

I'm using ATLAS 3.8.0 also compiled with ICS, but the undefined symbol
is in lapack_lite.so .

Any suggestions on where to go from here?

Thank you,
Glen Mabey

More information about the Numpy-discussion mailing list