Are you using the Student Version of Matlab?
Because you cannot compile a standalone application with the Student Version of MATLAB. The MATLAB Compiler, MATLAB C/C++ Math Libraries, and MATLAB C/C++ Graphic Libraries, which are needed to compile standalone code, are not supported in the Student Version. This would explain the missing library problem.
----------
T74marcell
Arch Linux