3

when I try running a program file downloaded in terminal ubuntu 18.04 by ./filename.exec Input.data as per the program user manual, it says no such file or directory, but when I do ls, ls -l , it shows the file in executable state, but still does not run...why? can anyone help me, being a newbie in bioinformatics. The program file contains executable file and input files.

$ pwd
/home/ubuntu/Downloads/program_directory
$ file ./filename.exec Input.data
./filename.exec: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /lib/ld-, for GNU/Linux 2.6.15, BuildID[sha1]=41506b3ff2b0a8a1a10c2d856fc68be667a93df3, not stripped` 
Input.data:                  ASCII text
$ ./filename.exec Input.data
bash:No such file or directory
$ ldd sRNAscanner_Ubuntu10.exec | grep not
    not a dynamic executable

I even tried running as root, but same response

muru
  • 193,181
  • 53
  • 473
  • 722
Madhu
  • 31
  • 3
  • 4
    It is 32-bit executable, while system is possibly 64-bit. Some libraries may be missed. Please open terminal in the directory with this executable and run command `ldd filename.exec | grep not` - add this output to the question by [editing it](https://askubuntu.com/posts/1252116/edit). – N0rbert Jun 20 '20 at 08:16
  • Can you please give us a link for the program to download and try executing it to find what's wrong? – Parsa Mousavi Jun 20 '20 at 08:33
  • 1
    Does it actually say `interpreter /lib/ld-` in the output of `file`? Or is that a copy-paste error? – muru Jun 20 '20 at 09:23
  • @muru Yes it says the same – Madhu Jun 20 '20 at 10:40
  • 4
    Does this answer your question? [No such file or directory? But the file exists!](https://askubuntu.com/questions/133389/no-such-file-or-directory-but-the-file-exists) See [Avinash's answer](https://askubuntu.com/a/454452/816190). – Kulfy Jun 20 '20 at 16:07
  • Thank u so much everyone who helped me... – Madhu Jun 20 '20 at 18:17

1 Answers1

1

You have to start by installing main 32-bit C library:

sudo apt-get install libc6:i386
N0rbert
  • 97,162
  • 34
  • 239
  • 423