From owner-freebsd-emulation Wed Sep 27 12:10:56 2000 Delivered-To: freebsd-emulation@freebsd.org Received: from eeyore.sebster.com (d5019.dtk.chello.nl [213.46.5.19]) by hub.freebsd.org (Postfix) with SMTP id AA8F237B422 for ; Wed, 27 Sep 2000 12:10:46 -0700 (PDT) Received: (qmail 16736 invoked by uid 1000); 27 Sep 2000 19:10:22 -0000 Date: Wed, 27 Sep 2000 21:10:22 +0200 From: Sebastiaan van Erk To: freebsd-emulation@freeBSD.ORG Subject: Re: Installing additional Linux shared objects (was: Re: xview) Message-ID: <20000927211022.B13249@sebster.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi there! > Moved to -emulation. > > That won't work for a Linux binary, I've come across this problem myself, > is there a way to install a Linux RPM into the /compat/linux "properly" > I mean like the linux_base port does? Well I checked out how linux base does it, and it's like this: rpm --root /usr/compat/linux --ignoreos --install However, the linux_base port also cleaned out /usr/compat/linux/tmp, /usr/compat/linux/var/tmp, /usr/compat/linux/dev, etc., which can cause the installation scripts of your rpm to complain quite loudly and fail anyway. For xview I made temporary versions of these dirs and files (and no, you cannot symlink them because the --root flags does a chroot). It's not nice, so if anyone knows a BETTER way to do this, I'm interested. But xview works. Greetings, Seb* To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message