Friday, February 08, 2013

Gotcha of the Day: flvcheck fails to run on linux

FLV Check is a handy tool for, well, checking flv files. It's supposed to be trivial to run: download it, unzip it, and execute it.

But when I did this on an Amazon EC2 server, I got the following error message:

 [foo@bar linux]$ ./flvcheck
 bash: ./flvcheck: /lib/
    bad ELF interpreter: No such file or directory

After searching around, I found my first lead of what may be going on here. I went ahead and installed glibc.i686:

  sudo yum install glibc.i686

This got me the new error message:

 [foo@bar linux]$  ./flvcheck
 ./flvcheck: error while loading shared libraries: cannot open shared object 
   file: No such file or directory

Aha! That's a new error message. I then ran this guy:

 sudo yum install libstdc++.i686

And now flvcheck works like a charm.

Happy flvcheck'ing!

1 comment:

  1. Thanks for this! FYI, same problem on an Ubuntu 14.04 instance on AWS requires the following:

    sudo apt-get install libc6-i386
    sudo apt-get install lib32stdc++6