Page 1 of 1

[SOLVED]Cant' run executable file on mint 13 xfce

Posted: Thu Feb 28, 2013 6:48 am
by soutern
Hy everybody.
My problem: i have installed linux mint 13 xfce 32bit on my netbook asus (amd c-60 dual core 1ghz, 1gb ram, radeon 6290m 256mb, hdd 320gb) and everything works fine except for this... when i click on a executable file (not file exe, but linux executable file) like desura, nothing happen. And i don't know why. I have installed linux mint 13 64bit on my notebook and i haven't this problem.

I try to do the same with the terminal but nothing. Doesn't run. I open the folder in the terminal and i try to open the file but says " command not found".
What should i have to do?

thanks

Re: Cant' run executable file on mint 13 xfce

Posted: Sat Mar 02, 2013 1:54 pm
by karlchen
Hello, soutern.
  • Which folder is the executable file desura located in? Please give the full pathname.
  • Open a terminal window and navigate to this folder using the cd command.
  • In that folder, execute the command

    Code: Select all

    ls -al desura
    and post the output of this command.
  • In that folder, execute the command

    Code: Select all

    which desura
    and post the output of this command.
  • In that folder, execute the command

    Code: Select all

    ./desura
    What happens? If you receive any error message, post the complete error message, please.
Once the question has been cleared whether it is possible to launch the executable file desura at all, we can come back to the question why double clicking on the filename desura in your file manager does not launch desura.

Kind regards,
Karl

Re: Cant' run executable file on mint 13 xfce

Posted: Tue Mar 05, 2013 5:31 am
by soutern

Code: Select all

stefano@amd-asus ~/desura $ ls -al desura
-rwxrwxrwx 1 stefano stefano 2175312 nov  2  2011 desura

Code: Select all

stefano@amd-asus ~/desura $ which desura
stefano@amd-asus ~/desura $ 
Nothing happen

Code: Select all

stefano@amd-asus ~/desura $ ./desura
bash: ./desura: impossibile eseguire il file binario
Here says that is impossible to execute the binary file

Thanks for your help

Ah! the desura folder is located in /home/stefano/desura

Re: Cant' run executable file on mint 13 xfce

Posted: Tue Mar 05, 2013 6:57 am
by karlchen
Hello, soutern.

Are you sure that the file /home/stefano/desura/desura is really an executable programme file?
Setting a file to rwx for owner, group and others does not make a file an executable programme file.

Code: Select all

file /home/stefano/desura/desura
will display what Linux thinks about the file type of this file.
As bash already identified the file desura as a binary file, the command file should identify it as some kind of ELF executable.
The ELF type must match your system:
On a 32-bit system you can only run 32-bit ELF executables, no 64-bit ELF executables.
On a 64-bit system you can run 64-bit ELF executables and 32-bit ELF executables.
As you told us in your initial post you are on Mint 13 32-bit.

Kind regards,
Karl

Re: Cant' run executable file on mint 13 xfce

Posted: Tue Mar 05, 2013 7:52 am
by soutern
Hello Karichen,

your help was very helpful. eheheh. I ran the command that you posted and i could see that the file is an ELF 64bit. I downloaded the 32bit file. :D

Thanks for your help. :mrgreen:

Best Regards

Soutern

Re: [SOLVED]Cant' run executable file on mint 13 xfce

Posted: Tue Mar 05, 2013 5:56 pm
by karlchen
Hello, Soutern.
You're welcome. :)
Karl