From owner-freebsd-questions Thu Jul 25 8:58:42 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 28B3337B47C for ; Thu, 25 Jul 2002 08:58:29 -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 4D0D143E5E for ; Thu, 25 Jul 2002 08:58:28 -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 g6PFwvb5081606; Thu, 25 Jul 2002 10:58:57 -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 g6PFwg31081603; Thu, 25 Jul 2002 10:58:42 -0500 (EST) Date: Thu, 25 Jul 2002 10:58:42 -0500 (EST) From: Eric Dedrick To: Jud Cc: Dan Nelson , Adam Weinberger , Subject: Re: linux compatability broken In-Reply-To: Message-ID: <20020725100758.R65802-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 > I changed from 6 to 7.1 when -STABLE did using portupgrade, and > managed not to break anything in the system, including Opera and > Acrobat5. Don't know whether it was just dumb luck, but as a general > cure for running two versions of any port, especially linux_base, I tend > to favor it. Yeah, and were it not for Maple's explicit complaints about wanting ld-linux.so.1 I might be in good shape. As for installing both, I get tons of complaints when installing off the ports because 6 and 7.1 have different versions of glibc and then the ports makefile quits: file /usr/bin/catchsegv from install of glibc-common-2.2.2-10 conflicts with file from package glibc-2.1.2-11 (apparently 6 uses 2.1.2-11 and 7.1 uses 2.1.2-10. Should I change that to 2.1.2-11 in linux_base's makefile?) I just installed netscape-4.79 off the ports. Let's do a little test: So here we have linux_base7.1. $ file /usr/local/lib/netscape-linux/communicator-linux-4.79.bin /usr/local/lib/netscape-linux/communicator-linux-4.79.bin: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), stripped $ netscape communicator-linux-4.79.bin: locale `C' not supported. Perhaps the $XNLSPATH environment variable is not set correctly? No plugin Citrix ICA Client. Reverting to save-to-disk for type application/x-ica. Bus error (core dumped) $ brandelf -t Linux /usr/local/lib/netscape-linux/communicator-linux-4.79.bin $ file /usr/local/lib/netscape-linux/communicator-linux-4.79.bin /usr/local/lib/netscape-linux/communicator-linux-4.79.bin: ELF 32-bit LSB executable, Intel 80386, version 1 (GNU/Linux), dynamically linked (uses shared libs), stripped $ netscape communicator-linux-4.79.bin: locale `C' not supported. Perhaps the $XNLSPATH environment variable is not set correctly? No plugin Citrix ICA Client. Reverting to save-to-disk for type application/x-ica. Bus error (core dumped) # cd /usr/ports/emulators/linux_base; make deinstall ===> Deinstalling for linux_base-7.1 # cd /usr/ports/emulators/linux_base-6; make install (stuff) ===> Registering installation for linux_base-6.1_1 $ netscape No plugin Citrix ICA Client. Reverting to save-to-disk for type application/x-ica. --Executes perfectly. # brandelf -t SVR4 /usr/local/lib/netscape-linux/communicator-linux-4.79.bin $ file /usr/local/lib/netscape-linux/communicator-linux-4.79.bin /usr/local/lib/netscape-linux/communicator-linux-4.79.bin: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), stripped $ netscape No plugin Citrix ICA Client. Reverting to save-to-disk for type application/x-ica. --Executes perfectly. # kldload svr4.ko $ netscape ELF interpreter /compat/svr4/lib/ld-linux.so.2 not found Abort trap # brandelf -t Linux /usr/local/lib/netscape-linux/communicator-linux-4.79.bin $ netscape No plugin Citrix ICA Client. Reverting to save-to-disk for type application/x-ica. --Executes perfectly So it would seem communicator-4.79 is branded svr4 by default from the ports, it will not execute under linux_base7.1 branded as either svr4 or linux. It will run under linux_base6 with either svr4 or linux brands if svr4.ko is unloaded, but must be branded linux if svr4.ko is loaded. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message