MATLAB: Do I receive an error when attempting to output to RTF format using MATLAB Report Generator 1.3 (R13SP1)

errorformatgeneratorlibstdc++-libc6.0-1.so.2linuxMATLAB Report Generatorreportrtf

When attempting to output to RTF format with MATLAB Report Generator 1.3 (R13SP1), I receive the following error:
jade: error while loading shared libraries: libstdc++-libc6.0-1.so.2: cannot open shared
An RTF file containing my report is not generated.

Best Answer

This error occurs because the library libstdc++-libc6.0-1.so.2 cannot be found. Your distribution of Linux may contain a newer version of this library (commonly in /usr/lib). If this is the case, you may be able to work around this problem by creating a symbolic link to the newer library version:
ln -s libstdc++-libc6.1-1.so.2 libstdc++-libc6.0-1.so.2
The shell command above creates a symbolic link to libstdc++-libc6.1-1.so.2 with the symbolic link name libstdc++-libc6.0-1.so.2 (the library required by the Report Generator).
If there is not a version of the libstdc++-libc6.x-x.so.2 library on your system, then it will be necessary to acquire this library. Ideally, you will want to acquire libstdc++-libc6.0-1.so.2, as newer library versions will require creating a symbolic link as discussed in the previous paragraph.