Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-10-2010, 05:52 PM   #1
LQ Newbie
Registered: Mar 2010
Posts: 1

Rep: Reputation: 0
how do I get an executable to work?

I cannot figure out how to "install" a program I downloaded. It comes in Windows, Mac, and Linux flavors, and I did acquire the Linux version, which comes in a ZIP file. After I unzip it and cd to the directory it is in, I have the following contents:

[fsl@localhost MRIConvert]$ ls

dicom.txt mcverter
excite.txt MRIConvert numaris.txt
fileformats.txt philips_mr.txt

How do I run either of these executables, mcverter or MRIConvert (latter has a GUI). When I try to run from the command line, I get this:

[fsl@localhost MRIConvert]$ mcverter
bash: mcverter: command not found

[fsl@localhost MRIConvert]$ MRIConvert
bash: MRIConvert: command not found

I read somewhere to use ./ before the name, but get this:

[fsl@localhost MRIConvert]$ ./mcverter
bash: ./mcverter: /usr/lib/ bad ELF interpreter: No such file or directory

[fsl@localhost MRIConvert]$ ./MRIConvert
bash: ./MRIConvert: /usr/lib/ bad ELF interpreter: No such file or directory

Here is more detail on the files that came in the ZIP:

[fsl@localhost MRIConvert]$ ls -al
total 24600
drwxrwxr-x 2 fsl fsl 4096 Mar 9 14:44 .
drwx------ 35 fsl fsl 4096 Mar 10 14:21 ..
-rw-rw-rw- 1 fsl fsl 24177 Oct 21 2008 dicom.txt
-rw-rw-rw- 1 fsl fsl 15609 May 16 2007 excite.txt
-rw-rw-r-- 1 fsl fsl 5102 Apr 26 2007 fileformats.txt
-rwxr-xr-x 1 fsl fsl 2025928 Jan 11 16:50 mcverter
-rwxr-xr-x 1 fsl fsl 4529292 Jan 11 16:50 MRIConvert
-rw-rw-r-- 1 fsl fsl 2162627 Jan 27 16:16
-rw-rw-r-- 1 fsl fsl 16307742 Jan 27 16:17
-rw-rw-r-- 1 fsl fsl 8745 Jul 7 2006 numaris.txt
-rw-rw-rw- 1 fsl fsl 1436 Apr 23 2008 philips_mr.txt
[fsl@localhost MRIConvert]$

I had an earlier version working a few months ago, but cannot recall how I made it work back then. Thanks for pointing me to what I should be reading to understand and fix this problem once and for all.
Old 03-10-2010, 05:58 PM   #2
Senior Member
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233

Rep: Reputation: 404Reputation: 404Reputation: 404Reputation: 404Reputation: 404
The latest binaries link statically to the wxWidgets libraries
make sure you have that installed, you may be better off getting the source code if available and compiling them

To build from source, follow the instructions originally from the LCNI wiki (currently down) for building MRIConvert in Ubuntu linux, but get the source code here:
the source

Last edited by frieza; 03-10-2010 at 06:00 PM.
Old 03-10-2010, 08:16 PM   #3
Senior Member
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

Rep: Reputation: 249Reputation: 249Reputation: 249
You may want to unzip and try running the linux executable :


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
ln for executable how dows it work ? xoronaldo Linux - General 4 12-16-2006 04:36 PM
Can I just copy an executable libray to Linux and expect it to work? john3 Linux - Software 3 03-26-2006 11:41 AM
executable doesn't work on 2.5" USB2.0 HD cyu021 Linux - Hardware 2 10-16-2005 08:53 AM
Running a Java executable class from another executable class LUB997 Programming 22 07-24-2005 05:57 AM
untared executable files don't work jlb Linux - Newbie 2 06-11-2002 07:44 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:21 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration