From owner-freebsd-emulation@FreeBSD.ORG Sun Nov 9 21:04:07 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 85DBB1065674 for ; Sun, 9 Nov 2008 21:04:07 +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 73FBA8FC20 for ; Sun, 9 Nov 2008 21:04:07 +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 C573A9BF04 for ; Sun, 9 Nov 2008 12:38:22 -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 6B0C9164CDB for ; Sun, 9 Nov 2008 12:41:35 -0800 (PST) Message-ID: <49174AF8.50201@mykitchentable.net> Date: Sun, 09 Nov 2008 12:41:28 -0800 From: Drew Tomlinson User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: freebsd-emulation@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: 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: Sun, 09 Nov 2008 21:04:07 -0000 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: /bin/sh is needed by lgtoclnt-7.3.4-1 /bin/sh is needed by lgtoclnt-7.3.4-1 /bin/sh is needed by lgtoclnt-7.3.4-1 /bin/sh is needed by lgtoclnt-7.3.4-1 ld-linux.so.2 is needed by lgtoclnt-7.3.4-1 libICE.so.6 is needed by lgtoclnt-7.3.4-1 libSM.so.6 is needed by lgtoclnt-7.3.4-1 libX11.so.6 is needed by lgtoclnt-7.3.4-1 libXext.so.6 is needed by lgtoclnt-7.3.4-1 libXmu.so.6 is needed by lgtoclnt-7.3.4-1 libXt.so.6 is needed by lgtoclnt-7.3.4-1 libc.so.6 is needed by lgtoclnt-7.3.4-1 libdl.so.2 is needed by lgtoclnt-7.3.4-1 libncurses.so.5 is needed by lgtoclnt-7.3.4-1 libpthread.so.0 is needed by lgtoclnt-7.3.4-1 librt.so.1 is needed by lgtoclnt-7.3.4-1 libGL.so.1 is needed by lgtoclnt-7.3.4-1 libXi.so.6 is needed by lgtoclnt-7.3.4-1 libXrender.so.1 is needed by lgtoclnt-7.3.4-1 libm.so.6 is needed by lgtoclnt-7.3.4-1 /bin/ksh is needed by lgtoclnt-7.3.4-1 /bin/sh is needed by lgtoclnt-7.3.4-1 libc.so.6(GLIBC_2.0) is needed by lgtoclnt-7.3.4-1 libc.so.6(GLIBC_2.1) is needed by lgtoclnt-7.3.4-1 libc.so.6(GLIBC_2.1.2) is needed by lgtoclnt-7.3.4-1 libc.so.6(GLIBC_2.1.3) is needed by lgtoclnt-7.3.4-1 libc.so.6(GLIBC_2.2) is needed by lgtoclnt-7.3.4-1 libdl.so.2(GLIBC_2.0) is needed by lgtoclnt-7.3.4-1 libdl.so.2(GLIBC_2.1) is needed by lgtoclnt-7.3.4-1 libm.so.6(GLIBC_2.0) is needed by lgtoclnt-7.3.4-1 libm.so.6(GLIBC_2.1) is needed by lgtoclnt-7.3.4-1 libm.so.6(GLIBC_2.2) is needed by lgtoclnt-7.3.4-1 libpthread.so.0(GLIBC_2.0) is needed by lgtoclnt-7.3.4-1 libpthread.so.0(GLIBC_2.1) is needed by lgtoclnt-7.3.4-1 libpthread.so.0(GLIBC_2.2) is needed by lgtoclnt-7.3.4-1 Because so many dependencies are missing, I suspect I don't have linux compatibility installed properly. For example, libncurses.so.5 is one of the dependencies "missing". However: urchin# find /compat/linux -name libncurses.so.5 /compat/linux/lib/libncurses.so.5 /compat/linux/usr/lib/libncurses.so.5 So what have I missed? Thanks, Drew -- Be a Great Magician! Visit The Alchemist's Warehouse http://www.alchemistswarehouse.com