Matlab Runtime correct version installed on Linux environment but getting error message could not find the correct version.

17 views (last 30 days)
I had installed Matlab Runtime environment version v911 and can see folders and libraries inside the default installation path on a linux pc ("/usr/local/MATLAB/MATLAB_Runtime"), Also added library_path correctly , when tried to run one code which uses the compiled libraries i am seeing an error like this any help
Error: Could not find version 9.11 of the MATLAB Runtime.
Attempting to load libmwmclmcrrt.so.9.11.
Please install the correct version of the MATLAB Runtime.
Contact your vendor if you do not have an installer for the MATLAB Runtime

Answers (1)

Swastik Sarkar
Swastik Sarkar on 16 Jun 2025
The issue may stem from an incorrect configuration of the LD_LIBRARY_PATH environment variable when executing the binary. This variable defines the directories where the system looks for runtime libraries.
Further information can be found in the following MATLAB Answer:
It is possible that incompatible or unintended library versions are listed earlier in the LD_LIBRARY_PATH than the version required by the binary. Placing the correct library paths at the beginning of the variable may help ensure that the appropriate versions are used.
I hope this helps resolve the issue and enables the binary to run as expected.
  11 Comments

Sign in to comment.

Categories

Find more on Software Development Tools 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!