Old 26th October 2005, 15:13   #1
acasademont
Junior Member
 
Join Date: Oct 2005
Posts: 4
Not working in Gentoo Linux & AMD64?

Hi guys,

i just had a little problem. I tried to set up a shoutcast server on our new AMD64 server with Gentoo Linux (Kernel 2.6) but it doesn't seem to work.

I always start programs in linux by entering the famous:

$ ./sc_serv
-bash: ./sc_serv: No such file or directory

I've done chmod 755 & 777 thousands of times but ther is always that stupid message from Bash.

I tried on another Linux machine with a new fresh Ubuntu 5.10 and did not give me any problems at all. Does anybody know if i have to enable some feature in Bahs, the kernel or something to have Shoutcast running?

Thanks for all
acasademont is offline   Reply With Quote
Old 26th October 2005, 15:51   #2
bored_womble
Winamp's Womble
 
bored_womble's Avatar
 
Join Date: May 2004
Location: Wimbledon Common
Posts: 1,100
it looks on the face of it, you are not in the directory that Shoutcast is installed into ...

as the error give is just as it says ... the file is not there ...

I would suspect Shoutcast will work fine ... when you find it ...

BW

Without open minds the world will die. Open yours and correct the mistakes you are making right now.
bored_womble is offline   Reply With Quote
Old 26th October 2005, 20:09   #3
acasademont
Junior Member
 
Join Date: Oct 2005
Posts: 4
Please, don't treat me as if i was a linux noob because i'm not...

I think that the problem is the binary, compiled for i386 and that Gentoo is in 64 bit mode for the AMD64.
acasademont is offline   Reply With Quote
Old 26th October 2005, 20:18   #4
bored_womble
Winamp's Womble
 
bored_womble's Avatar
 
Join Date: May 2004
Location: Wimbledon Common
Posts: 1,100
fair doos .. but the binary would give the error message if there was an issue, not the operating system ... which in this case appears to be an OS message ...

of course ... you could provide some more detail ... like

ls -la

of the directory you are in ...


BW

Without open minds the world will die. Open yours and correct the mistakes you are making right now.
bored_womble is offline   Reply With Quote
Old 26th October 2005, 22:32   #5
Jay
Moderator Alumni
 
Jay's Avatar
 
Join Date: May 2000
Location: Next Door
Posts: 8,942
Quote:
Originally posted by acasademont
Please, don't treat me as if i was a linux noob because i'm not...
We don't know anything about you so don't make the assumption that we are treating you like anything other then another shoutcast user.

-bash: ./sc_serv: No such file or directory
means that sc_serv is not in the current working directory.

Let's start with the simple explanations. If you still feel we are wrong give us more information then what has been provided.
Jay is offline   Reply With Quote
Old 27th October 2005, 13:41   #6
acasademont
Junior Member
 
Join Date: Oct 2005
Posts: 4
Let's go then :

albert@revistes shoutcast-1-9-5-linux-glibc6 $ ls -la
total 180
drwxr-xr-x 2 albert oasi 136 Oct 27 15:42 .
drwxr-xr-x 3 albert oasi 352 Oct 26 17:23 ..
-rw-r--r-- 1 albert oasi 24592 Dec 27 2004 README.TXT
-rwxr-xr-x 1 albert oasi 139112 Dec 27 2004 sc_serv
-rw-r--r-- 1 albert oasi 14394 Dec 27 2004 sc_serv.conf
albert@revistes shoutcast-1-9-5-linux-glibc6 $ ./sc_serv
-bash: ./sc_serv: No such file or directory

There it is. I still think that the problem is that those binaries where compiled for an i386 Linux system, not a 64 bit Gentoo Linux.
acasademont is offline   Reply With Quote
Old 27th October 2005, 13:51   #7
bored_womble
Winamp's Womble
 
bored_womble's Avatar
 
Join Date: May 2004
Location: Wimbledon Common
Posts: 1,100
okies do


pwd
file *
strace ./sc_serv

the strace may tell you what files are missing, could be a linker problem, or possible something else ...

you might have to install strace ...

BW

Without open minds the world will die. Open yours and correct the mistakes you are making right now.
bored_womble is offline   Reply With Quote
Old 27th October 2005, 18:14   #8
acasademont
Junior Member
 
Join Date: Oct 2005
Posts: 4
albert@revistes shoutcast-1-9-5-linux-glibc6 $ pwd
/home/albert/shoutcast-1-9-5-linux-glibc6
albert@revistes shoutcast-1-9-5-linux-glibc6 $ file *
README.TXT: ASCII English text, with very long lines, with CRLF line terminators
sc_serv: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.2.5, dynamically linked (uses shared libs), stripped
sc_serv.conf: ASCII English text, with CRLF line terminators
albert@revistes shoutcast-1-9-5-linux-glibc6 $ strace ./sc_serv
strace: exec: No such file or directory
execve("./sc_serv", ["./sc_serv"], [/* 34 vars */]) = 0


I think now the problem it's here, as i supposed "ELF 32-bit LSB executable". The problem is that i thought that a 64 bit Linux was capable of emulating a 32 bit environtment...
acasademont is offline   Reply With Quote
Old 27th October 2005, 18:52   #9
karlH
Junior Member
 
Join Date: Feb 2005
Posts: 18
you can run 32bit binaries on x86_64, I've seen it, and in fact it was shoutcast. The problem will be something like a bad char in the name or maybe the filesystem is mounted with noexec.

karl.
karlH is offline   Reply With Quote
Old 1st February 2006, 11:15   #10
Andreas Duswald
Junior Member
 
Join Date: Feb 2006
Posts: 1
Same trouble

Hello there - I´m totaly down, I have yjust the same proplem, can get the shoutcast server running on my new Server.

Installed is a Debian sarge 3.1 64 bit on a 64 bit maschine. It greates just the same error mentioned above.

Is there any solution for this? - or is it possible, to somehow comile the server for 64 bit systems.

Thanks for any help: Andy
Andreas Duswald is offline   Reply With Quote
Old 1st February 2006, 17:37   #11
DJ AmPs
Major Dude
 
DJ AmPs's Avatar
 
Join Date: Mar 2002
Location: g
Posts: 1,603
Shoutcast works great for me on AMD 3000+ X86_64 Fedora Core 4.

No need to recompile anything for 64 bit. Looks to me like a file system error.
DJ AmPs is offline   Reply With Quote
Old 1st February 2006, 23:33   #12
fc*uk
Moderator
 
fc*uk's Avatar
 
Join Date: Dec 2005
Location: Atlantic Beach
Posts: 8,140
let us all remember that x64 OSes are flaky at best (imho). Yes, your *nix OSes are ahead of the game, but everyone is in new(er) waters when it comes to a true 64-bit environment.

The point being: be happy with what works and give what does not some time.... And this, with a *nix system, your distro of choice can make a huge impact on functionality.

Someone says FC4 works .... I would hop on that shits then.

Ciao
fc*uk is offline   Reply With Quote
Old 2nd February 2006, 11:20   #13
Stream_addict
Junior Member
 
Join Date: Nov 2005
Posts: 7
Send a message via AIM to Stream_addict
Hi just install ia32Libs then all should work fine .
Stream_addict is offline   Reply With Quote
Old 15th April 2007, 21:30   #14
theblade
Junior Member
 
Join Date: Apr 2007
Posts: 2
I'm running Ubuntu Edgy and I'm getting the same error. I'm installed on 32bit, but the same problem.

I've never had his problem before, nor problem running sc_serv.

I have sc_trans_posix executing no problem. I would just pull my sc_trans off my old install but I lost 2 hard drives in one shot, so I have to start over with this box. I'm not very linux literate, and can't even find help using google to compile sc_serv if needed.

Anyone have any ideas? Or does anyone know if sc_serv will work with Edgy. BTW this is an Edgy LAMP install...but didnt think that would really affect anything.

thanks
theblade is offline   Reply With Quote
Old 7th October 2007, 20:22   #15
offline15
Junior Member
 
Join Date: Oct 2007
Posts: 2
I have same problem on my Centos 4.4 64Bit OS.
offline15 is offline   Reply With Quote
Old 7th October 2007, 20:26   #16
fc*uk
Moderator
 
fc*uk's Avatar
 
Join Date: Dec 2005
Location: Atlantic Beach
Posts: 8,140
install the ia32libs. 99% of the time this turns out to be everyone's problem.

That lib provides compatibility between between the 64 and 32 bit environments and for whatever reason is not installed by any distro by default.
fc*uk is offline   Reply With Quote
Old 7th October 2007, 21:40   #17
offline15
Junior Member
 
Join Date: Oct 2007
Posts: 2
Oh thanks.. But in Centos you need to install glibc i686 instead of ia32libs

yum install glibc
offline15 is offline   Reply With Quote
Old 13th October 2007, 18:30   #18
triune
Junior Member
 
Join Date: Dec 2005
Posts: 11
Send a message via AIM to triune
i run a gentoo amd64 box as well.

the problem you are having, is most likely because whoever built your machine wanted it to run 32bit apps only. some servers are setup this way, some are not.

i built my machine to include the ability to run 32bit apps as well, and i have no problem running sc_serv on my machine.

a quick way to tell how your machine was built is to look for these in /

lrwxrwxrwx 1 root root 5 Sep 24 08:24 lib -> lib64
drwxr-xr-x 2 root root 4096 Sep 24 08:24 lib32
drwxr-xr-x 7 root root 4096 Sep 24 08:24 lib64

if you dont have lib32, u cant run 32bit apps on you box.
triune is offline   Reply With Quote
Old 5th October 2008, 20:55   #19
ricsvcr
Junior Member
 
Join Date: Oct 2008
Posts: 1
AMD64 + Kubuntu 8.04

I had the same problem running Kubuntu 8.04 on AMD64:

# ./sc_serv
bash: ./sc_serv: No such file or directory

Installed libc6-i386:

# apt-get install libc6-i386
or
# apt-get install ia32-libs (Includes libc6-i386 and some other shared libraries)

Now it works:

# ./sc_serv&
*******************************************************************************
** SHOUTcast Distributed Network Audio Server
** Copyright (C) 1998-2004 Nullsoft, Inc. All Rights Reserved.
** Use "sc_serv filename.ini" to specify an ini file.
******************************************************************************
[1] 6958
#
ricsvcr is offline   Reply With Quote
Old 5th October 2008, 21:01   #20
fc*uk
Moderator
 
fc*uk's Avatar
 
Join Date: Dec 2005
Location: Atlantic Beach
Posts: 8,140
I still don't understand for the life of me why *nix distros do not install this as one of their default or mandatory packages. The headaches this causes!

I gotten in the habit anymore after I setup a new *nix box to do two things:

1. apt-get dist upgrade

2. apt-get install ia32-libs



oh, ricsvcr: thanks for using the search function in the forums
fc*uk is offline   Reply With Quote
Old 5th November 2009, 18:04   #21
Subfader
Member
 
Join Date: Mar 2007
Posts: 54
Thanks, I already gone mad For Ubuntu:
Quote:
sudo apt-get install ia32-libs
Subfader is offline   Reply With Quote
Old 24th October 2010, 19:34   #22
orfeous
Junior Member
 
Join Date: May 2005
Location: Sweden
Posts: 7
Send a message via ICQ to orfeous
now it works for me too installed ia32libs on my ubuntu 10.10 64-bit
orfeous is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Shoutcast > Shoutcast Technical Support

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump