Matlab Runtime not linking properly

1 view (last 30 days)
Mikael Agopov
Mikael Agopov on 18 Feb 2019
I am trying to run a compiled Matlab code with another computer (both Linux). Usually this works out fine; however, now I ran into a strange problem:
The code compiles and allows installatiton without errors; however, when I try to start it (its name is ShowerGUI) with
mikael@mycomputer ~/Documents $ /usr/local/MATLAB/COMPILED/ShowerGUI/application/ /usr/local/MATLAB/Matlab_Runtime/v95
, a following error message appears:
Setting up environment variables
LD_LIBRARY_PATH is .:/usr/local/MATLAB/Matlab_Runtime/v95/runtime/glnxa64:/usr/local/MATLAB/Matlab_Runtime/v95/bin/glnxa64:/usr/local/MATLAB/Matlab_Runtime/v95/sys/os/glnxa64:/usr/local/MATLAB/Matlab_Runtime/v95/sys/opengl/lib/glnxa64
/usr/local/MATLAB/COMPILED/ShowerGUI/application/ShowerGUI: error while loading shared libraries: cannot open shared object file: No such file or directory
I am sure that the linking folder has been set up correctly - I am using exactly the same command (apart from the program name) for another program which works well.

Answers (0)


Find more on MATLAB Compiler in Help Center and File Exchange


Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!