Undefined symbols for architecture x86_64:
"_zheevd_", referenced from:
_LAPACKE_zheevd_work in liblapacke.a(lapacke_zheevd_work.o)
(maybe you meant: _LAPACKE_zheevd_work)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
mex: link of ' "myeig.mexmaci64"' failed.
I use compile command:
The Matlab software version is R2012b. The "lapacke.h" is included in the mex C file. The static libraries librefblas.a, liblapack.a, liblapacke.a and libtmglib.a are all in the same directory of mex C file. I've tried many times but still can't fix the problem. I don't know what to do now, and can anyone do me a favor to help ? Thank you!mex -v myeig.c liblapacke.a