Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 May 2008 10:24:45 +0100
From:      Glyn Millington <glyn@millingtons.org>
To:        Kris Kennaway <kris@FreeBSD.org>
Cc:        Mel <fbsd.questions@rachie.is-a-geek.net>, freebsd-questions@freebsd.org
Subject:   Re: Linux compat library error:  ELF file OS ABI invalid
Message-ID:  <863aol8cgy.fsf@nowhere.org>
In-Reply-To: <482A9C2A.1000705@FreeBSD.org> (Kris Kennaway's message of "Wed\, 14 May 2008 10\:00\:42 %2B0200")
References:  <86tzh2oc1t.fsf@nowhere.org> <200805131515.40832.fbsd.questions@rachie.is-a-geek.net> <8663tiiab9.fsf@nowhere.org> <200805131630.03511.fbsd.questions@rachie.is-a-geek.net> <4829BFC9.5010901@FreeBSD.org> <86wsly6r7j.fsf@nowhere.org> <482A9C2A.1000705@FreeBSD.org>

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

>> Sorry Kris, I was in part plain wrong in my first reply to this one.
>>
>> Linking /compat/linux/usr/X11R6 to /compat/linux/usr/local fixed my
>> initial problem
>>
>>
>>>>>>>>>>> | /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
>>
>> What I still don't get is why ldconfig doesn't find the the X11R6
>> directory, when /compat/linux/etc/ld.so.conf point at it
>>
>>
>> include ld.so.conf.d/*.conf
>> /lib
>> /usr/lib
>> /usr/local/lib
>>
>> it seems to be ignoring the first line.
>>
>> Either there is a real problem here or the real problem is my ignorance,
>> and I'm not sure which it is!
>
> You re-ran the ldconfig command that rescans the specified directory
> to rebuild its cache, right? :)

Well - the problem was my own blindness.  There was a LD_LIBRARY variable
in .bashrc which seems to have messed up the linux path stuff. Get rid of
that, run the ldconfig just to be sure, and all works as it should.  I
had *completely* forgotten it was there - have just moved to FreeBSD from
Linux, after three years of dithering!, and had not removed that line
when I brought my .bashrc with me.

Sorry for the noise, and *many* thanks for all the help - as always I've
learned some useful things.


atb



Glyn



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