runtime error with mex file: Cannot open shared object file: No such file or directory

I have compiled a .cpp file that includes shared object libraries. I used set_env('LD_LIBRARY_PATH') to set my LD_LIBRARY_PATH to have the same directories as the ones used to compile and link. I verified that when I use getenv('LD_LIBRARY_PATH'), I see the path to the .so file and the permissions are read and execute for user/group/other. But I still get an error at runtime when trying to execute the mex function that it cannot open the .so file. Any ideas?

답변 (0개)

카테고리

도움말 센터 및 File Exchange에서 Write C Functions Callable from MATLAB (MEX Files)에 대해 자세히 알아보기

제품

릴리스

R2012a

태그

질문:

2018년 8월 3일

댓글:

2018년 10월 2일

Community Treasure Hunt

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

Start Hunting!

Translated by