undefined reference to LAPACKE_***

Csaba Raduly rcsaba@gmail.com
Sat Nov 18 17:56:00 GMT 2017

Hi Constantinos,

On Sat, Nov 18, 2017 at 5:24 PM, Constantinos Zekios wrote:
> Hello everybody!
>  I recently installed cygwin trying to compile my cpp code (it is build
> under linux) under windows. I am using LAPACKE (the c wrapper to run all the
> lapack libraries) in my code, but it seems that I am not able to install the
> packages in cygwin. I have installed lapack, as well as blas. Does anybody
> know how to install liblapacke.a, liblapacke.dll.a?
> The errors that I am getting are of the form: undefined reference to
> 'LAPACKE_zlange'.

That sounds like the linker complaining about not finding a symbol,
*not* about a missing library file. If that's the case, installing
libraries will not help you. Just as well, because there's no Cygwin
package containing liblapacke.a :
(Found 0 matches for liblapacke)

What was the linker invocation (command line) that generated the error message?

GCS a+ e++ d- C++ ULS$ L+$ !E- W++ P+++$ w++$ tv+ b++ DI D++ 5++
The Tao of math: The numbers you can count are not the real numbers.
Life is complex, with real and imaginary parts.
"Ok, it boots. Which means it must be bug-free and perfect. " -- Linus Torvalds
"People disagree with me. I just ignore them." -- Linus Torvalds

Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

More information about the Cygwin mailing list