LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 03-10-2010, 04:52 PM   #1
jefferiksen
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 mricronlx.zip
excite.txt MRIConvert numaris.txt
fileformats.txt MRIConvert_2.0_linux.zip 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/libc.so.1: bad ELF interpreter: No such file or directory

[fsl@localhost MRIConvert]$ ./MRIConvert
bash: ./MRIConvert: /usr/lib/libc.so.1: 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 MRIConvert_2.0_linux.zip
-rw-rw-r-- 1 fsl fsl 16307742 Jan 27 16:17 mricronlx.zip
-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, 04:58 PM   #2
frieza
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: 406Reputation: 406Reputation: 406Reputation: 406Reputation: 406
Quote:
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

Quote:
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: mriconvert_sources.zip.
the source
http://lcni.uoregon.edu/~jolinda/MRI...rt_sources.zip
instructions
http://lcni.uoregon.edu/~jolinda/MRI...20LCNIWiki.pdf

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

Rep: Reputation: 250Reputation: 250Reputation: 250
You may want to unzip and try running the linux executable :
MRIConvert_2.0_linux.zip
 
  


Reply



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 03:36 PM
Can I just copy an executable libray to Linux and expect it to work? john3 Linux - Software 3 03-26-2006 10:41 AM
executable doesn't work on 2.5" USB2.0 HD cyu021 Linux - Hardware 2 10-16-2005 07:53 AM
Running a Java executable class from another executable class LUB997 Programming 22 07-24-2005 04:57 AM
untared executable files don't work jlb Linux - Newbie 2 06-11-2002 06:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

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