Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Oct 2005 10:39:59 +0200
From:      Alexander Leidinger <Alexander@Leidinger.net>
To:        Kevin Oberman <oberman@es.net>
Cc:        emulation@freebsd.org
Subject:   Re: ELF file OS ABI invalid error
Message-ID:  <20051019103959.2d9i0c3hw8ss484o@netchild.homeip.net>
In-Reply-To: <20051018183225.44D895D09@ptavv.es.net>
References:  <20051018183225.44D895D09@ptavv.es.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Kevin Oberman <oberman@es.net> wrote:

>> From: Andrew Elmore <aelmore@interwoven.com>
>> 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 <file>".

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 ...





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051019103959.2d9i0c3hw8ss484o>