Path: news.cs.au.dk!noatun.mjolner.dk!mail-to-news From: Erik Corry Newsgroups: comp.lang.beta Subject: Re: Beta for Linux on FreeBSD Date: Wed, 25 Oct 2000 15:21:05 +0200 Organization: Posted to comp.lang.beta by a mailtonews script Lines: 35 Sender: lbr@mjolner.dk Approved: mailtonews@cs.au.dk Message-ID: <8t6moe$5ij7g$1@gjallar.cs.au.dk> References: <39F4B134.AC6ED19A@mrquiz.org> NNTP-Posting-Host: bifrost.mjolner.dk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: gjallar.cs.au.dk 972480078 5852400 130.225.8.27 (25 Oct 2000 13:21:18 GMT) X-Complaints-To: usenet@cs.au.dk NNTP-Posting-Date: Wed, 25 Oct 2000 13:21:18 +0000 (UTC) Mailing-List: contact usergroup-help@mjolner.dk; run by ezmlm X-No-Archive: yes Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <39F4B134.AC6ED19A@mrquiz.org>; from dave@mrquiz.org on Mon, Oct 23, 2000 at 09:34:12PM +0000 X-Loop: erik@arbat.com X-Original-Message-ID: <20001025152105.A2660@mjolner.dk> Xref: news.cs.au.dk comp.lang.beta:12621 Hi Dave Simons, > Hello > > I'm very interested in what I've seen of Beta, so I tried the Linux > version out on FreeBSD. > FreeBSD is able to run (99% of) Linux ELF binaries and has a pretty > complete set of linux compatible libraries, so I was hoping to get away > with it. If I compile the hello world program, everything seems to work > ok; but then when I try to run it I get a core dump. Technically, should > it be possible to produce useable Linux binaries with Beta on FreeBSD? We haven't tried BETA on FreeBSD. I suspsect that there is a big difference between: * running Linux binaries on FreeBSD and * linking brand new Linux binaries on FreeBSD If you are feeling adventurous, you can compile programs with 'beta -p'. This will leave the job file in the directory linux/progname..job, and you can have a look at the commands BETA uses to try to link your program. It is likely that something in those commands is wrong on your FreeBSD machine. You can edit them and then restart the job file (it is a shell script) to see if there is any set of options that works. > Linking > /usr/libexec/elf/ld: warning: libc.so.6, needed by > /usr/compat/linux/lib/libdl.so, may conflict with libc.so.4 This is probably the problem -- Erik Corry (sent again because I forgot to CC the newsgroup)