ELF file OS ABI invalid error

Alexander Leidinger Alexander at Leidinger.net
Wed Oct 19 01:40:29 PDT 2005


Kevin Oberman <oberman at es.net> wrote:

>> From: Andrew Elmore <aelmore at 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 ...




More information about the freebsd-emulation mailing list