Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Mar 2018 09:09:11 +0100
From:      Gary Jennejohn <gljennjohn@gmail.com>
To:        Georg Bege <georg@bege.email>
Cc:        freebsd-amd64@freebsd.org
Subject:   Re: Linux compat / changing compat path
Message-ID:  <20180321090911.4d1059c2@ernst.home>
In-Reply-To: <fd061767-0b5b-d8f4-6c90-5ae6ff500ef9@bege.email>
References:  <fd061767-0b5b-d8f4-6c90-5ae6ff500ef9@bege.email>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 20 Mar 2018 21:21:52 +0100
Georg Bege <georg@bege.email> wrote:

> Hello users,
> 
> Im not sure if this is actually the right mailing list for my question.
> I was looking for something non-amd64 related - but somehow I didnt find that the other topics would be a better match too.
> 
> Im looking for a way to change the `default` linux compatibility userspace path /compat/linux to something else.
> Basically right now, I've different jails (also Linux ones) where I keep software which is not compatible with my main system.
> 
> Also the pkg available linux-c* packages cant suit every thing I need, so I'd like to run programs I've installed (or compiled) from my jails.
> It works if I change the above mentioned path with a symlink... however this is very unflexible.
> What would be good is if I could change it per environment - is there a way? Any environment variable perhaps?
> (And no LD_LIBRARY_PATH isnt cutting it in any cases)
> 

emulation would be the correct mailing list.

This is defined in /usr/ports/Mk/bsd.port.mk as
	LINUXBASE?=             /compat/linux
so theoretically it could be overridden in /etc/make.conf.

But you would have to recompile all your Linux ports.

-- 
Gary Jennejohn



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20180321090911.4d1059c2>