From owner-freebsd-questions@FreeBSD.ORG Tue May 13 09:01:21 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 812B1106566B for ; Tue, 13 May 2008 09:01:21 +0000 (UTC) (envelope-from kris@FreeBSD.org) Received: from weak.local (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id D56198FC20; Tue, 13 May 2008 09:01:20 +0000 (UTC) (envelope-from kris@FreeBSD.org) Message-ID: <482958E2.5050207@FreeBSD.org> Date: Tue, 13 May 2008 11:01:22 +0200 From: Kris Kennaway User-Agent: Thunderbird 2.0.0.14 (Macintosh/20080421) MIME-Version: 1.0 To: glyn@millingtons.org References: <86tzh2oc1t.fsf@nowhere.org> <48295334.2050308@FreeBSD.org> <86fxsmoaeb.fsf@nowhere.org> In-Reply-To: <86fxsmoaeb.fsf@nowhere.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Linux compat library error: ELF file OS ABI invalid X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 May 2008 09:01:21 -0000 Glyn Millington wrote: > Kris Kennaway 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. >>> >>> Can anyone help me to fix this? >> kldload linux >> >> or build it into your kernel. > > > > Thanks Kris - trouble is its already there! > > glynthebearded# kldload linux > kldload: can't load linux: File exists > > (via rc.conf) > > Is it possible to use libmap.conf to persuade a Linbux binary to use a > Linux library, or is that not the way to go? No, that is not necessary. Next thing to check is that /usr/X11R6 is before /usr/local in your linux ldconfig search path. Kris