Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am trying to install a program using 32 bit installer over 32 bit Debian machine. While trying ./installer name getting an error 'cannot execute binary file'.
I checked the library files required
I checked permissions
I checked the JRE
I checked md5sum for the installer
and I checked the size of the file which matches with the file on the website.
The system should know what to do with the installer.
The fact that the file begin with #!/bin/bash inform the system that this file is a "bash script", that is to say a set of commands to be executed or "interpreted" by the program "bash". Thus it starts "bash", giving it the name of the file to be executed.
When you type "sh genespringGX_linux32.bin" you instruct bash to do the same.
There can be subtle differences between the "sh" and the "bash" programs but that probably doesn't matter in your case.
To make sure, you can open the installer file genespringGX_linux32.bin with a text editor and check that it do begin with a line with #!/bin/bash. (or maybe #!/bin/sh)
Last edited by Didier Spaier; 04-15-2010 at 04:33 PM.
The system should know what to do with the installer.
The fact that the file begin with #!/bin/bash inform the system that this file is a "bash script", that is to say a set of commands to be executed or "interpreted" by the program "bash". Thus it starts "bash", giving it the name of the file to be executed.
When you type "sh genespringGX_linux32.bin" you instruct bash to do the same.
There can be subtle differences between the "sh" and the "bash" programs but that probably doesn't matter in your case.
To make sure, you can open the installer file genespringGX_linux32.bin with a text editor and check that it do begin with a line with #!/bin/bash.
Thank you for your reply.
in the bin file(genespringGX_linux32.bin) the first line starts with #!/bin/sh
will this be any problem?
will this
The last time I had "cannot execute binary file" it had to do with how my drive was mounted in fstab (with the noexec option even with chmod 755).
Modify /etc/fstab and go to where your drive is which is being used. Add the exec option to the fstab entry for the partition which you are attempting to run the executable. If you do not know how to modify your /etc/fstab then run the following commands:
Code:
cat /etc/fstab
ls -lah /dev/disk/by-uuid
df
And post the output of those commands here on LQ. We will be happy to assist you with correctly modifying your fstab file. Also having the full path of the executable which you are trying to run will be a big help so please provide that as well.
You may encounter problems running the second two commands so run them as root or precede them with the sudo command in Ubuntu (e.g. sudo df).
my bet is that the installer you used, though it has the label "32 bit", in fact includes 64 bit binaries - you wouldn't be the first, as I did find out with Google's help.
I just downloaded GeneSpring GX 11 (32 bit version) from the Agilent technologies website and had no problem installing it on Slackware-13.1, even though this distribution be not officially supported.
When you launch the application for the first time it asks for a license number... I didn't go as far as getting one, just to try an application I don't need
Remember to make the installation as a regular used (not as root), as requested.
Good luck,
PS Don't be fooled by the fact that the installer's file name is the same as yours. It seems that Agilent don't include the installer's version in its name. And don't forget to make that file executable before using it (chmod +x genespringGX_linux32.bin)
Last edited by Didier Spaier; 09-20-2010 at 05:47 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.