From owner-freebsd-amd64@freebsd.org Wed Mar 21 08:09:19 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 C78E6F51EF7 for ; Wed, 21 Mar 2018 08:09:19 +0000 (UTC) (envelope-from gljennjohn@gmail.com) Received: from mail-wr0-x232.google.com (mail-wr0-x232.google.com [IPv6:2a00:1450:400c:c0c::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 404BB8209F for ; Wed, 21 Mar 2018 08:09:19 +0000 (UTC) (envelope-from gljennjohn@gmail.com) Received: by mail-wr0-x232.google.com with SMTP id l8so4200695wrg.5 for ; Wed, 21 Mar 2018 01:09:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:in-reply-to:references:reply-to :mime-version:content-transfer-encoding; bh=5wVrTqnSGpccwiwhV/TV7kvlCKgwCwZUY4qU7/10Xcg=; b=JHLEl+HxdnBhvADBgTm6ZK2fg2YrdgXdIDNoZX6BCk2AL8NzuOYKWXWLtxU0iH1exe pf033F7NDd1R8MpnCZ4OaTcYnqr2cU9QkB+yqEpizfdmWM4tuWy20pmKvSvC+bkzMlWz VGyMHSaGK/Oe1JlqkcWtoAD+5ZxMWiDHQq6iUmz2LhM112TbFtwEQbY7VhINCZGeK6pZ vyMi3eGntPoEwhdEV2y0fwkD/ex0A2Y7M7RyLunsUcwfpYcmB0/tR5Hl1pjxHNuBb5+B 8gA4wiVisvK/8tz/hE4Z01gH41g94T+H1MmMujFzwZdKf9c0g1TBB6Lw3OkFwK85p9oJ aXiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:reply-to:mime-version:content-transfer-encoding; bh=5wVrTqnSGpccwiwhV/TV7kvlCKgwCwZUY4qU7/10Xcg=; b=ZFcqP2Ll4ANDVNp+fBtDBfIBzsgT/lAiwzXibLGUu2faUFkEHuWvlKfpQBkmZimVBP hZQZPCtpDYk69J5u3b/gsuCNzRbA04pZcQK2JRNhO3kq3luOFWjKbcTpd/L8F11QdAbt vzYDF3JYCBLg6AoIVuNwOUTxxKBIe0MsO/RWxPTSkSDu/E461mX/QL+Fu8oDFR3G94iv N1pRa9BZnkssDvEaWCgftT8b9Eb2Dt7X4rpD1xxNj8Urit6llgWrvpAZlGApAInnQEhP 9uX8j/Ryp7bPKVCSSSACeNEQw71yUY+19XYasipqoz4LAdTWtRv4hd0UagPxiqgWT/3o wndQ== X-Gm-Message-State: AElRT7FL0JcFD50cg4V0MjWYrM26h41OS20Qpcx/kSfsy4JX2DjzjTLj YMR1Y598Z4V+rd2bukhQIWsQ4g== X-Google-Smtp-Source: AG47ELvkKwGL0RKlUzxv6yAWMa92atH/5zGIHihnlW2gyt1T161hCXjvrGCm24QKRe7oiY+XNk0Z6g== X-Received: by 10.223.161.135 with SMTP id u7mr11207058wru.184.1521619758297; Wed, 21 Mar 2018 01:09:18 -0700 (PDT) Received: from ernst.home (p5B02330E.dip0.t-ipconnect.de. [91.2.51.14]) by smtp.gmail.com with ESMTPSA id v53sm1160890wrc.45.2018.03.21.01.09.16 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 21 Mar 2018 01:09:17 -0700 (PDT) Date: Wed, 21 Mar 2018 09:09:11 +0100 From: Gary Jennejohn To: Georg Bege Cc: freebsd-amd64@freebsd.org Subject: Re: Linux compat / changing compat path Message-ID: <20180321090911.4d1059c2@ernst.home> In-Reply-To: References: Reply-To: gljennjohn@gmail.com X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.31; amd64-portbld-freebsd12.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII 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 08:09:20 -0000 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. -- Gary Jennejohn