From owner-freebsd-questions@FreeBSD.ORG Thu Oct 21 17:44:01 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 541FE106564A for ; Thu, 21 Oct 2010 17:44:01 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from email2.allantgroup.com (email2.emsphone.com [199.67.51.116]) by mx1.freebsd.org (Postfix) with ESMTP id 18A688FC16 for ; Thu, 21 Oct 2010 17:44:00 +0000 (UTC) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by email2.allantgroup.com (8.14.4/8.14.4) with ESMTP id o9LHhxFA043713 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 21 Oct 2010 12:43:59 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (smmsp@localhost [127.0.0.1]) by dan.emsphone.com (8.14.4/8.14.4) with ESMTP id o9LHhwUn084341 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 21 Oct 2010 12:43:58 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.4/8.14.4/Submit) id o9LHhwJc084340; Thu, 21 Oct 2010 12:43:58 -0500 (CDT) (envelope-from dan) Date: Thu, 21 Oct 2010 12:43:58 -0500 From: Dan Nelson To: Joe Auty Message-ID: <20101021174358.GE5644@dan.emsphone.com> References: <4CC079D4.5070309@netmusician.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4CC079D4.5070309@netmusician.org> X-OS: FreeBSD 8.1-STABLE User-Agent: Mutt/1.5.21 (2010-09-15) X-Virus-Scanned: clamav-milter 0.96.3 at email2.allantgroup.com X-Virus-Status: Clean X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.6 (email2.allantgroup.com [199.67.51.78]); Thu, 21 Oct 2010 12:43:59 -0500 (CDT) X-Scanned-By: MIMEDefang 2.68 on 199.67.51.78 Cc: freebsd-questions@freebsd.org Subject: Re: /usr/local/lib/compat and /usr/local/lib/compat/pkg X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Oct 2010 17:44:01 -0000 In the last episode (Oct 21), Joe Auty said: > The other night I spent some frustrating time discovering that after > updating from 7.2 to 8.1, for some reason some of the libraries in > /usr/local/lib/compat/pkg were 32 bit on my 64 bit system which was > causing several of my binaries to generate "unsupported filesystem > layout" errors. I ended up copying the ones from /usr/local/lib/compat > into /usr/local/lib/compat/pkg which seemed to fix the problem. Did you also do a 32-> 64-bit migration at some point? You probably should have moved everything in /usr/local/lib/compat to /usr/local/lib32 then to avoid problems. 32-bit apps shouldn't look for their shlibs in /usr/local/lib on a 64-bit system. You can manually move any remaining ones by using the "file" command to identify 32-bit files, then moving them (or removing them if you have no 32-bit apps anymore). -- Dan Nelson dnelson@allantgroup.com