mcc - include shared library search paths for cpplib build of .so?

조회 수: 2 (최근 30일)
Jeff
Jeff 2011년 8월 16일
I cannot use LD_LIBRARY_PATH in my end use application which is linking in the Matlab Compiler .so output. How do I add the search path to the mcc generated shared library with the mcc command? I can't find a reference to this in the docs. I'm using 2008 as I need to match it up to my Linux gcc version.
Thanks in advance for any tips.
  댓글 수: 1
Kaustubha Govind
Kaustubha Govind 2011년 8월 17일
Could you explain why you cannot use LD_LIBRARY_PATH? The only other way might be to have all required shared object files to be in the same directory as the end-use application. Have you tried this?

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 MATLAB Compiler에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by