Install Humble Indie Bundle 32 bit games on Fedora 14 (x86_64)

I am a big fan of the Humble Bundle effort. They are supporting good causes, promoting independent game development, and helping to bring independent games to Linux.

That said, a lot of the games they promote have been recently ported to Mac and/or Linux. As a result, not all of them are quite as optimized as they could be for Linux. Anyway, I was looking forward to a few of the games from HIB #3, and as I downloaded the installers, I got a lot of this:

/lib/ bad ELF interpreter

All this is really saying is that you are trying to build a 32 bit program, but you do not have 32 bit libraries. How do you install these libraries? Ask yum.

sudo yum whatprovides

On Fedora you want the glibc package, but for the i686 architecture. You can request the explicit package returned by yum whatprovides, or just:

sudo yum install glibc.i686

Now run your installer, and get back to gaming.


Unless you really wanted to play those games. In which case, you also need the i686 architecture SDL and SDL_mixer. If you load HammerFight (on 64 bit Fedora, at least), it tries to launch, and silently fails. Awesome. I then tried Cogs, which gives you the following error:

Couldn't initial SDL: No available video device

Funny. I could swear I am reading this output on one of my available video devices. Checking the SDL on 64 bit Fedora, sure enough version 1.2 is installed by default. I tried adding the devel packages, but this did not seem to help. Next game, VVVVVV. After extracting the tarball, I am greeted pleasantly with executable VVVVVV_32 and VVVVVV_64. Nice, I will just run this, and:

./VVVVVV_64: error while loading shared libraries: cannot open shared object file: No such file or directory

All right, this is getting a little old.

yum whatprovides

So the 64 bit VVVVVV script wants to use the 32 bit SDL mixer (which requires the 32 bit SDL)? Whatever…

sudo yum install SDL_mixer.i686

Still no luck. I stumbled into this, and thought it would be worth a shot:

sudo yum install SDL_image.i686

And Crayon Physics wanted:

sudo yum install mesa-libGL.i686

One more thing:


Cogs works.

373 words