Cannot execute binary file on linux.
-
- New User
- Posts: 14
- Joined: Sat May 21, 2016 6:02 pm
Cannot execute binary file on linux.
When I try to open zandronum on terminal I get this error: ".: zandronum: cannot execute binary file"
Btw. I followed install instructions correctly.
Btw. I followed install instructions correctly.
Re: Cannot execute binary file on linux.
My guess is you installed the 64-bit version on a 32-bit system. Please post the full command used to run zandronum, and the full error message or the best we can do is guess.
-
- New User
- Posts: 14
- Joined: Sat May 21, 2016 6:02 pm
Re: Cannot execute binary file on linux.
I don't have got 32-bit system and I even tried the 32-bit version of Zandronum and still nothing.
Here's the full error message:
[aleksanderus@aleksanderus-pc zandronum2.1.2-linux-x86_64.tar-1]$ . zandronum
bash: .: zandronum: cannot execute binary file
[aleksanderus@aleksanderus-pc zandronum2.1.2-linux-x86_64.tar-1]$
And I'm not kidding that's EVERYTHING it says, belive me.
Here's the full error message:
[aleksanderus@aleksanderus-pc zandronum2.1.2-linux-x86_64.tar-1]$ . zandronum
bash: .: zandronum: cannot execute binary file
[aleksanderus@aleksanderus-pc zandronum2.1.2-linux-x86_64.tar-1]$
And I'm not kidding that's EVERYTHING it says, belive me.
- Sean
- IRC Operator
- Posts: 975
- Joined: Thu Jan 16, 2014 9:09 pm
- Location: United Kingdom
- Clan: Zandronum
- Clan Tag: [Za]
- Contact:
Re: Cannot execute binary file on linux.
What's the output of uname -a?
<capodecima> i dont say any more word without my loyer jenova
Re: Cannot execute binary file on linux.
I see the problem, you are trying to execute command called "." with parameter zandronum.Aleksanderus wrote:[aleksanderus@aleksanderus-pc zandronum2.1.2-linux-x86_64.tar-1]$ . zandronum
bash: .: zandronum: cannot execute binary file
Try running it using "./zandronum". Linux doesn't have the working directory in PATH for safety reasons. But if you want, you can add "." to PATH (using PATH=$PATH:.) and then be able to execute anything that is within current directory by just typing its command.
The dot as a command is a bash alias for the builtin command "source", which lets you run shell scripts within the same process.
-
- New User
- Posts: 14
- Joined: Sat May 21, 2016 6:02 pm
Re: Cannot execute binary file on linux.
Tried that and now there's a new error:Klofkac wrote:I see the problem, you are trying to execute command called "." with parameter zandronum.Aleksanderus wrote:[aleksanderus@aleksanderus-pc zandronum2.1.2-linux-x86_64.tar-1]$ . zandronum
bash: .: zandronum: cannot execute binary file
Try running it using "./zandronum". Linux doesn't have the working directory in PATH for safety reasons. But if you want, you can add "." to PATH (using PATH=$PATH:.) and then be able to execute anything that is within current directory by just typing its command.
The dot as a command is a bash alias for the builtin command "source", which lets you run shell scripts within the same process.
./zandronum: error while loading shared libraries: libjpeg.so.62: cannot open shared object file: No such file or directory
Atleast I'm making progres!
- Sean
- IRC Operator
- Posts: 975
- Joined: Thu Jan 16, 2014 9:09 pm
- Location: United Kingdom
- Clan: Zandronum
- Clan Tag: [Za]
- Contact:
Re: Cannot execute binary file on linux.
What distro are you running? You need to install it's relevant package for libjpeg 6.2.
<capodecima> i dont say any more word without my loyer jenova
- Dark-Assassin
- Maintenence Crew
- Posts: 968
- Joined: Fri May 25, 2012 4:25 am
Re: Cannot execute binary file on linux.
Is there a quirk or problem with the license that prohibits libjpeg being packed with zandronum?
Also, if using Debian or Ubuntu or Mint, just install it via the drdteam repo.
Also, if using Debian or Ubuntu or Mint, just install it via the drdteam repo.
-
- New User
- Posts: 14
- Joined: Sat May 21, 2016 6:02 pm
Re: Cannot execute binary file on linux.
I have got manjaro distribution. So... Am I fucked?
- Sean
- IRC Operator
- Posts: 975
- Joined: Thu Jan 16, 2014 9:09 pm
- Location: United Kingdom
- Clan: Zandronum
- Clan Tag: [Za]
- Contact:
Re: Cannot execute binary file on linux.
Not really. But seeing as you're running an Arch Linux-based distro you need to install libjpeg6-turbo from the AUR.
<capodecima> i dont say any more word without my loyer jenova
-
- New User
- Posts: 14
- Joined: Sat May 21, 2016 6:02 pm
Re: Cannot execute binary file on linux.
I installed it and still the same error. I think I need to move it somewhere... Maybe in the zandronum folder?
EDIT: Not working, I also tried pasting the file into share folder and lib folder and still nothing
EDIT: Not working, I also tried pasting the file into share folder and lib folder and still nothing
- Sean
- IRC Operator
- Posts: 975
- Joined: Thu Jan 16, 2014 9:09 pm
- Location: United Kingdom
- Clan: Zandronum
- Clan Tag: [Za]
- Contact:
Re: Cannot execute binary file on linux.
Try installing zandronum2. I think the official binary distributions of Zandronum use the Debianisms of libraries.
<capodecima> i dont say any more word without my loyer jenova
-
- New User
- Posts: 14
- Joined: Sat May 21, 2016 6:02 pm
Re: Cannot execute binary file on linux.
Unfortunately I'm new to linux and I don't know how to install it.
Sorry for being so retarded!
Sorry for being so retarded!
- Sean
- IRC Operator
- Posts: 975
- Joined: Thu Jan 16, 2014 9:09 pm
- Location: United Kingdom
- Clan: Zandronum
- Clan Tag: [Za]
- Contact:
Re: Cannot execute binary file on linux.
<capodecima> i dont say any more word without my loyer jenova
-
- New User
- Posts: 14
- Joined: Sat May 21, 2016 6:02 pm
Re: Cannot execute binary file on linux.
FINALLY! Thank you, I can finally play zandronum again!