From owner-freebsd-amd64@freebsd.org Wed Mar 21 18:39:07 2018 Return-Path: Delivered-To: freebsd-amd64@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9BA99F5BAB6 for ; Wed, 21 Mar 2018 18:39:07 +0000 (UTC) (envelope-from georg@bege.email) Received: from mail.unix.io (mail.unix.io [IPv6:2001:470:1f0b:97d::2]) by mx1.freebsd.org (Postfix) with ESMTP id 35A5B7FA54 for ; Wed, 21 Mar 2018 18:39:07 +0000 (UTC) (envelope-from georg@bege.email) Received: from mail.unix.io (localhost [127.0.0.1]) by mail.unix.io (Postfix) with ESMTP id 8A85F2E9A58; Wed, 21 Mar 2018 19:38:58 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=bege.email; h=reply-to :subject:to:cc:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s= mail141202; bh=Z4cZ/fGzvnF8c+ItRI9X2LMq06Q=; b=BhHSULznaIZb/orO2 17yDV8FICqCIHpc7hip+w/7TmfOoX4DDU7qwMrDbKiUrsbwPalNVCSDZs8J9xxhx Jms8jbi/8qVU3MFDnx7QrsvwKbXsYUGscCLeOtnG44Z9l6DLfYHMNjTmAgBH0nfP 1TWpGTmCmtEnZTbXUPuaRF1Jak= DomainKey-Signature: a=rsa-sha1; c=nofws; d=bege.email; h=reply-to :subject:to:cc:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; q=dns; s= mail141202; b=DM1d28fq3mDshozw80VA2mIJWv28rAcu/IrWgppRSlfsBrtFUL /MpDNqavDaZoQ6mIZpuJl18p+yyCMWsXxX4bzXy5wvv+bVnGuxKcp5ieqq6H/OYu o5ap31CZp9h+tvuHDC5tjJYgpJgUp1HB4Oi8RdQQE8GB0Tq8HwW5WdKBI= Received: from [IPv6:2001:470:1f0b:518:e294:67ff:fee5:ab1e] (lazarus.int.ninth-art.de [IPv6:2001:470:1f0b:518:e294:67ff:fee5:ab1e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.unix.io (Postfix) with ESMTPSA id 697C12E9A1C; Wed, 21 Mar 2018 19:38:58 +0100 (CET) Reply-To: georg@bege.email Subject: Re: Linux compat / changing compat path To: gljennjohn@gmail.com Cc: freebsd-amd64@freebsd.org References: <20180321090911.4d1059c2@ernst.home> From: Georg Bege Message-ID: <52b6bf35-98ed-7196-390b-2c4935946252@bege.email> Date: Wed, 21 Mar 2018 19:38:56 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <20180321090911.4d1059c2@ernst.home> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Mar 2018 18:39:07 -0000 Hello Well this is not exacly what I want, I dont want to recompile stuff. My understanding is that this path is used by the layer as search path for libraries and the whole environment... that is what I want to change... Am 21.03.2018 um 09:09 schrieb Gary Jennejohn: > On Tue, 20 Mar 2018 21:21:52 +0100 > Georg Bege 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. > -- Georg Bege Mail: georg@bege.email XMPP: therion@ninth-art.de IRC: megaTherion @ Freenode