MATLAB Answers


How can I specify what libraries my License Manager binaries will use?

After downloading the FlexNet License Manager binaries from I moved the binaries and libraries around to accommodate my current directory structure.  

However, after doing so, I am unable to start the License Manager and receive the following error:

MLM: /usr/lib/ version `GLIBCXX_3.4.15' not found (required by MLM)

(lmgrd) MLM exited with status 1 signal = 17

(lmgrd) Since this is an unknown status, license server

(lmgrd) manager (lmgrd) will attempt to re-start the vendor daemon.




No tags are associated with this question.


No products are associated with this question.

1 Answer

Answer by MathWorks Support Team on 21 Mar 2014
 Accepted answer

This error will occur if the provided libraries or the FlexNet License Manager binaries are not present in their default location.  When you download just the FlexNet License Manager binaries and libraries from they are packaged in a particular way that allows them to utilize each other.  If these directories are moved around then the FlexNet License Manager binaries will not be able to automatically locate the necessary libraries.

To resolve this issue, please create the following environment variable: LD_LIBRARY_PATH

This environment variable will contain the location of the libraries that the MATLAB vendor daemon is required to use.  After doing so, you can start the FlexNet License Manager in reference to that environment variable:

setenv LD_LIBRARY_PATH {path_to_libraries};{flex path}/lmgrd -c license.dat -l logfile


setenv LD_LIBRARY_PATH /Libraries/MathWorks;/usr/local/MATLAB/R2014a/etc/glnxa64/lmgrd -c ./license.dat -l ./logfile.txt

You will have to use the above command to start license manager every time.  

  1 Comment

one thing to note: you get a copy of the library with the installation and the softlinks, rather then trying to set an enviromental variable I suggest using rsync to move it to /usr/lib/ area directly so

rsync -av [library directory] /usr/lib/

rsync preserves softlinks

also note that rhel5 does not have this by default and no amount of yum update will obtain these files.

Join the 15-year community celebration.

Play games and win prizes!

Learn more
Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!