Date: Sun, 09 Nov 2008 19:21:15 -0800 From: Drew Tomlinson <drew@mykitchentable.net> To: Roman Divacky <rdivacky@freebsd.org> Cc: freebsd-emulation@freebsd.org Subject: Re: Trouble With Linux Compatibility Message-ID: <4917A8AB.9030303@mykitchentable.net> In-Reply-To: <20081109212943.GA6625@freebsd.org> References: <49174AF8.50201@mykitchentable.net> <20081109212943.GA6625@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4917A8AB.9030303>