Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I have a server machine with ubuntu 9.10. I am trying to put in place an executable, which turns out to be the latest flashplayer (debugger version).

Somehow the file appears as present and executable, but when launching it the console indicates that the files does not exist:

$ pwd
/home/rodrigo/t_fplayer
$ ls -lh
total 12M
-rwxr-xr-x 1 rodrigo rodrigo 12M 2011-07-09 11:35 flashplayerdebugger
$ ./flashplayerdebugger
-bash: ./flashplayerdebugger: No such file or directory
$ ldd flashplayerdebugger
       not a dynamic executable

Using the same executable (copied via ssh) in my local machine works fine.

Any idea of what is going on? What can explain this behaviour? Any idea how to fix this?

share|improve this question
    
Please do not crosspost. I'm voting to close here because this answer on SF is very likely to be correct and helpful. –  Gilles Jul 9 '11 at 22:22
    
@Gilles: Can we migrate and merge instead? –  Caleb Jul 10 '11 at 22:18

2 Answers 2

The problem seems to be a 64 bits <-> 32 bits compatibility issue.

~/t_fplayer$ file flashplayerdebugger 
flashplayerdebugger: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), stripped

The solution would be to install ia32-libs.

See answers at http://serverfault.com/questions/288666

share|improve this answer
1  
On ubuntu you can install them by running sudo apt-get install ia32-libs in a terminal –  Rodislav Jul 13 '12 at 11:04

My guess is that /home/rodrigo/t_fplayer/flashplayerdebugger does not have the correct format. Indeed, the ldd output indicates just as much.

Do: file /home/rodrigo/t_fplayer/flashplayerdebugger to see what the file command knows about its format.

It may be one of those fancy "shell scripts" that unpacks an ASCII-encoded file, and then installs it. Proprietary software vendors are fond of that sort of silliness.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.