Why matlab use /usr/local​/MATLAB/R2​012a/bin/g​lnxa64/lib​stdc++.so.​6?

1 view (last 30 days)
Does anyone know why LD_LIBRARY_PATH won't have the effect on Matlab. Strange phenomenon is that why Matlab uses /usr/local/MATLAB/R2012a/bin/glnxa64/libstdc++.so.6 first. While in LD_LIBRARY_PATH it should be in the second. LD_LIBRARY_PATH=/usr/local/MATLAB/R2012a/sys/os/glnxa64:/usr/local/MATLAB/R2012a/bin/glnxa64
Is there any default settings in LD_LIBRARY_PATH?
Furthermore, if you use "matlab -n". The shared library information in Matlab: libstdc++.so.6 still in /usr/local/MATLAB/R2012a/bin/glnxa64.

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!