You are not logged in.

#1 2009-06-23 09:02:44

ziarkaen
Member
Registered: 2009-06-21
Posts: 20

[SOLVED] Cannot run executable

Using ls I can see the files contained within a directory:

$ ls
picaxe08

I have execute permissions, but when I try to execute it:

$ ./picaxe08
bash: ./picaxe08: No such file or directory

Using strings picaxe08, I can see "/lib/ld-linux.so.2" hardcoded in, so I symlinked "/lib/ld-linux.so.2" to "/lib/ld-linux-x86-64.so.2", but when I ran that, I got:

$ ./picaxe08
bash: ./picaxe08: Accessing a corrupted shared library

Any advice? Please help!

Thanks

Last edited by ziarkaen (2009-06-23 15:37:37)


ziarkaen

Offline

#2 2009-06-23 09:05:16

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,224
Website

Re: [SOLVED] Cannot run executable

What is the output of `file picaxe08`?

Are you positive you have execute permission? All you've shown us with the ls is that the file exists... What is the output of `ls -l` (that's a lower-case L, not a capital i)

Last edited by fukawi2 (2009-06-23 09:06:10)

Offline

#3 2009-06-23 09:49:54

DevoidOfWindows
Member
Registered: 2009-05-24
Posts: 133

Re: [SOLVED] Cannot run executable

Are you using sixty-four bit Arch, trying to use a 32-bit binary?

Last edited by DevoidOfWindows (2009-06-23 09:50:52)

Offline

#4 2009-06-23 12:25:13

ziarkaen
Member
Registered: 2009-06-21
Posts: 20

Re: [SOLVED] Cannot run executable

Ahhhh.

Yes, silly me.

It's a precompiled 32bit binary and I on x86_64.

Are there wrappers available, or any way I could make this run?

Thanks


ziarkaen

Offline

Board footer

Powered by FluxBB