From owner-freebsd-emulation@FreeBSD.ORG Tue Oct 18 18:32:30 2005 Return-Path: X-Original-To: emulation@freebsd.org Delivered-To: freebsd-emulation@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B891216A41F for ; Tue, 18 Oct 2005 18:32:30 +0000 (GMT) (envelope-from oberman@es.net) Received: from postal4.es.net (postal4.es.net [198.124.252.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 654E743D45 for ; Tue, 18 Oct 2005 18:32:30 +0000 (GMT) (envelope-from oberman@es.net) Received: from ptavv.es.net ([198.128.4.29]) by postal4.es.net (Postal Node 4) with ESMTP (SSL) id IBA74465; Tue, 18 Oct 2005 11:32:25 -0700 Received: from ptavv (localhost [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id 44D895D09; Tue, 18 Oct 2005 11:32:25 -0700 (PDT) To: Andrew Elmore In-reply-to: Your message of "Tue, 18 Oct 2005 10:41:00 PDT." <20051018174059.GC32195@interwoven.com> Date: Tue, 18 Oct 2005 11:32:25 -0700 From: "Kevin Oberman" Message-Id: <20051018183225.44D895D09@ptavv.es.net> Cc: emulation@freebsd.org Subject: Re: ELF file OS ABI invalid error X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Oct 2005 18:32:30 -0000 > Date: Tue, 18 Oct 2005 10:41:00 -0700 > From: Andrew Elmore > > On Tue, Oct 18, 2005 at 09:48:35AM -0700, Kevin Oberman wrote: > > Now when I try to run it, I get the error: > > /usr/compat/linux/bin/CorporateTime//Ctime: error while loading shared libraries: /usr/compat/linux/bin/CorporateTime/libctvcal.so: ELF file OS ABI invalid > > Exit 127 > > > > Any idea on what I might need to do? Am I doing something wrong or is it > > a bug that I should submit a PR for? > > You might need to investigate the brandelf command. I remember needing > to run this command against linux binaries when upgrading to 5.x. > > Something like: > brandelf -t Linux /usr/compat/linux/bin/CorporateTime/libctvcal.so Thanks, but I had already tried that. It makes no difference. The file was originally marked as SVR4 and that works elsewhere, but not on this system. It fails as either SVR4 to Linux. :-( It seems like something is broken in the Linux emulation on that system but not on my other systems. -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634