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

Forum rules
Before you post please read how to get help

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

Postby soutern on Thu Feb 28, 2013 6:48 am

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
Last edited by soutern on Tue Mar 05, 2013 7:54 am, edited 1 time in total.
soutern
Level 1
Level 1
 
Posts: 4
Joined: Thu Feb 28, 2013 6:14 am

Linux Mint is funded by ads and donations.
 

Re: Cant' run executable file on mint 13 xfce

Postby karlchen on Sat Mar 02, 2013 1:54 pm

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
User avatar
karlchen
Level 11
Level 11
 
Posts: 3979
Joined: Sat Dec 31, 2011 7:21 am

Re: Cant' run executable file on mint 13 xfce

Postby soutern on Tue Mar 05, 2013 5:31 am

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
soutern
Level 1
Level 1
 
Posts: 4
Joined: Thu Feb 28, 2013 6:14 am

Re: Cant' run executable file on mint 13 xfce

Postby karlchen on Tue Mar 05, 2013 6:57 am

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
User avatar
karlchen
Level 11
Level 11
 
Posts: 3979
Joined: Sat Dec 31, 2011 7:21 am

Re: Cant' run executable file on mint 13 xfce

Postby soutern on Tue Mar 05, 2013 7:52 am

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
soutern
Level 1
Level 1
 
Posts: 4
Joined: Thu Feb 28, 2013 6:14 am

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

Postby karlchen on Tue Mar 05, 2013 5:56 pm

Hello, Soutern.
You're welcome. :)
Karl
User avatar
karlchen
Level 11
Level 11
 
Posts: 3979
Joined: Sat Dec 31, 2011 7:21 am


Return to XFCE

Who is online

Users browsing this forum: No registered users and 4 guests