From owner-freebsd-emulation@FreeBSD.ORG Mon Nov 10 03:21:25 2008 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A10E51065674 for ; Mon, 10 Nov 2008 03:21:25 +0000 (UTC) (envelope-from drew@mykitchentable.net) Received: from smtpauth.surewest.net (smtpauth.surewest.net [66.60.130.153]) by mx1.freebsd.org (Postfix) with ESMTP id 708FD8FC1E for ; Mon, 10 Nov 2008 03:21:25 +0000 (UTC) (envelope-from drew@mykitchentable.net) Received: from blacklamb.mykitchentable.net (unknown [69.62.230.77]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtpauth.surewest.net (Postfix) with ESMTP id 727259ABB4; Sun, 9 Nov 2008 19:18:09 -0800 (PST) Received: from [192.168.1.3] (bigdaddy.mykitchentable.net [192.168.1.3]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by blacklamb.mykitchentable.net (Postfix) with ESMTPSA id CEB31164CDB; Sun, 9 Nov 2008 19:21:22 -0800 (PST) Message-ID: <4917A8AB.9030303@mykitchentable.net> Date: Sun, 09 Nov 2008 19:21:15 -0800 From: Drew Tomlinson User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Roman Divacky References: <49174AF8.50201@mykitchentable.net> <20081109212943.GA6625@freebsd.org> In-Reply-To: <20081109212943.GA6625@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-emulation@freebsd.org Subject: Re: Trouble With Linux Compatibility X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Nov 2008 03:21:25 -0000 Roman Divacky wrote: > On Sun, Nov 09, 2008 at 12:41:28PM -0800, Drew Tomlinson wrote: > >> I have never used linux compatibility before. I followed the >> instructions from the handbook and have the linux kernel module loaded, >> a procfs filesystem mounted, and linux_base-fc4 and additional libraries >> installed. >> >> urchin# kldstat >> Id Refs Address Size Name >> 1 11 0xffffffff80100000 6a85c8 kernel >> 2 1 0xffffffff807a9000 20220 geom_mirror.ko >> 3 2 0xffffffffb04b7000 17b8a linux.ko >> 4 1 0xffffffffb051f000 3457 linprocfs.ko >> >> urchin# df -h >> Filesystem Size Used Avail Capacity Mounted on >> /dev/mirror/gm0s1a 496M 243M 213M 53% / >> devfs 1.0K 1.0K 0B 100% /dev >> /dev/mirror/gm0s1d 224G 7.7G 198G 4% /usr >> linprocfs 4.0K 4.0K 0B 100% /usr/compat/linux/proc >> >> urchin# portversion -v | grep linux >> linux-expat = up-to-date with port >> linux-fontconfig = up-to-date with port >> linux-glib2 = up-to-date with port >> linux-openmotif = up-to-date with port >> linux-xorg-libs = up-to-date with port >> linux_base-fc4 = up-to-date with port >> >> I am trying to install a linux rpm of Legato Networker Backup Client. >> However I get these errors: >> >> urchin# rpm -i --dbpath /var/lib/rpm --root /compat/linux --test >> lgtoclnt-7.3.4-1.i686.rpm >> error: failed dependencies: >> > > I suggest you chroot into the linuxulator first.... > Thank you for your reply. However I do not understand what to do. If I chroot into /compat/linux, then I lose the ability to run rpm because it is not in my path and I can't access from chroot environment. I read the Handbook section again. I don't find any mention of chroot. I have also been reading the following two guides in an effort to figure this out. http://www.onlamp.com/pub/a/bsd/2006/01/12/Big_Scary_Daemons.html?page=1 http://www.linux.com/articles/53055 The O'Reilly article doesn't mention chroot. The linux.com article makes mention of it as optional to run linux binaries already installed. However I don't have any installed. Is there some linux rpm port I need to install? I'm having a tough time grasping the concepts. Help!?! Thanks, Drew -- Be a Great Magician! Visit The Alchemist's Warehouse http://www.alchemistswarehouse.com