numpy - scipy version hell

Robert Kern robert.kern at
Fri Oct 27 00:04:57 CDT 2006

George Sakkis wrote:
> Robert Kern <robert.kern <at>> writes:
>> It looks like you linked against a FORTRAN LAPACK, but didn't manage to link 
> the 
>> FORTRAN runtime library libg2c. Can you give us the output of your build?
> I just installed Numpy, ATLAS and LAPACK on Centos a few hours ago and I got the
> exact same error. You're right, libg2c is never linked. Here's a sample line
> from the linking:
> gcc -pthread -shared build/temp.linux-i686-2.4/numpy/linalg/lapack_litemodule.o
> -L/usr/local/lib/atlas/ -llapack -lptf77blas -lptcblas -latlas -o
> build/lib.linux-i686-2.4/numpy/linalg/
> I've been looking into numpy's distutils for the last hour or so but didn't
> track down the problem yet; something seems to be broken with Redhat's setup...

Did you do anything to configure the libraries for ATLAS? Like editing site.cfg? 
If so, you will need to add -lg2c after -latlas.

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

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo

More information about the Numpy-discussion mailing list