Unable to run a deployed file in linux: error while loading shared libraries: libmwlaunchermain.so

3 ビュー (過去 30 日間)
cr
cr 2021 年 12 月 15 日
編集済み: cr 2021 年 12 月 15 日
I have created a deployable XYZ but unable to launch it even after configuring LD_LIBRARY_PATH. I keep getting the error
error while loading shared libraries: libmwlaunchermain.so: cannot open shared object file: No such file or directory
I'm able to launch it with the accompanying run_XYZ.sh script which temporarily sets the environment. I tried everything I know and this isn't something I'm doing for the first time. I have created and successfully deployed applications on linux systems but can't recall which version of Ubuntu I used then. I'm currently trying this on Ubuntu 16.04.
$ echo $LD_LIBRARY_PATH
/usr/local/MATLAB/MATLAB_Runtime/v84/runtime/glnxa64:/usr/local/MATLAB/MATLAB_Runtime/v84/bin/glnxa64:/usr/local/MATLAB/MATLAB_Runtime/v84/sys/os/glnxa64:/usr/local/MATLAB/MATLAB_Runtime/v84/sys/opengl/lib/glnxa64
The file it's complaining about is very much there in the second directory on the path above. However, when I try ldconfig -p, the list doesn't show libmwlaunchermain.so
Any ideas what I'm missing here?
Thanks.

回答 (0 件)

カテゴリ

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

製品


リリース

R2014b

Community Treasure Hunt

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

Start Hunting!

Translated by