[Numpy-discussion] New Linux build problem

Robert Kern robert.kern at gmail.com
Wed May 30 15:41:41 EDT 2007


Brian Granger wrote:
> Hi,
> 
> I am building numpy on a 32 bit Linux system (Scientific Linux).
> Numpy used to build fine on this system, but as I have moved to the
> new 1.0.3 versions, I have run into problems building.  Basically, I
> get lots of things like:
> 
> undefined reference to `cblas_sdot'

This looks like numpy.distutils has found ATLAS's FORTRAN BLAS library but not
its libcblas library. Do you have a correct site.cfg file? From Chris Hanley's
earlier post, it looks like the tarball on the SF site mistakenly includes a
site.cfg. Delete it or correct it.

> and
> 
> undefined reference to `PyArg_ParseTuple'

This usually comes from having an LDFLAGS environment variable defined. It
overwrites the linker information.

-- 
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