From owner-freebsd-amd64@FreeBSD.ORG Tue Sep 4 19:12:55 2012 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C67FF106564A; Tue, 4 Sep 2012 19:12:55 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from bigwig.baldwin.cx (bigknife-pt.tunnel.tserv9.chi1.ipv6.he.net [IPv6:2001:470:1f10:75::2]) by mx1.freebsd.org (Postfix) with ESMTP id 9D0198FC12; Tue, 4 Sep 2012 19:12:55 +0000 (UTC) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 05B98B96E; Tue, 4 Sep 2012 15:12:55 -0400 (EDT) From: John Baldwin To: freebsd-amd64@freebsd.org, Konstantin Belousov Date: Tue, 4 Sep 2012 11:05:12 -0400 User-Agent: KMail/1.13.5 (FreeBSD/8.2-CBSD-20110714-p17; KDE/4.5.5; amd64; ; ) References: <201209031230.q83CUJkn069741@freefall.freebsd.org> In-Reply-To: <201209031230.q83CUJkn069741@freefall.freebsd.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201209041105.12409.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Tue, 04 Sep 2012 15:12:55 -0400 (EDT) Cc: ambrisko@freebsd.org Subject: Re: amd64/171250: ldd32 cannot find some i386 libraries X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Sep 2012 19:12:55 -0000 > On the other hand, I do not know what to do with non-default pathes, > that is /usr/local/lib in your case. Please note that some library can > be find there for many reasons, and I cannot imagine a sane way to > translate to 32bit compat path without involving some additional config. Doug Ambrisko has patches to do this that I think are close to reasonable. I believe his current patches allow you to use commands to ldconfig (or lines in libmap.conf) to map specific directories in RPATH to alternate directories. His specific use case is supporting binaries from older OS versions (so having an alternate /usr/local/lib for 6.x binaries for example), but it should solve the 32-bit problem equally well. -- John Baldwin