From owner-freebsd-emulation@FreeBSD.ORG Tue Oct 24 08:46:28 2006 Return-Path: X-Original-To: freebsd-emulation@FreeBSD.org Delivered-To: freebsd-emulation@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 61D9016A407 for ; Tue, 24 Oct 2006 08:46:28 +0000 (UTC) (envelope-from Alexander@Leidinger.net) Received: from www.ebusiness-leidinger.de (jojo.ms-net.de [84.16.236.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id 925C943D46 for ; Tue, 24 Oct 2006 08:46:24 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from Andro-Beta.Leidinger.net (p54A5F5ED.dip.t-dialin.net [84.165.245.237]) (authenticated bits=0) by www.ebusiness-leidinger.de (8.13.6/8.13.6) with ESMTP id k9O8fYeO006351; Tue, 24 Oct 2006 10:41:35 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from localhost (webmail.Leidinger.net [192.168.1.102]) by Andro-Beta.Leidinger.net (8.13.4/8.13.4) with ESMTP id k9O8kJ0g068571; Tue, 24 Oct 2006 10:46:19 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from pslux.cec.eu.int (pslux.cec.eu.int [158.169.9.14]) by webmail.leidinger.net (Horde MIME library) with HTTP; Tue, 24 Oct 2006 10:46:19 +0200 Message-ID: <20061024104619.1kpwuemv44w0k8go@webmail.leidinger.net> X-Priority: 3 (Normal) Date: Tue, 24 Oct 2006 10:46:19 +0200 From: Alexander Leidinger To: Buki References: <20061024082352.GG491@dev.null.cz> In-Reply-To: <20061024082352.GG491@dev.null.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.1.3) / FreeBSD-7.0 X-Virus-Scanned: by amavisd-new Cc: freebsd-emulation@FreeBSD.org Subject: Re: linux_base-fc4 problem with rpm 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: Tue, 24 Oct 2006 08:46:28 -0000 Quoting Buki (from Tue, 24 Oct 2006 10:23:53 +0200): > Hi, > > I'm seeing problem running linux 'rpm', as it doesn't have the necessary > library: > > |10:19:11|buki@dev:/home/buki/temp>/compat/linux/bin/rpm > /compat/linux/bin/rpm: error while loading shared libraries: =20 > librpm-4.4.so: cannot open shared object file: No such file or =20 > directory > > packages installed: > > |10:19:02|buki@dev:/home/buki/temp>pkg_info | grep ^linux > linux-expat-1.95.7 Linux/i386 binary port of Expat XML-parsing library > linux-fontconfig-2.2.3_2 Linux/i386 binary of Fontconfig > linux-sun-jdk-1.4.2.10 Sun Java Development Kit 1.4 for Linux > linux-xorg-libs-6.8.2_5 Xorg libraries, linux binaries > linux_base-fc-4_9 Base set of packages needed in Linux mode (for =20 > i386/amd64) > linuxdoc-1.1_1 The Linuxdoc SGML DTD > > Actually, I didn't run into this problem myself as I'm using bsd =20 > version of rpm > with the --root switch, but it should probably be fixed so you don't =20 > need to install > bsd's rpm binary to install linux packages. Or we should remove the rpm binary in the linux base port... I'm not =20 sure which is the better solution. I suggest to make a FreeBSD port for installing a linux package =20 instead of using rpm. Have a look at one of the linux ports, it's not =20 hard. It may take a liitle bit more time than doing it by hand with =20 rpm, but you will safe time when you need to do it later again (for =20 example when we change something in the linux_base port which is =20 incompatible to your package, or when you want to update to a newer =20 linux base port). Bye, Alexander. --=20 To err is human -- but it feels divine. =09=09-- Mae West http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID =3D B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID =3D 72077137