From: Robert K. <rob...@gm...> - 2006-10-27 05:05:15
|
George Sakkis wrote: > Robert Kern <robert.kern <at> gmail.com> 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/lapack_lite.so > > 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 |