I am trying to run a deployed application on a linux machine that already has matlab installed. It doesn't have the mcr installed. Can someone please help me get my application running? I think I just don't have the environment setup correctly.
It was suggested on the page below that I just needed to add to the LD_LIBRARY_PATH variable. https://www.mathworks.com/help/compiler_sdk/dotnet/install-the-matlab-runtime.html "To run deployed MATLAB code against MATLAB Runtime on Linux, Linux x86-64, or the mcr_root/runtime/<arch> folder must appear on your LD_LIBRARY_PATH before matlabroot/runtime/<arch>."
However after having done this I still have an issue with running my compiled program as shown in the following terminal session:
addTry mccExcludedFiles.log readme.txt requiredMCRProducts.txt run_addTry.sh splash.png
sh-4.1$ echo $LD_LIBRARY_PATH
sh-4.1$ ./addTry hi
./addTry: error while loading shared libraries: libmwlaunchermain.so: cannot open shared object file: No such file or directory
My compiled application source is the following simple program:
out = strcat('try',in);
in_new = input('next string:');
out = strcat('try',in_new);
I am using R2017a on a Red hat machine.