From owner-freebsd-questions@FreeBSD.ORG Tue Apr 7 17:41:33 2009 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B8B821065670 for ; Tue, 7 Apr 2009 17:41:33 +0000 (UTC) (envelope-from david+dated+1239557310.086b03@skytracker.ca) Received: from 3s1.com (3s1.com [209.161.205.12]) by mx1.freebsd.org (Postfix) with ESMTP id 3FA148FC1D for ; Tue, 7 Apr 2009 17:41:33 +0000 (UTC) (envelope-from david+dated+1239557310.086b03@skytracker.ca) Received: from 3s1.com (localhost [127.0.0.1]) by 3s1.com (8.13.8/8.13.8) with ESMTP id n37HSUgY016725 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 7 Apr 2009 13:28:34 -0400 (EDT) (envelope-from david+dated+1239557310.086b03@skytracker.ca) Received: (from david@localhost) by 3s1.com (8.13.8/8.14.1/Submit) id n37HSUJ4016722 for questions@freebsd.org; Tue, 7 Apr 2009 13:28:30 -0400 (EDT) (envelope-from david+dated+1239557310.086b03@skytracker.ca) X-Authentication-Warning: 3s1.com: david set sender to david+dated+1239557310.086b03@skytracker.ca using -f Received: from [192.168.1.20] (twenty [192.168.1.20]) by 3s1.com (tmda-ofmipd) with ESMTP; Tue, 07 Apr 2009 13:28:19 -0400 Message-ID: <49DB8D36.7040605@skytracker.ca> Date: Tue, 07 Apr 2009 13:28:22 -0400 User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: Boris Samorodov References: <20090407161830.GA92526@skytracker.ca> <46603826@bb.ipt.ru> In-Reply-To: <46603826@bb.ipt.ru> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Delivery-Agent: TMDA/1.1.12 (Macallan) From: David Banning X-Virus-Scanned: ClamAV 0.94.2/9211/Tue Apr 7 10:57:29 2009 on 3s1.com X-Virus-Status: Clean X-Spam-Status: No, score=-1.4 required=5.0 tests=ALL_TRUSTED autolearn=failed version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on 3s1.com Cc: David Banning , questions@freebsd.org Subject: Re: libc.so.6: ELF file OS ABI invalid 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: Tue, 07 Apr 2009 17:41:34 -0000 Boris Samorodov wrote: > On Tue, 7 Apr 2009 12:18:30 -0400 David Banning wrote: > > >> I get this error when I attempt to run acroread8; >> > > >> /compat/linux/bin/sh: error while loading shared libraries: /usr/local/lib/libc.so.6: ELF file OS ABI invalid >> > > >> I get the impression maybe acroread is attempting run a linux binary >> using a freebsd library - but I am not sure if this is so, or how to fix >> it. Any pointers would be appreciated. >> > > If you install it from ports/packages that definitely shouldn't happen. > Do you have some non-default environment like LD_LIBRARY_PATH? > You may use ktrace/kdump to diagnose the problem. > ktrace/kdump appear to show an attempted access of libc.so.6 first from /usr/lib and then from /usr/lib/compat as well as some other lib directories. There is not such a file in any of those directories. I have attempted to run ldconfig -R to rescan the directory and rebuild the hints file, but I am going astray here... the linux version of libc.so.6 -is- located in /usr/compat/linux/lib where is does not appear to look.