From owner-freebsd-arch@FreeBSD.ORG Thu Sep 5 07:44:15 2013 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id AC3FDE91 for ; Thu, 5 Sep 2013 07:44:15 +0000 (UTC) (envelope-from des@des.no) Received: from smtp.des.no (smtp.des.no [194.63.250.102]) by mx1.freebsd.org (Postfix) with ESMTP id 704C323BD for ; Thu, 5 Sep 2013 07:44:15 +0000 (UTC) Received: from nine.des.no (smtp.des.no [194.63.250.102]) by smtp-int.des.no (Postfix) with ESMTP id 5925A4831; Thu, 5 Sep 2013 07:44:14 +0000 (UTC) Received: by nine.des.no (Postfix, from userid 1001) id 441BC33CE1; Thu, 5 Sep 2013 09:44:16 +0200 (CEST) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Konstantin Belousov Subject: Re: /usr/lib/private References: <86zjrut4an.fsf@nine.des.no> <20130905023703.GN41229@kib.kiev.ua> Date: Thu, 05 Sep 2013 09:44:16 +0200 In-Reply-To: <20130905023703.GN41229@kib.kiev.ua> (Konstantin Belousov's message of "Thu, 5 Sep 2013 05:37:03 +0300") Message-ID: <86d2onr9v3.fsf@nine.des.no> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-arch@freebsd.org X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Sep 2013 07:44:15 -0000 Konstantin Belousov writes: > You could consider using the $PLATFORM token in the rpath, so that > you use /usr/lib/private- as the installation target. Hmm, why? 32-bit versions are installed in /usr/lib32/private, which is fine in most cases except that you can't - for instance - run a 32-bit version of the base ssh or sshd on a 64-bit machine, because it won't find libssh. However, a PAMified application will find the correct libpam (in /usr/lib32) and the 32-bit libpam knows that the 32-bit modules are in /usr/lib32/private, so that will work. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no