I'm trying to use Intel MKL 10.1 with some third party software (IDL from ITT Visual Information Solutions) on 64-bit Linux. I am using a shared library developed by me that used lapack functions. I have compiled the shared library with Intel compiler and linked with ld linker. My shared library works fine with fortran programs but when it is called from IDL I get the following message:
MKL FATAL ERROR: Cannot load libmkl_lapack.so
linking the share library I use following command for mkl libraries: -lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core.
I have tried to add the -lmkl_lapack at the end (or the middle) of the linking list but in this case I get the following error:
MKL FATAL ERROR: Cannot load neither libmkl_mc.so nor libmkl_def.so