Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 May 2008 13:05:43 +0100
From:      Glyn Millington <glyn@millingtons.org>
To:        Kris Kennaway <kris@FreeBSD.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Linux compat library error:  ELF file OS ABI invalid
Message-ID:  <864p92o1d4.fsf@nowhere.org>
In-Reply-To: <482958E2.5050207@FreeBSD.org> (Kris Kennaway's message of "Tue\, 13 May 2008 11\:01\:22 %2B0200")
References:  <86tzh2oc1t.fsf@nowhere.org> <48295334.2050308@FreeBSD.org> <86fxsmoaeb.fsf@nowhere.org> <482958E2.5050207@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Kris Kennaway <kris@FreeBSD.org> writes:

> Glyn Millington wrote:
>> Kris Kennaway <kris@FreeBSD.org> writes:
>>
>>> Glyn Millington wrote:
>>>> FreeBSD 7.0 release, ports currently up-to-date
>>>> Trying to launch Linux Open Office 2.4 I get the following error message
>>>> ,----
>>>> | /usr/compat/linux/opt/openoffice.org2.4/program/soffice.bin: error while
>>>> | loading shared libraries: /usr/local/lib/libXext.so.6: ELF file OS ABI
>>>> | invalid
>>>> `----
>>>> Now I *think*   that what it ought to load is 
>>>>
>>>> /usr/compat/linux/usr/X11R6/lib/libXext.so.6
>>>> but it goes for the FreeBSD X extension lib instead.

>>> kldload linux
>>> or build it into your kernel.
>>
>> Thanks Kris - trouble is its already there!
>>
> No, that is not necessary.  Next thing to check is that /usr/X11R6 is
> before /usr/local in your linux ldconfig search path.


Yes, it is right where it should be

$cat /usr/compat/linux/etc/ld.so.conf

include ld.so.conf.d/*.conf
/lib
/usr/lib
/usr/local/lib


that include statement leads to /usr/X11R6

many thanks


atb

Glyn



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