You are not logged in.

#1 2012-08-27 13:36:55

shibby
Member
From: Switzerland
Registered: 2012-08-26
Posts: 3

[SOLVED] No such file or directory, but file exist

Hello unix experts,

In my mind, I have a strange problem, that i can't understand.
I try to install "sopcast" on my Arch system. I have put a binary application file named "sp-sc-auth" to the directory /usr/bin/.

Now when I want to start this in the terminal, then I get this error message (in german):

[shibby@linux ~]$ cd /usr/bin/
[shibby@linux bin]$ sp-sc-auth sop://broker.sopcast.com:3912/6418 3908 8908 
bash: /usr/bin/sp-sc-auth: Datei oder Verzeichnis nicht gefunden

In english:

bash: /usr/bin/sp-sc-auth: No such file or directory

But the file ist there...

[shibby@linux bin]$ ls -d sp*
sp-sc-auth  spd-conf  spd-say  spdsend  speaker-test  speech-dispatcher  speexdec  speexenc  split  sprof

What is wrong?

FYI

[shibby@linux bin]$ uname -r
3.4.9-1-ARCH

Thanks
shibby

Last edited by shibby (2012-08-27 14:59:51)

Offline

#2 2012-08-27 14:08:52

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] No such file or directory, but file exist

Please post the output of

file /usr/bin/sp-sc-auth

and

uname -m

This error often means you're trying to run a 64-bit binary on a 32-bit system.

Offline

#3 2012-08-27 14:14:59

shibby
Member
From: Switzerland
Registered: 2012-08-26
Posts: 3

Re: [SOLVED] No such file or directory, but file exist

Here you go:

[shibby@linux bin]$ file /usr/bin/sp-sc-auth
/usr/bin/sp-sc-auth: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.2.5, stripped
[shibby@linux bin]$ uname -m
x86_64

Ok. Does it mean, that this application does not work on my 64 bit OS?

Offline

#4 2012-08-27 14:17:54

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] No such file or directory, but file exist

If you're using a 64-bit system you should install the version from multilib repo: http://www.archlinux.org/packages/multi … 4/sopcast/
https://wiki.archlinux.org/index.php/Multilib

Offline

#5 2012-08-27 14:30:28

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: [SOLVED] No such file or directory, but file exist

There's no need to "cd" to that directory because /usr/bin is already in $PATH. Seriously, run:

$ echo $PATH

I think you just forgot to set the executable bit:

# chmod +x /usr/bin/sp-sc-auth

Don't forget to mark the topic as solved (by editing the first post).


Edit: Oh, it's a binary. I thought I was a script. tongue The executable bit should already be set then.

Last edited by DSpider (2012-08-27 14:33:56)


"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

#6 2012-08-27 14:59:28

shibby
Member
From: Switzerland
Registered: 2012-08-26
Posts: 3

Re: [SOLVED] No such file or directory, but file exist

Hey guys, it works now...

Thank you karol. I have installed the multilib version.
Glad, that I doesn't have to go back to the "old" 32 bit edition wink

shibby

Offline

#7 2012-08-27 15:02:39

bohoomil
Member
Registered: 2010-09-04
Posts: 2,376
Website

Re: [SOLVED] No such file or directory, but file exist

shibby wrote:

I have put a binary application file named "sp-sc-auth" to the directory /usr/bin/.

Did you install sopcast this way:

pacman -S sopcast

?

P.S.: Seconds too late...

Last edited by bohoomil (2012-08-27 15:03:14)


:: Registered Linux User No. 223384

:: github
:: infinality-bundle+fonts: good looking fonts made easy

Offline

Board footer

Powered by FluxBB