フィルターのクリア

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

5 ビュー (過去 30 日間)
matuser123
matuser123 2018 年 8 月 3 日
コメント済み: Al Dente 2018 年 10 月 2 日
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?
  1 件のコメント
Al Dente
Al Dente 2018 年 10 月 2 日
did you use forward slash (/) or backward slash(\) in your path?

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeMATLAB Compiler についてさらに検索

タグ

製品


リリース

R2012a

Community Treasure Hunt

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

Start Hunting!

Translated by