From owner-freebsd-questions@FreeBSD.ORG Tue May 13 19:04:30 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 E3A741065670 for ; Tue, 13 May 2008 19:04:30 +0000 (UTC) (envelope-from glyn@millingtons.org) Received: from earth.karoo.kcom.com (earth.karoo.kcom.com [212.50.160.55]) by mx1.freebsd.org (Postfix) with ESMTP id 7B2ED8FC15 for ; Tue, 13 May 2008 19:04:30 +0000 (UTC) (envelope-from glyn@millingtons.org) X-IronPort-AV: E=Sophos;i="4.27,480,1204502400"; d="scan'208";a="314613460" Received: from unknown (HELO glynthebearded.millingtons.org) ([82.152.120.109]) by earth.karoo.kcom.com with ESMTP; 13 May 2008 19:15:51 +0100 Received: by glynthebearded.millingtons.org (Postfix, from userid 1001) id 17BCA2284C; Tue, 13 May 2008 19:16:52 +0100 (BST) To: Boris Samorodov References: <86tzh2oc1t.fsf@nowhere.org> <84860954@ipt.ru> 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 19:16:51 +0100 In-Reply-To: <84860954@ipt.ru> (Boris Samorodov's message of "Tue\, 13 May 2008 21\:57\:41 +0400") Message-ID: <86mymu6pd8.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 19:04:31 -0000 Boris Samorodov writes: > On Tue, 13 May 2008 09:14:54 +0100 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? > > Please, show an output for: Hi Boris, thank you for taking an interest in my struggles :-) Ok - here we go ..... > ----- > % uname -a FreeBSD glynthebearded.millingtons.org 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Mon Apr 7 21:33:37 BST 2008 glyn@glynthebearded.millingtons.org:/usr/obj/usr/src/sys/GLYN1KERNEL i386 The changes in GLYNKERNEL from GENERIC relate only to acpi and apm. > % pkg_info -xI 'linux' linux-atk-1.9.1 Accessibility Toolkit, Linux/i386 binary linux-cairo-1.0.2 Linux cairo binary linux-expat-1.95.8 Linux/i386 binary port of Expat XML-parsing library linux-flashplugin-9.0r124 Adobe Flash Player NPAPI Plugin linux-fontconfig-2.2.3_7 Linux/i386 binary of Fontconfig linux-glib2-2.6.6 Version 2.X Linux/i386 binary port of GLib linux-gtk2-2.6.10 GTK+ library, version 2.X, Linux binary linux-hicolor-icon-theme-0.5_1 A high-color icon theme shell from the FreeDesktop project linux-jpeg-6b.34 RPM of the JPEG lib linux-nvu-1.0 A complete Web Authoring System linux-openssl-0.9.7f SSL and crypto library (Linux Version) linux-pango-1.10.2 Linux pango binary linux-png-1.2.8_2 RPM of the PNG lib linux-realplayer-10.0.9.809.20070726 Linux RealPlayer 10 from RealNetworks linux-scim-libs-1.4.4 Smart Common Input Method platform, library part, Linux bin linux-sun-jdk-1.5.0.15,2 Sun Java Development Kit 1.5 for Linux linux-tiff-3.7.1 TIFF library, Linux/i386 binary linux-xorg-libs-6.8.2_5 Xorg libraries, linux binaries linux_base-fc-4_13 Base set of packages needed in Linux mode (for i386/amd64) > % strings /compat/linux/etc/ld.so.cache | grep libXextlibXext.so.6 /usr/X11R6/lib/libXext.so.6 > % echo ${LD_LIBRARY_PATH} /usr/local/lib:/usr/local/share/squeak/3.7-7 > % sysctl -a | grep linux hw.snd.compat_linux_mmap: 0 compat.linux.oss_version: 198144 compat.linux.osrelease: 2.4.2 compat.linux.osname: Linux > ----- > > As well as 'cat ' if it's not very long. If it > is long then please give an URL to that file. #!/bin/sh /usr/compat/linux/bin/sh /usr/compat/linux/opt/openoffice.org2.4/program/soffice thanks again Glyn