I'm building a shared library (VST 2.x plugin) on Linux that links with Intel MKL math library. I have an own test loader that loads and executes library commands without problems (dlopen(shared_library,RTLD_NOW|RTLD_GLOBAL), func = dlsym, execute func).
But when I start Renoise Tracker and it tries to execute commands in the VST 2.x plugin it stops to the following error message: "Intel MKL FATAL ERROR: Cannot load libmkl_mc3.so or libmkl_def.so."
The VST plugin should be properly linked with Intel MKL library and the LD_LIBRARY_PATH is set to point to MKL library directories.
Do someone know how Renoise loads VST 2.x plugins on Linux? I've compiled many programs with Intel MKL and they work fine. I think Renoise either uses some special parameters when using dlopen() or sets environment so that libraries cannot be found and/or Intel MKL then tries to load some other libraries than normally.
Other libraries linked with my VST plugin in normal locations like /usr/lib seem to work and load properly.