Compiled executable doesn't work on a clean Ubuntu 13.04

Linux specific forum
User avatar
marcoagpinto
Addict
Addict
Posts: 1055
Joined: Sun Mar 10, 2013 3:01 pm
Location: Portugal
Contact:

Compiled executable doesn't work on a clean Ubuntu 13.04

Post by marcoagpinto »

Hello!

I had PureBasic 5.11 x86 in a VM with Ubuntu 12.10 with the sudo apt-get install gcc g++ libc6-dev libsdl1.2-dev libgtk2.0-dev libgnomeprint2.2-dev unixodbc-dev libgnome2-dev libxine-dev libgnomeprintui2.2-dev libxxf86vm-dev

I created a Linux executable and double-clicking in it, it makes it run.

I created another VM, this time with a clean Ubuntu 13.04 and tried to run the executable there (file: proofingtoolgui_linux) but it gives an error:
"
Could not display "proofingtoolgui_linux"
There is no application installed for "executable" files.
Do you want to search for an application to open this file?

"

I tried the above sudo again and it installed lots of things, but, it still gives the error above.

How can I do to make the executable work?

Thanks!

Kind regards,
>Marco A.G.Pinto
---------------
Lush
User
User
Posts: 20
Joined: Sat Feb 12, 2011 5:58 pm
Location: France

Re: Compiled executable doesn't work on a clean Ubuntu 13.04

Post by Lush »

Hello,

The executable bit is probably not set for your file. Move to the directory where the file resides (cd) and try:

Code: Select all

chmod +x proofingtoolgui_linux
You'll need to be either the owner of the file or root for this to work.
User avatar
marcoagpinto
Addict
Addict
Posts: 1055
Joined: Sun Mar 10, 2013 3:01 pm
Location: Portugal
Contact:

Re: Compiled executable doesn't work on a clean Ubuntu 13.04

Post by marcoagpinto »

Lush wrote:Hello,

The executable bit is probably not set for your file. Move to the directory where the file resides (cd) and try:

Code: Select all

chmod +x proofingtoolgui_linux
You'll need to be either the owner of the file or root for this to work.
Thanks, it worked!

Kind regards from Marco A.G.Pinto,
Post Reply