From owner-freebsd-questions@FreeBSD.ORG Tue May 13 08:49:38 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 E4CE5106564A for ; Tue, 13 May 2008 08:49:38 +0000 (UTC) (envelope-from glyn@millingtons.org) Received: from pluto.karoo.kcom.com (pluto.karoo.kcom.com [212.50.160.74]) by mx1.freebsd.org (Postfix) with ESMTP id 560428FC25 for ; Tue, 13 May 2008 08:49:37 +0000 (UTC) (envelope-from glyn@millingtons.org) X-IronPort-AV: E=Sophos;i="4.27,478,1204502400"; d="scan'208";a="42713136" Received: from unknown (HELO glynthebearded.millingtons.org) ([82.152.120.109]) by pluto.karoo.kcom.com with ESMTP; 13 May 2008 09:49:36 +0100 Received: by glynthebearded.millingtons.org (Postfix, from userid 1001) id 7E1C822C09; Tue, 13 May 2008 09:50:36 +0100 (BST) To: Kris Kennaway References: <86tzh2oc1t.fsf@nowhere.org> <48295334.2050308@FreeBSD.org> Organization: Central Church, Torquay, U.K. X-Now-Playing: There's a deathly hush in the close tonight! X-Liturgical-Date: Optional Memorial: Our Lady of Fatima, A.D. 2008 From: Glyn Millington Date: Tue, 13 May 2008 09:50:36 +0100 In-Reply-To: <48295334.2050308@FreeBSD.org> (Kris Kennaway's message of "Tue\, 13 May 2008 10\:37\:08 +0200") Message-ID: <86fxsmoaeb.fsf@nowhere.org> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 Reply-To: glyn@millingtons.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 May 2008 08:49:39 -0000 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? Glyn