Date: Fri, 11 Mar 2005 14:04:18 -0800 From: Julian Elischer <julian@elischer.org> To: freebsd-emulation@freebsd.org Cc: lexander@Leidinger.net Subject: multiple versions loaded of linux emu. Message-ID: <423215E2.50801@elischer.org> In-Reply-To: <20050311120017.A114B16A4D1@hub.freebsd.org> References: <20050311120017.A114B16A4D1@hub.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
>Date: Thu, 10 Mar 2005 16:03:05 +0100 >From: Alexander Leidinger <Alexander@Leidinger.net> >Subject: Re: Multiple Simultaneous linux_base >To: Carl J <carlj1752@hotmail.com> >Cc: freebsd-emulation@freebsd.org >Message-ID: <20050310160305.6kk362lui0os8oks@netchild.homeip.net> >Content-Type: text/plain; charset=ISO-8859-15; format="flowed" > >Carl J <carlj1752@hotmail.com> wrote: > > > >>Most of my Linux apps need linux_base8, >>but I have a few old apps that need linux_base6. >> >>Is there a way to install both simultaneous (and set up some sort >>of mapping or such, to enable different app to use different base)? >> >> > >No, this isn't possible (except you provide patches fot the kernel which >makes this possible ;-) ). And installing both bases into the same directory >isn't a good idea either, they share some files in different versions. > > this is not entirely true.. As shared libraries are versionned, one can make sure that the libraries needed by programs that want older versions are satisfied in their library requests by installing older versions of the linux emulation first and working forward towards the latest one. It may be worth making an linux-old-libs port that effectively contains just the older revisions of libraries so that programs that require them can still run. >But you can install v6, rename /compat/linux to /compat/linux6, remove >/var/db/pkg/linux_base-6*, install the v8 linux base, copy the files which >the old apps need to /compat/linux/ and remove /compat/linux6. This way you >can use both kind of apps, but you have files installed, which aren't >registered in the package database. > >Another possibility to remove the conflicts line from the linux_base ports, >install one, mv it to another name as above, install the other one, move it >to another name too, and create a symlink from the version you want to use >to /compat/linux. This way you can change the symlink to an appropriate >"value" when you start a program. But you shouldn't run programs with >different linux base dependencies at the same time. > >Bye, >Alexander. > > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?423215E2.50801>
