From owner-freebsd-questions Wed Jul 24 21: 2:30 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CFC2B37B400 for ; Wed, 24 Jul 2002 21:02:25 -0700 (PDT) Received: from dsl-146-127.resnet.purdue.edu (dsl-146-127.resnet.purdue.edu [128.211.146.127]) by mx1.FreeBSD.org (Postfix) with ESMTP id C3B2E43E72 for ; Wed, 24 Jul 2002 21:02:07 -0700 (PDT) (envelope-from dedrick@dsl-146-127.resnet.purdue.edu) Received: from dsl-146-127.resnet.purdue.edu (localhost [127.0.0.1]) by dsl-146-127.resnet.purdue.edu (8.12.5/8.12.5) with ESMTP id g6P42Jb5027166; Wed, 24 Jul 2002 23:02:19 -0500 (EST) (envelope-from dedrick@dsl-146-127.resnet.purdue.edu) Received: from localhost (dedrick@localhost) by dsl-146-127.resnet.purdue.edu (8.12.5/8.12.5/Submit) with ESMTP id g6P42Ifk027163; Wed, 24 Jul 2002 23:02:18 -0500 (EST) Date: Wed, 24 Jul 2002 23:02:17 -0500 (EST) From: Eric Dedrick To: Dan Nelson Cc: Adam Weinberger , Subject: Re: linux compatability broken In-Reply-To: <20020725032456.GC68693@dan.emsphone.com> Message-ID: <20020724225105.L21520-100000@dsl-146-127.resnet.purdue.edu> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Okay, we got it. I had to run linux_base-6 and *not* any type of linux_base (7.1) whatsoever. Since it would appear that running linux_base-6 and linux_base(7.1) are mutually exclusive (after all, they run non-compatable versions of glibc), here's a question: I have some software I can't upgrade (proprietary) that requires linux_base-6. If I install linux software from the ports, is it going to require linux_base 7.1? Here was the hangup: In order to install linux_base-6, svr4.ko had to be unloaded from the kernel. Once linux_base-6 was installed, svr4.ko could be loaded again and things still worked just fine. At least that's what I think the solution was. At any rate, I can run my linux binaries now, though I am still somewhat dis-satisfied. Why do things break under 7.1 and not 6? Again, thanks for the help guys. On Wed, 24 Jul 2002, Dan Nelson wrote: > In the last episode (Jul 24), Eric Dedrick said: > > > Getting a bit better, but now it looks like it thinks the binary is a > > > native BSD one instead of Linux. If you run "file > > > /usr/local/opera/lib/opera/5.05_tp1/opera-static", what does it print? > > > > $ file /usr/local/opera/lib/opera/5.05_tp1/opera-static > > /usr/local/opera/lib/opera/5.05_tp1/opera-static: ELF 32-bit LSB > > executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared > > libs), stripped > > Try running "brandelf -t Linux /usr/local/opera/lib/opera/5.05_tp1/opera-static" > and see what happens, or sysctl kern.fallback_elf_brand=3 > > -- > Dan Nelson > dnelson@allantgroup.com > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message