How can I specify what libraries my License Manager binaries will use?
조회 수: 5 (최근 30일)
이전 댓글 표시
MathWorks Support Team
2014년 3월 21일
편집: MathWorks Support Team
2021년 4월 1일
After downloading the FlexNet License Manager binaries from https://www.mathworks.com/support/install/license_manager_files.html I moved the binaries and libraries around to accommodate my current directory structure.
However, after doing so, I am unable to start the Network License Manager and receive the following error:
MLM: /usr/lib/libstdc++.so.6: 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.
채택된 답변
MathWorks Support Team
2021년 3월 31일
편집: MathWorks Support Team
2021년 4월 1일
This error will occur if the provided libraries or the Network License Manager binaries are not present in their default location. When you download just the Network License Manager binaries and libraries from https://www.mathworks.com/support/install/license_manager_files.html they are packaged in a particular way that allows them to utilize each other. If these directories are moved around then the Network 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 Network License Manager in reference to that environment variable:
setenv LD_LIBRARY_PATH {path_to_libraries};{flex path}/lmgrd -c license.dat -l logfile
Example:
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.
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!