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...ns.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

_______________________________________________
freebsd-emulation@freebsd.org mailing list
http://lists.freebsd.org/mailman/lis...ebsd-emulation
To unsubscribe, send any mail to "freebsd-emulation-unsubscribe@freebsd.org"