Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I just downloaded Zodiac (a chem software) for linux and I tried using sudo bash ./Zodiac_linux from the directory where it's installed and I received the error:

./Zodiac_linux: ./Zodiac_linux: cannot execute binary file

I am running 12.10 if it's relevant.

Running file Zodiac_linux gives the output:

Zodiac_linux: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.8, not stripped

The output of locate libopenbabel is:

share|improve this question
What's the output of file Zodiac_linux? – Florian Diesch Feb 2 '13 at 0:43
Um, I don't understand what you want from me. Just for some background I don't understand much programming so you'll have to explain everything in simple terms for me to understand it. Just tell me what to do. – Brenton Horne Feb 2 '13 at 0:46
Run file Zodiac_linux from the directory where it's installed and include the output in your question – Florian Diesch Feb 2 '13 at 0:54
What's the output of uname -m? – Eric Carvalho Feb 2 '13 at 1:07
You mean what architecture I'm operating on? i686 – Brenton Horne Feb 2 '13 at 1:09
up vote 6 down vote accepted

Bash is a shell, it can't execute binary files.

Presuming the file is already executable, you can simply type ./Zodiac_linux.

If it isn't executable yet, you can set the executable bit with sudo chmod +x ./Zodiac_linux and then run the above command.

share|improve this answer
This gives me the output './Zodiac_linux: error while loading shared libraries: cannot open shared object file: No such file or directory' – Brenton Horne Feb 2 '13 at 0:56
Do you have Open Babel installed? Maybe you could run a quick locate openbabel to check if it exists anywhere. – mtdevans Feb 2 '13 at 1:15
Sure do. I installed it just yesterday so I could install the latest version of Avogadro. – Brenton Horne Feb 2 '13 at 1:16
If you can verify that exact file exists (including version number), you can try setting the environment variable LD_LIBRARY_PATH=/path/to/lib/ and then running the program from the same terminal. If it's just that the version is wrong, you may be able to hack around by symlinking to e.g. (if that exists). Also, see here. – mtdevans Feb 2 '13 at 1:28
Simple English please? Might be best to add it to your answer because I am no programmer, you'll have to tell me exactly what to do. – Brenton Horne Feb 2 '13 at 1:29

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.