|
|
#1 |
|
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
|
|
|
|
|
|
#2 |
|
Winamp's Womble
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. |
|
|
|
|
|
#3 |
|
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. |
|
|
|
|
|
#4 |
|
Winamp's Womble
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. |
|
|
|
|
|
#5 | |
|
Moderator Alumni
Join Date: May 2000
Location: Next Door
Posts: 8,942
|
Quote:
-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 | Radio Toolbox.com |
|
|
|
|
|
|
#6 |
|
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. |
|
|
|
|
|
#7 |
|
Winamp's Womble
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. |
|
|
|
|
|
#8 |
|
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... |
|
|
|
|
|
#9 |
|
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. |
|
|
|
|
|
#10 |
|
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 |
|
|
|
|
|
#11 |
|
Major Dude
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. BB 192k Mp3 HIGH DEFINITION | BB 24k Mp3 | BB 20k WMA | BB Community __________________________ My Host - Fast-Serv.com | Free Shoutcast Hosting - Coming Soon... |
|
|
|
|
|
#12 |
|
Moderator
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
|
|
|
|
|
|
#13 |
|
Junior Member
|
Hi just install ia32Libs then all should work fine .
|
|
|
|
|
|
#14 |
|
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 |
|
|
|
|
|
#15 |
|
Junior Member
Join Date: Oct 2007
Posts: 2
|
I have same problem on my Centos 4.4 64Bit OS.
|
|
|
|
|
|
#16 |
|
Moderator
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. |
|
|
|
|
|
#17 |
|
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 |
|
|
|
|
|
#18 |
|
Junior Member
|
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. |
|
|
|
|
|
#19 |
|
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 # |
|
|
|
|
|
#20 |
|
Moderator
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
|
|
|
|
|
|
#21 | |
|
Member
Join Date: Mar 2007
Posts: 54
|
Thanks, I already gone mad
For Ubuntu:Quote:
|
|
|
|
|
|
|
#22 |
|
Junior Member
|
now it works for me too
installed ia32libs on my ubuntu 10.10 64-bit
|
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|