Any suggestions on how to avoid problems with other commands/apps finding libstdc++.so.6 after installing MCR (deploying standalone code)?
조회 수: 1 (최근 30일)
이전 댓글 표시
This must be a problem for others as well . . .
After installing MCR (MATLAB_Compiler_Runtime) and editing LD_LIBRARY_PATH (in .bashrc) as indicated by the installation instructions (and run script), some commands/applications (e.g, aptitude, paraview) could not find libstdc++.so.6. My interpretation is that those commands don't like the version of the library in LD_LIBRARY_PATH.
There was no value for LD_LIBRARY_PATH before I edited .bashrc.
I added /usr/lib/x86_64-linux-gnu to the path (as the first directory), and it cured the problem. (at least for the commands/apps I have used)
So, I conclude that the directories entered into LD_LIBRARY_PATH are searched before others (those set up using /etc/ld.so.conf.d/*.conf are the only ones I know about . . .)
Is there a way to have directories in LD_LIBRARY_PATH searched last? Or, is there another way of looking at the problem?
Thanks, Tim
댓글 수: 0
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 C Shared Library Integration에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!