[Numpy-discussion] lsame_ undefined ...
thorsten at partita.dartmouth.edu
thorsten at partita.dartmouth.edu
Thu Sep 25 13:42:07 EDT 2008
On Fri, 26 Sep 2008, David Cournapeau wrote:
> thorsten at 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