From owner-freebsd-questions@FreeBSD.ORG Tue May 13 14:33:14 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 2D8381065675 for ; Tue, 13 May 2008 14:33:14 +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 C514D8FC1A for ; Tue, 13 May 2008 14:33:13 +0000 (UTC) (envelope-from glyn@millingtons.org) X-IronPort-AV: E=Sophos;i="4.27,479,1204502400"; d="scan'208";a="42966434" Received: from unknown (HELO glynthebearded.millingtons.org) ([82.152.120.109]) by pluto.karoo.kcom.com with ESMTP; 13 May 2008 15:33:12 +0100 Received: by glynthebearded.millingtons.org (Postfix, from userid 1001) id EE0C422981; Tue, 13 May 2008 15:34:11 +0100 (BST) To: Tijl Coosemans References: <86tzh2oc1t.fsf@nowhere.org> <200805131605.37330.tijl@ulyssis.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 15:34:11 +0100 In-Reply-To: <200805131605.37330.tijl@ulyssis.org> (Tijl Coosemans's message of "Tue\, 13 May 2008 16\:05\:36 +0200") Message-ID: <86fxsmgtng.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 14:33:14 -0000 Tijl Coosemans writes: > On Tuesday 13 May 2008 10:14:54 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? > > If /compat/linux/usr/local doesn't exist, perhaps making it a symlink > to X11R6 does the trick. Spot on!! Many thanks :-) What I don't understand is why that works, when /compat/linux/etc/ld.so.conf points at the right place in the very first line! ,---- | include ld.so.conf.d/*.conf | /lib | /usr/lib | /usr/local/lib `---- The only .conf file in ld.so.conf.d is xorg-x11-i386.conf which contains the line /usr/X11R6/lib Is ldconfig ignoring the first line? I'm grateful but puzzled - thanks again :-) atb Glyn