Problems with compiled programs in Matlab 2016b with Kubuntu
3 次查看(过去 30 天)
显示 更早的评论
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
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.
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 Center 和 File Exchange 中查找有关 Startup and Shutdown 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!