Subject: Re: ELF binary compatibility
To: Nigel Reed <nigel@nelgin.nu>
From: Dave Huang <khym@bga.com>
List: current-users
Date: 10/12/2000 15:43:26
On Thu, 12 Oct 2000, Nigel Reed wrote:
> On the Shoutcast website it is listed as
> 
> SHOUTcast FreeBSD 3.x/4.x server v1.7.1
> 
> 
> c643704-b# file sc_serv
> sc_serv: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), dynamicall
> y linked (uses shared libs), stripped
> c643704-b# ./sc_serv
> ./sc_serv: Exec format error. Wrong Architecture.

Do you have the FreeBSD ELF ld-elf.so.1 and shared libraries installed
in your /emul/freebsd/usr/libexec and /emul/freebsd/usr/lib directories?

I think at the minimum, you'll need
/emul/freebsd/usr/libexec/ld-elf.so.1 and
/emul/freebsd/usr/lib/libc_r.so.3

dahan ~/shoutcast-1-7-1-freebsd-elf> ./sc_serv
*******************************************************************************
** SHOUTcast Distributed Network Audio Server
** Copyright (C) 1998-2000 Nullsoft, Inc.  All Rights Reserved.
** Use "sc_serv filename.ini" to specify an ini file.
*******************************************************************************

[ ... ]

(I have no idea if it actually works... I didn't bother configuring it
and trying to connect to it.)
-- 
Name: Dave Huang     |   Mammal, mammal / their names are called /
INet: khym@bga.com   |   they raise a paw / the bat, the cat /
FurryMUCK: Dahan     |   dolphin and dog / koala bear and hog -- TMBG
Dahan: Hani G Y+C 24 Y++ L+++ W- C++ T++ A+ E+ S++ V++ F- Q+++ P+ B+ PA+ PL++