From owner-freebsd-questions@FreeBSD.ORG Thu Oct 21 21:54:31 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 855C3106566C for ; Thu, 21 Oct 2010 21:54:31 +0000 (UTC) (envelope-from joe@netmusician.org) Received: from mail.netmusician.org (dorian.netmusician.org [66.244.95.101]) by mx1.freebsd.org (Postfix) with ESMTP id 533D98FC22 for ; Thu, 21 Oct 2010 21:54:30 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netmusician.org (Postfix) with ESMTP id 31F13B87E; Thu, 21 Oct 2010 17:54:29 -0400 (EDT) X-Virus-Scanned: amavisd-new at netmusician.org Received: from mail.netmusician.org ([127.0.0.1]) by localhost (dorian.netmusician.org [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id bF1T3aC4sFpc; Thu, 21 Oct 2010 17:54:29 -0400 (EDT) Received: from Shakti.local (c-98-223-185-224.hsd1.in.comcast.net [98.223.185.224]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.netmusician.org (Postfix) with ESMTPSA id 147EEB879; Thu, 21 Oct 2010 17:54:29 -0400 (EDT) Message-ID: <4CC0B692.2070002@netmusician.org> Date: Thu, 21 Oct 2010 17:54:26 -0400 From: Joe Auty User-Agent: Postbox 2.0.1 (Macintosh/20101011) MIME-Version: 1.0 To: Dan Nelson References: <4CC079D4.5070309@netmusician.org> <20101021174358.GE5644@dan.emsphone.com> In-Reply-To: <20101021174358.GE5644@dan.emsphone.com> X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 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 21:54:31 -0000 Dan Nelson wrote: > 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). > Nope, there was never a 32 -> 64 bit migration or vice versa. However, doing a: file /usr/local/lib/compat/pkg/libcrypt.so.4 indicated that several of these libraries in compat/pkg were i386 rather than amd64. -- Joe Auty, NetMusician NetMusician helps musicians, bands and artists create beautiful, professional, custom designed, career-essential websites that are easy to maintain and to integrate with popular social networks. www.netmusician.org joe@netmusician.org