>Date: Thu, 10 Mar 2005 16:03:05 +0100
>From: Alexander Leidinger
>Subject: Re: Multiple Simultaneous linux_base
>To: Carl J
>Cc: freebsd-emulation@freebsd.org
>Message-ID: <20050310160305.6kk362lui0os8oks@netchild.homeip.ne t>
>Content-Type: text/plain; charset=ISO-8859-15; format="flowed"
>Carl J 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.

freebsd-emulation@freebsd.org mailing list
To unsubscribe, send any mail to "freebsd-emulation-unsubscribe@freebsd.org"