[Numpy-discussion] lsame_ undefined ...

thorsten@partita.dartmout... thorsten@partita.dartmout...
Thu Sep 25 12:42:07 CDT 2008


On Fri, 26 Sep 2008, David Cournapeau wrote:

> thorsten@partita.dartmouth.edu wrote:
> >
> > g77, it appears.  This is a somewhat older Red Hat Enterprise Linux
> > system, before they switched over to gfortran.
> 
> You can't mix both compilers. You have to use either one of them to
> build *everything*: blas, lapack, numpy (scipy, etc...). g77 and
> gfortran are not ABI compatible.

Definitely g77, then -- gfortran doesn't exist on this machine.
 
> How did you build numpy (did you give any option to python setup.py build ?)

No options, it was entirely the defaults.
 
> >
> > I used 3.1.1.
> 
> Note that 3.1.1 is from February 2007, so if you literally meant two
> years in your former email, you could not use 3.1.1. I can't remember if
> lsame is one function which was missing in previous versions of lapack,
> though.

The "two years" was a guess -- it must have been early 2007.  

I do see "lsame" in the lapack that's on the system.  Looking
inside /usr/local/lib/python2.4/site-packages/numpy/linalg/lapack_lite.so,
I do find the string "lsame_" in a few spots in among the binary.
So it looks for all the world like lsame_ should be available,
but for some reason it's not being found ("undefined symbol: lsame_").

Thanks again,

John


-- 
----------------------------------------------------------------------------
John R. Thorstensen 
Department of Physics and Astronomy
Dartmouth College
6127 Wilder Laboratory 
Hanover, NH 03755

Office: 239 Wilder Hall
Phone:  voice 603-646-2869     FAX 603-646-1446   Hinman box 6127
----------------------------------------------------------------------------




More information about the Numpy-discussion mailing list