Problems with compiled programs in Matlab 2016b with Kubuntu

조회 수: 6 (최근 30일)
Fhnx
Fhnx 2016년 10월 25일
댓글: Alexandra Harkai 2016년 11월 1일
Hi all,
i have got a strange bug/behaviour/... with a compiled Programm. I use Matlab 2016b with Kubuntu 16.4. When I try to run the installer I get alwas strange errors:
With runtime downloaded from web he can't connect to the internet, even when I have perfect connection to e.g. google:
[...]/for_redistribution$ sudo ./AeroEvaluation_Installer_V_0_95.install
[sudo] Passwort für fhnx:
Error: Download process failed - Unsupported protocol
. Check your internet connectivity, proxy server, firewall, and virus scanner settings and rerun the installer.
Installation failed.
[...]/for_redistribution$ ping www.google.de
PING www.google.de (216.58.198.163) 56(84) bytes of data.
64 bytes from lhr25s10-in-f3.1e100.net (216.58.198.163): icmp_seq=1 ttl=49 time=17.8 ms
64 bytes from lhr25s10-in-f3.1e100.net (216.58.198.163): icmp_seq=2 ttl=49 time=17.5 ms
64 bytes from lhr25s10-in-f3.1e100.net (216.58.198.163): icmp_seq=3 ttl=49 time=17.5 ms
^C
--- www.google.de ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 17.540/17.642/17.842/0.208 ms
With runtime integrated it looks much better, but he isn't able to copy some files:
[...]/for_redistribution$ sudo ./AeroEvaluation_Installer_V_0_95.install
Preparing installation files ...
cp: Aufruf von stat für '/tmp/mw2Z25V7/help/*' nicht möglich: Datei oder Verzeichnis nicht gefunden
Installing ...
Finished
But I think that I have missed something:
[...]/application$ ./run_AeroEvaluation.sh
------------------------------------------
Usage:
./run_AeroEvaluation.sh <deployedMCRroot> args
[...]/application$ ./AeroEvaluation
./AeroEvaluation: error while loading shared libraries: libmwlaunchermain.so: cannot open shared object file: No such file or directory
Can you please help? Thank you. Kind regards,
Fhnx
  댓글 수: 2
Alexandra Harkai
Alexandra Harkai 2016년 11월 1일
I had a similar problem just recently, on Ubuntu 14.04, same 'Usage: ...' message.
Have you tried following this tutorial? It didn't work for me with 'Runtime downloaded from web' and got the same error as you did but 'Runtime included in package' went through smoothly. What worked for me was:
<my_MATLAB_path>/magicsquare/for_redistribution/MyAppInstaller_mcr.install
Then the install wizard window comes up.
Then they say the LD_LIBRARY_PATH environment variable needs to be set according to this thread.
Alexandra Harkai
Alexandra Harkai 2016년 11월 1일
In my case I had to change the 'MATLAB_Compiler_Runtime' to 'MATLAB_Runtime' because that's how my directory got created, but after that (following through the instructions on the thread) the example worked.
Hope this helps.

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by