From owner-freebsd-questions@FreeBSD.ORG Wed May 14 09:23:47 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 1CA02106567D; Wed, 14 May 2008 09:23:47 +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 810718FC16; Wed, 14 May 2008 09:23:46 +0000 (UTC) (envelope-from glyn@millingtons.org) X-IronPort-AV: E=Sophos;i="4.27,485,1204502400"; d="scan'208";a="43454370" Received: from unknown (HELO glynthebearded.millingtons.org) ([82.152.120.109]) by pluto.karoo.kcom.com with ESMTP; 14 May 2008 10:23:44 +0100 Received: by glynthebearded.millingtons.org (Postfix, from userid 1001) id 9ECEC2284C; Wed, 14 May 2008 10:24:45 +0100 (BST) To: Kris Kennaway 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> Organization: Central Church, Torquay, U.K. X-Now-Playing: There's a deathly hush in the close tonight! X-Liturgical-Date: Feast: Saint Matthias, apostle, A.D. 2008 From: Glyn Millington Date: Wed, 14 May 2008 10:24:45 +0100 In-Reply-To: <482A9C2A.1000705@FreeBSD.org> (Kris Kennaway's message of "Wed\, 14 May 2008 10\:00\:42 +0200") Message-ID: <863aol8cgy.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: Mel , 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: Wed, 14 May 2008 09:23:47 -0000 Kris Kennaway 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