From owner-freebsd-questions@FreeBSD.ORG Tue May 13 13:48:00 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 CE91C106567F; Tue, 13 May 2008 13:48:00 +0000 (UTC) (envelope-from glyn@millingtons.org) Received: from mercury.karoo.kcom.com (mercury.karoo.kcom.com [212.50.160.61]) by mx1.freebsd.org (Postfix) with ESMTP id 47C4A8FC1C; Tue, 13 May 2008 13:48:00 +0000 (UTC) (envelope-from glyn@millingtons.org) X-IronPort-AV: E=Sophos;i="4.27,479,1204502400"; d="scan'208";a="314419775" Received: from unknown (HELO glynthebearded.millingtons.org) ([82.152.120.109]) by mercury.karoo.kcom.com with ESMTP; 13 May 2008 14:47:44 +0100 Received: by glynthebearded.millingtons.org (Postfix, from userid 1001) id 4AE4D22860; Tue, 13 May 2008 14:48:58 +0100 (BST) To: Mel References: <86tzh2oc1t.fsf@nowhere.org> <482958E2.5050207@FreeBSD.org> <864p92o1d4.fsf@nowhere.org> <200805131515.40832.fbsd.questions@rachie.is-a-geek.net> 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 14:48:58 +0100 In-Reply-To: <200805131515.40832.fbsd.questions@rachie.is-a-geek.net> (Mel's message of "Tue\, 13 May 2008 15\:15\:40 +0200") Message-ID: <8663tiiab9.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: Kris Kennaway , 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 13:48:00 -0000 Mel writes: > On Tuesday 13 May 2008 14:05:43 Glyn Millington wrote: >> >>>> 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 >> >>>> >> >>>> `---- >> that include statement leads to /usr/X11R6 Wow - can I just check that I have this right before I do it?! > > Best fix: > rm /usr/X11R6 get rid of /usr/X11R6, which on a system-wide basis is a link to /usr/local > touch /usr/X11R6 Create an empty *file* /usr/X11R6 > chflags schg /usr/X11R6 make it system-immutable > /sbin/ldconfig -m /usr/local/lib (just to force the linker to re-read the > dupes). Merge new stuf in the /usr/local/lib directory into the hints file > As a bonus, the old apps you still have pointing to /usr/X11R6 But the app in question needs to get at /usr/compat/linux/usr/X11R6/ which is a directory contain a lot of libs - are you suggesting I remove it? Sorry if I'm being slow but want to be sure about this one! > will now complain and be exposed and anything that wants to install or > modify something in /usr/X11R6 will be exposed too. I've done this > about a week after I upgraded and it solved all the linux linker > problems and only one app I had compiled from source rather then using > a port, wasn't working anymore. Recompiled and no problemo. Many thanks atb Glyn