You are not logged in.

#1 2013-11-10 18:40:17

shoe
Member
Registered: 2012-12-19
Posts: 12

[SOLVED] cannot execute binary file / humble bundle

I'm having trouble executing a number of games I've downloaded via Humble Bundle. One game, for example, I downloaded as "supermeatboy-linux-06072012-bin". Here are some of the outputs I get while attempting to execute:

$ bash supermeatboy-linux-06072012-bin
supermeatboy-linux-06072012-bin: supermeatboy-linux-06072012-bin: cannot execute binary file

$ sh supermeatboy-linux-06072012-bin
supermeatboy-linux-06072012-bin: supermeatboy-linux-06072012-bin: cannot execute binary file

$ ./supermeatboy-linux-06072012-bin
bash: ./supermeatboy-linux-06072012-bin: No such file or directory


I'm getting the same scenario from a number of other games so I suspect the issue to be with either my environment or my approach.

My architecture is x86_64

I'd be more than happy to supply any additional environmental information

Thanks archers

Last edited by shoe (2013-11-11 15:05:40)

Offline

#2 2013-11-10 18:43:25

HalosGhost
Forum Fellow
From: Twin Cities, MN
Registered: 2012-06-22
Posts: 2,097
Website

Re: [SOLVED] cannot execute binary file / humble bundle

Did you check the hashsums?

All the best,

-HG

Offline

#3 2013-11-10 19:05:05

Muflone
Package Maintainer (PM)
From: Italy
Registered: 2013-10-08
Posts: 151
Website

Re: [SOLVED] cannot execute binary file / humble bundle

More likely you're trying to use a 32 bit file without having the ia32 libraries.
Please execute
file supermeatboy-linux-06072012-bin
and check if reports ELF 32-bit something. In such case please enable the multilib repository from /etc/pacman.conf and install the lib32 packages (surely the lib32-glibc and maybe others).

Hint: a supermeatboy package exists in the AUR but I've never used it.

Offline

#4 2013-11-10 19:08:59

COPE
Member
Registered: 2013-11-03
Posts: 31

Re: [SOLVED] cannot execute binary file / humble bundle

Have you made that file executable?

Offline

#5 2013-11-11 05:45:47

shoe
Member
Registered: 2012-12-19
Posts: 12

Re: [SOLVED] cannot execute binary file / humble bundle

Muflone wrote:

More likely you're trying to use a 32 bit file without having the ia32 libraries.
Please execute
file supermeatboy-linux-06072012-bin
and check if reports ELF 32-bit something. In such case please enable the multilib repository from /etc/pacman.conf and install the lib32 packages (surely the lib32-glibc and maybe others).

Hint: a supermeatboy package exists in the AUR but I've never used it.

$ file  supermeatboy-linux-06072012-bin

supermeatboy-linux-06072012-bin: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), GNU/Linux 2.6.8, stripped

multilib is enabled and I installed lib32-glibc-2.18-8 succesfully, however am getting the same issue. I see whole a lot of different lib32 packages available, are there maybe some more I should try?

Worth noting that I do have all of the depencies installed that AUR suggests supermeatboy uses

I suppose I could install via pacman, but this wouldn't solve the issue for the few other games with the same errors. I'm mostly just looking to learn how to make it work

Thanks for reply!

Offline

#6 2013-11-11 05:48:04

shoe
Member
Registered: 2012-12-19
Posts: 12

Re: [SOLVED] cannot execute binary file / humble bundle

COPE wrote:

Have you made that file executable?

I suppose so

ls -l shows -rwxrwxrwx

Offline

#7 2013-11-11 06:02:42

shoe
Member
Registered: 2012-12-19
Posts: 12

Re: [SOLVED] cannot execute binary file / humble bundle

HalosGhost wrote:

Did you check the hashsums?

All the best,

-HG

$ md5sum supermeatboy-linux-06072012-bin
90a563ff103b4610b41af5fd2bccb21a  supermeatboy-linux-06072012-bin

It's just as the site suggests it should be

Thanks for the reply

Offline

#8 2013-11-11 15:05:04

shoe
Member
Registered: 2012-12-19
Posts: 12

Re: [SOLVED] cannot execute binary file / humble bundle

I should have given AUR more credit. Seems that these files were package files to be set up using pacman and it would be far to complicated for me to be setting them up manually. I think it was the "-bin" at the end of the file that was throwing me off as I was mistaking it for an executable script.

The file was intended to be stuck in /tmp/yaourt-tmp-username/aur-supermeatboy/ in order to make 'yaourt -S supermeatboy' work at all.

Thanks for all of the help

Last edited by shoe (2013-11-11 15:06:25)

Offline

#9 2013-11-11 15:07:49

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] cannot execute binary file / humble bundle

You don't have to use yaourt, makepkg will do :-)


BTW, what's the output of 'file supermeatboy-linux-06072012-bin'?

Last edited by karol (2013-11-11 15:10:51)

Offline

#10 2013-11-11 15:18:31

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,546
Website

Re: [SOLVED] cannot execute binary file / humble bundle

From the PKGBUILD it seems the *-bin file is a zipped archive, not the executable itself.  One could handle this manually: unzip the *-bin, and move the contents accordingly.  But this is what PKGBUILDs are really for.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

Board footer

Powered by FluxBB