Linux version - Error during launch

71 views
Skip to first unread message

Gaetano Lombardi

unread,
Jul 27, 2016, 3:15:25 AM7/27/16
to ExploreDTI
Hi to everyone.
I'm trying to use the new linux version of ExploreDTI.
When I type sudo ./run_MainExploreDTI.sh it gives me the error "command not found".
How can I solve?
Thank you for the attention

Ana Maria Escorza

unread,
Jul 27, 2016, 3:19:26 AM7/27/16
to ExploreDTI
Are you in the same folder that this file? 

cd /home/..../ExploreDTI_v4     --> to go to the folder
sudo ./run_MainExploreDTI.sh     --> to run the program

Gaetano Lombardi

unread,
Jul 27, 2016, 4:18:20 AM7/27/16
to ExploreDTI
I think yes, because I open the terminal by right-click in the folder in which I have MainExploreDTI , read_me and run_...sh

Ana Maria Escorza

unread,
Jul 27, 2016, 4:47:59 AM7/27/16
to ExploreDTI
If you use the command

'ls -la"
 
Can you see these files?

Gaetano Lombardi

unread,
Jul 27, 2016, 5:23:09 AM7/27/16
to ExploreDTI
Yes, it gives me this

drwxrwxr-x 2 nnml-3 nnml-3      4096 lug 26 18:31 .
drwxr-xr-x 6 nnml-3 nnml-3      4096 lug 26 18:31 ..
-rw-rw-r-- 1 nnml-3 nnml-3 170454107 giu  9 12:04 MainExploreDTI
-rw-rw-r-- 1 nnml-3 nnml-3      1747 apr 19 17:21 !!! Read_Me_First !!!.txt
-rw-rw-r-- 1 nnml-3 nnml-3       739 apr 18 10:55 run_MainExploreDTI.sh

Ana Maria Escorza

unread,
Jul 27, 2016, 5:32:35 AM7/27/16
to ExploreDTI
It doesn't have execution permissions.  You have to do:

chmod 777 run_MainExploreDTI.sh
chmod 777 MainExploreDTI

I hope it works!

Ana Maria Escorza

unread,
Jul 27, 2016, 5:33:59 AM7/27/16
to ExploreDTI
You have to do that command with the root user.

Do before 

"sudo su"

and after that:

chmod 777 run_MainExploreDTI.sh
chmod 777 MainExploreDTI

Gaetano Lombardi

unread,
Jul 27, 2016, 5:40:04 AM7/27/16
to ExploreDTI
It said 
LD_LIBRARY_PATH is .:/usr/local/MATLAB/MATLAB_Compiler_Runtime/v83//runtime/glnxa64:/usr/local/MATLAB/MATLAB_Compiler_Runtime/v83//bin/glnxa64:/usr/local/MATLAB/MATLAB_Compiler_Runtime/v83//sys/os/glnxa64:/usr/local/MATLAB/MATLAB_Compiler_Runtime/v83//sys/opengl/lib/glnxa64

and now it works!!
Thank you very much!

Ana Maria Escorza

unread,
Jul 27, 2016, 5:41:25 AM7/27/16
to ExploreDTI
u'are welcome!

Samuel St-Jean

unread,
Jul 27, 2016, 5:27:17 PM7/27/16
to ExploreDTI
For future reference, no need to run as sudo, a chmod 755 on the script file should do (unless it is a group install and more people are expected to use it from a central place, in which 777 makes it executable for everyone), although I was sure I set those permission correctly, I'll have to check. Could also be different distros have different default permission for files/something when extracting.

It also seems like due to such permission issues the standalone version did not bundle elastix for the registration stuff, so you'll have to copy the executable by hand to a location in your path for it to work for hte time being.

Gaetano Lombardi

unread,
Jul 28, 2016, 7:24:58 AM7/28/16
to ExploreDTI
Thank you, next time i'll try without su permessions.

Alberto Villagran

unread,
Mar 27, 2017, 11:09:17 AM3/27/17
to ExploreDTI
Hi! I have a error when put ./run_MainExploreDTI.sh from standalone version...

LD_LIBRARY_PATH is .:/usr/local/MATLAB/MATLAB_Compiler_Runtime/v83//runtime/glnxa64:/usr/local/MATLAB/MATLAB_Compiler_Runtime/v83//bin/glnxa64:/usr/local/MATLAB/MATLAB_Compiler_Runtime/v83//sys/os/glnxa64:/usr/local/MATLAB/MATLAB_Compiler_Runtime/v83//sys/opengl/lib/glnxa64
./MainExploreDTI: error while loading shared libraries: libmwlaunchermain.so: cannot open shared object file: No such file or directory.

Do you know what can i do ? Thanks!

Gaetano Lombardi

unread,
Mar 27, 2017, 11:35:42 AM3/27/17
to ExploreDTI

Samuel St-Jean

unread,
Mar 28, 2017, 2:03:08 AM3/28/17
to ExploreDTI
You are missing the matlab redistributable (version 2014a), get it here https://nl.mathworks.com/products/compiler/mcr.html
Reply all
Reply to author
Forward
0 new messages