Date: Tue, 24 Oct 2006 10:46:19 +0200 From: Alexander Leidinger <Alexander@Leidinger.net> To: Buki <dev@null.cz> Cc: freebsd-emulation@FreeBSD.org Subject: Re: linux_base-fc4 problem with rpm Message-ID: <20061024104619.1kpwuemv44w0k8go@webmail.leidinger.net> In-Reply-To: <20061024082352.GG491@dev.null.cz> References: <20061024082352.GG491@dev.null.cz>
next in thread | previous in thread | raw e-mail | index | archive | help
Quoting Buki <dev@null.cz> (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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061024104619.1kpwuemv44w0k8go>