You are not logged in.

#1 2008-10-26 12:29:00

yetihym
Member
Registered: 2008-10-24
Posts: 5

[solved]Why "no such file or directory"?

I got a really strange problem when trying to install RealPlayer using console binary package.

[yeti@yetibox abs]$ ls -l
total 7644
-rwxr-xr-x 1 yeti yeti 7815081 2008-10-26 16:39 RealPlayer11GOLD.bin
[yeti@yetibox abs]$ ./RealPlayer11GOLD.bin
bash: ./RealPlayer11GOLD.bin: No such file or directory

Bash can't find the file really makes me comfused.

There's one thing that I think relates to this problem:
When executing "ls" under Emacs shell, it gives quite wired output.

[yeti@yetibox ~]$ ls
[0m[01;34mDesktop[0m  [01;34mabs[0m  [01;36marchives[0m  [01;34mstore[0m
[m[yeti@yetibox ~]$

but no problems under xfce4-terminal:
[yeti@yetibox ~]$ ls
Desktop  abs  archives  store
[yeti@yetibox ~]$

Any sugestions?

[solved]
The wired characters in emacs shell seem to be color control code. using "ls --color=never" can get a normal output.

Last edited by yetihym (2008-10-26 14:08:39)

Offline

#2 2008-10-26 12:31:23

finferflu
Forum Fellow
From: Manchester, UK
Registered: 2007-06-21
Posts: 1,899
Website

Re: [solved]Why "no such file or directory"?

Try with

 sh ./RealPlayer11GOLD.bin

Have you Syued today?
Free music for free people! | Earthlings

"Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away." -- A. de Saint-Exupery

Offline

#3 2008-10-26 12:32:51

yetihym
Member
Registered: 2008-10-24
Posts: 5

Re: [solved]Why "no such file or directory"?

finferflu wrote:

Try with

 sh ./RealPlayer11GOLD.bin

doesn't work:
[yeti@yetibox abs]$ sh ./RealPlayer11GOLD.bin
./RealPlayer11GOLD.bin: ./RealPlayer11GOLD.bin: cannot execute binary file

Offline

#4 2008-10-26 12:38:20

pressh
Developer/TU
From: Netherlands
Registered: 2005-08-14
Posts: 1,719

Re: [solved]Why "no such file or directory"?

yetihym wrote:

./RealPlayer11GOLD.bin: ./RealPlayer11GOLD.bin: cannot execute binary file

did you make the file executable with 'chmod +x' ?

Offline

#5 2008-10-26 12:39:20

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,393
Website

Re: [solved]Why "no such file or directory"?

Are you using x86_64?  My guess is that is a 32bit binary and you have a 64bit system.  Could be entirely wrong... tongue

Offline

#6 2008-10-26 12:40:34

finferflu
Forum Fellow
From: Manchester, UK
Registered: 2007-06-21
Posts: 1,899
Website

Re: [solved]Why "no such file or directory"?

It looks like it is:

[yeti@yetibox abs]$ ls -l
total 7644
-rwxr-xr-x 1 yeti yeti 7815081 2008-10-26 16:39 RealPlayer11GOLD.bin

I wonder if the file is not corrupt...


Have you Syued today?
Free music for free people! | Earthlings

"Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away." -- A. de Saint-Exupery

Offline

#7 2008-10-26 12:41:30

yetihym
Member
Registered: 2008-10-24
Posts: 5

Re: [solved]Why "no such file or directory"?

pressh wrote:
yetihym wrote:

./RealPlayer11GOLD.bin: ./RealPlayer11GOLD.bin: cannot execute binary file

did you make the file executable with 'chmod +x' ?

yes:
[yeti@yetibox abs]$ ls -l
total 7644
-rwxr-xr-x 1 yeti yeti 7815081 2008-10-26 16:39 RealPlayer11GOLD.bin

and the file is ok. I've tried to execute it under LiveCD environment and it goes well.
I think maybe someting wrong with my mount option. Just guess.

Offline

#8 2008-10-26 12:49:56

yetihym
Member
Registered: 2008-10-24
Posts: 5

Re: [solved]Why "no such file or directory"?

Allan wrote:

Are you using x86_64?  My guess is that is a 32bit binary and you have a 64bit system.  Could be entirely wrong... tongue

I don't know if it's a 32-bit binary, maybe yes. but I've successfully installed it on 64-bit fedora.
even if it's not possible to install it on 64bit Arch, why didn't it give some other errors.

Offline

#9 2008-10-26 13:06:25

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,393
Website

Re: [solved]Why "no such file or directory"?

You can use "file RealPlayer11GOLD.bin" and look for "32" to see if it is a 32 bit binary.

Offline

#10 2008-10-26 13:16:39

yetihym
Member
Registered: 2008-10-24
Posts: 5

Re: [solved]Why "no such file or directory"?

Ar.....yes, it's a 32bit binary:
[yeti@yetibox abs]$ file RealPlayer11GOLD.bin
RealPlayer11GOLD.bin: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.2.5, not stripped

so the problem is we can't execute 32-bit binary under 64bit archlinux?
I think this would be a bad thing since other distributions don't have this problem.

Offline

#11 2008-10-26 13:20:57

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,393
Website

Re: [solved]Why "no such file or directory"?

Arch x86_64 is pure 64bit so does not do multilib by default like many other distros do.  Look at the wiki for ways of running 32bit programs (lib32/chroot).

Offline

Board footer

Powered by FluxBB