[Numpy-discussion] Linux numpy 1.0.1 install failed - undefined symbol: pthread_join

Robert Kern robert.kern at gmail.com
Fri May 25 13:23:31 EDT 2007


Gong, Shawn (Contractor) wrote:
> Hi Robert and list,
> 
> My colleague said that it certainly looks like a missing thread library.
> It looks like the problem is that lapack_lite was compiled
> multi-threaded and can't find the thread library.

Okay, it looks like ATLAS's multithreaded libraries are being picked up before
the single-threaded libraries. Try the following site.cfg:

[atlas]
library_dirs = /usr/local/lib/atlas
libraries = lapack, f77blas, cblas, atlas

If that doesn't work, copy the single-threaded libraries named above to
somewhere else (like /home/sgong/dev/dist/lib/), and use the following site.cfg:

[atlas]
library_dirs = /home/sgong/dev/dist/lib
libraries = lapack, f77blas, cblas, atlas

You may have to run ranlib on the libraries after you copy them.

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless enigma
 that is made terrible by our own mad attempt to interpret it as though it had
 an underlying truth."
  -- Umberto Eco



More information about the NumPy-Discussion mailing list