From owner-freebsd-emulation@FreeBSD.ORG Wed Oct 19 08:40:29 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 312BE16A41F for ; Wed, 19 Oct 2005 08:40:29 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from www.ebusiness-leidinger.de (jojo.ms-net.de [84.16.236.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7C09643D48 for ; Wed, 19 Oct 2005 08:40:28 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from Andro-Beta.Leidinger.net (p54A5D049.dip.t-dialin.net [84.165.208.73]) (authenticated bits=0) by www.ebusiness-leidinger.de (8.13.1/8.13.1) with ESMTP id j9J8Ls9B072102; Wed, 19 Oct 2005 10:21:57 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from localhost (localhost [127.0.0.1]) by Andro-Beta.Leidinger.net (8.13.3/8.13.3) with ESMTP id j9J8dxmu020132; Wed, 19 Oct 2005 10:39:59 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from pslux.cec.eu.int (pslux.cec.eu.int [158.169.9.14]) by netchild.homeip.net (Horde MIME library) with HTTP; Wed, 19 Oct 2005 10:39:59 +0200 Message-ID: <20051019103959.2d9i0c3hw8ss484o@netchild.homeip.net> X-Priority: 3 (Normal) Date: Wed, 19 Oct 2005 10:39:59 +0200 From: Alexander Leidinger To: Kevin Oberman References: <20051018183225.44D895D09@ptavv.es.net> In-Reply-To: <20051018183225.44D895D09@ptavv.es.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.0.3) / FreeBSD-4.11 X-Virus-Scanned: by amavisd-new 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: Wed, 19 Oct 2005 08:40:29 -0000 Kevin Oberman wrote: >> 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 >> 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. :-( The branding of all libs (and plug-ins) has to be the same as the branding of the binary which loads it (ideally "Linux" in this case). Please compare them with "brandelf ". In case you had the CorporateTime stuff installed before you (re)installed the linux_base-8 stuff, some files of CorporateFile may have been branded by the linux_base-8 port (ideally a linux_base port is installed only once, and before every other linux port, for several reasons; it should only cause problems in edge-cases if it's reinstalled...). Bye, Alexander. -- http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 Leona, I want to CONFESS things to you ... I want to WRAP you in a SCARLET ROBE trimmed with POLYVINYL CHLORIDE ... I want to EMPTY your ASHTRAYS ...