End user installation of standalone application on Linux

6 ビュー (過去 30 日間)
Zachary Klamer
Zachary Klamer 2017 年 9 月 13 日
回答済み: Aayush Singla 2018 年 12 月 11 日
Hello,
I've developed an application in Matlab and have used the Matlab compiler to distribute an installer for Windows without issue. However when attempting to create a Linux version of the application I am unable to run the "MyAppInstaller_web.install" file.
When executing I receive the error:
"error while loading shared libraries: libssl.so.1.0.0: cannot open shared object file: No such file or directory"
From my searching I found this is the same error that is given when the Matlab runtime is not added the LD_LIBRARY_PATH. Given that I want the installer to download the runtime from the web (like it does on windows) it doesn't make since that it would need the path to the runtime.
I've been following the instructions here:
https://www.mathworks.com/help/compiler/create-and-install-a-standalone-application-from-matlab-code.html
Which does not give any special steps for linux and indicates that it should work the same as windows.
Any help that you can give would be much appreciated!
~Zachary

回答 (2 件)

Sanjana Ramakrishnan
Sanjana Ramakrishnan 2017 年 9 月 19 日
The end user would be specifying the path to download the MCR while installing the compiled application through the installer. After installing the application through the installer, the end user would get detailed instructions to set the LD_LIBRARY_PATH environment variable manually.
  1 件のコメント
Zachary Klamer
Zachary Klamer 2017 年 9 月 19 日
The issue is that the installer does not run and instead gives the error shown in the question. So the user is not able to install the application or specify a path to download the MCR to.

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


Aayush Singla
Aayush Singla 2018 年 12 月 11 日
Add executable permissions to the *.install and run the file
>> sudo chmod +x *.install
>> ./*.install
This takes a while for the first time. Then the gui for installation pops up.

カテゴリ

Help Center および File ExchangeIntroduction to Installation and Licensing についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by