MATLAB: Do I receive an error related to “GLIBCXX’ or ‘libstdc++.so.6’ on Linux when starting the Network License Manager

MATLAB

When I attempt to start the network license manager I receive an error indicating I am missing a library. Why do I receive an error related to "GLIBCXX' or 'libstdc++.so.6' on Linux when starting the License Manager?

Best Answer

The network license manager requires up to date versions of the libstdc++.so.6 library, which contains the GLIBCXX library. If a distribution does not a ship a version of libstdc++.so.6 that contains the necessary version of GLIBCXX, you must insure the license manager is fully installed on the system, using either the MATLAB installer, or by extracting the license manager files. Either method will provide up to date libraries for the license manager to access, which will allow it to run on the system.
1) Download the 64-bit Linux zip file from the Network License Manager Download page:
Extract the files into the existing license manager directory, or place it in the directory of your choice if you are performing a new installation. Be sure to preserve the directory structure, as the license manager requires the libraries in the ./sys/os/glnxa64/ folder to run correctly.
If you prefer, the libraries can be placed in any directory, provided you include the target directory in the LD_LIBRARY_PATH environment variable.
2) You can install this missing library along with the lmgrd and vendor daemon by installing the license manager via the MATLAB installer. Please refer to the solution below for instructions on how to install the Network License Manager via the MATLAB installer.
How do I install or update the Network License Manager?